Setting Up a Payment Gateway on WooCommerce

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.

  1. 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.
  2. 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.
  3. In WooCommerce > Settings > Payments, enable the new gateway and open its settings.
  4. Enter your API keys or account credentials. Most providers give you separate test/sandbox keys and live keys — use the test keys first.
  5. 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.
  6. Switch to live keys only once the test order has worked end to end, including refunds if you’ll need to issue them.
  7. 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.