WooCommerce makes adding a payment gateway fairly painless, but a few steps trip people up. Here’s the process, generically, since the exact screens vary slightly by provider and WooCommerce version.
- Make sure your store is running over HTTPS. Most gateways refuse to process live payments without it, and some won’t even load their checkout fields.
- Install the provider’s official WooCommerce extension where one exists, rather than a generic third-party connector — it’ll be better maintained and less likely to break on a WooCommerce update.
- In WooCommerce > Settings > Payments, enable the new gateway and open its settings.
- Enter your API keys or account credentials. Most providers give you separate test/sandbox keys and live keys — use the test keys first.
- Place a real test order using the provider’s test card numbers (every major gateway publishes these). Confirm the order status updates correctly and you receive the expected webhook/notification.
- Switch to live keys only once the test order has worked end to end, including refunds if you’ll need to issue them.
- Check your order emails and thank-you page still display correctly — some gateways redirect customers off-site briefly, which can confuse people if it’s not explained on the checkout page.
If you haven’t picked a provider yet, see our gateway comparison or the fuller how to choose guide first — it’s much easier to get this right once than to migrate orders and subscriptions to a different gateway later.
Using a different platform? See our dedicated Shopify, Magento, BigCommerce, Squarespace or Wix setup guide, or see all setup guides.