
- Where to configure WooCommerce payment methods
- Four checks to make before installing a gateway
- Which payment method fits your store?
- WooCommerce offline payment options
- How to install a card payment extension
- What to test before accepting real orders
- Security checks when switching to live mode
- Separating common payment failures
- Frequently asked questions
- Sources
Where to configure WooCommerce payment methods
WooCommerce payment methods are managed from WooCommerce > Settings > Payments in the WordPress dashboard. Disable methods the business will not use, configure the remaining options, and arrange them in a practical checkout order.
The basic setup is:
- Open WooCommerce > Settings > Payments.
- Enable the payment method you want to offer.
- Select Manage, Finish setup, or the equivalent option beside it.
- Enter the required details, such as the customer-facing title, payment instructions, bank information, or provider credentials.
- Save the changes.
- Place a test order before making the method available to customers.
Menu labels can vary between WooCommerce versions and extensions, but available gateways are normally listed under the Payments tab. Enabled methods appear at checkout in the configured order, as described in the WooCommerce payment settings reference.
Hypothetical example: A retail store might place card payments first and direct bank transfer second because most customers pay by card. A wholesale store whose buyers normally pay invoices by bank transfer might reverse that order.
Enabling a method in WooCommerce does not create a card-processing account. To accept cards, the store needs an approved account with a suitable payment provider and a WooCommerce gateway extension or built-in integration that supports that provider.
Four checks to make before installing a gateway
Check the store configuration before entering credentials. This makes authentication, checkout, and notification failures easier to isolate later.

- Store currency: The currency under WooCommerce > Settings > General must be supported by the merchant account approved by the payment provider.
- HTTPS: The cart, checkout, and account pages should load through a valid TLS certificate. WooCommerce’s HTTPS guidance explains the need to secure customer information, logins and signups; securing only the home page is not sufficient.
- Permalinks and public access: WordPress permalinks must work, and any callback endpoint required by the provider must be reachable from the internet.
- Business information: Prepare the company, bank, tax, identity, and sales-policy details requested during provider onboarding.
A staging copy is useful for checking extension compatibility, checkout layout, and the basic order flow. Follow How to Create a WordPress Staging Site Safely before changing a busy production store.
Keep the staging copy behind HTTP authentication or equivalent access control. For an end-to-end provider test, expose only the gateway’s documented test webhook route and required HTTP method; do not remove protection from the whole site. The gateway must validate the signature with the correct test endpoint secret before changing an order. For local development, a provider-supported forwarding tool can deliver events without opening the entire site; the Stripe Checkout fulfillment guide demonstrates this with Stripe CLI.
Disable copied production payment connections and live credentials in staging, and use a separate test or sandbox account. Suppress customer emails or direct them to a controlled test mailbox. Check shipping, ERP, accounting, subscription and scheduled-job integrations so that test orders cannot trigger actions against real customers or production systems. A payment provider’s test mode does not automatically isolate every external effect of the copied WordPress application.
Which payment method fits your store?
More payment options do not automatically create a better checkout. Compare customer demand, transaction costs, refund handling, geographic availability, and whether payment confirmation is automatic or manual.
| Method | What setup requires | Payment confirmation | Typical fit |
|---|---|---|---|
| Credit or debit card | A provider account and compatible extension or integration | Usually automatic | Retail stores |
| Direct bank transfer | Bank details and customer instructions | Manual verification | B2B and high-value orders |
| Cash on delivery | Shipping and collection rules | Collected at delivery | Physical deliveries in selected areas |
| Check payments | Clear instructions and a collection process | Manual verification | Limited business scenarios and workflow testing |
| Digital wallet | A compatible provider and sometimes domain verification | Usually automatic | Stores serving supported mobile users |
Cards are suitable for many stores, but business buyers may require bank transfers for accounting or approval reasons. Cash on delivery is generally unsuitable for a store that sells only downloads.
Do not select a provider by its headline commission rate alone. Review fixed fees, refunds, currency conversion, supported countries, settlement schedules, dispute handling, documentation, and current WooCommerce compatibility. Features and charges can change, so verify them in the provider’s current merchant agreement.
WooCommerce offline payment options
WooCommerce includes offline methods such as direct bank transfer, check payments, and cash on delivery. These methods need an operational process because a card network or wallet does not immediately confirm collection for the store.
How to enable direct bank transfer
Prerequisite: Have the bank account details and customer instructions ready. Do not publish sensitive online-banking credentials; customers need only the information required to make a transfer.
- Open WooCommerce > Settings > Payments.
- If the Take offline payments group appears, open it first, then enable Direct bank transfer.
- Select Manage.
- Enter the title, description, and payment instructions customers will see.
- Add the account holder, account number or IBAN, bank name, and BIC/SWIFT code where applicable.
- Save the settings and place a test order.
With direct bank transfer, WooCommerce places the order on hold until the store verifies that payment has cleared. The transfer occurs outside WooCommerce, so staff must reconcile the bank transaction and update the order according to the fulfilment process.
Ask customers to include their order number in the transfer reference. This helps distinguish transactions when several orders have the same total. The expected outcome of a test order is an on-hold order containing the configured payment instructions; it does not test an actual bank transfer.
How to configure cash on delivery
Prerequisite: Decide where the carrier can collect payment and which shipping methods are eligible. After enabling cash on delivery, set its customer-facing title and description and apply the required shipping restrictions.
- Which shipping methods support cash on delivery?
- Which shipping zones are eligible?
- Should the method be unavailable for virtual orders?
- Will a clearly disclosed service fee apply?
- Does the business need minimum or maximum order values?
Cash on delivery can be limited to selected shipping methods, and WooCommerce includes a setting that controls whether it is accepted for virtual orders. Conditions based on cart value, product class, location beyond the configured shipping rules, or customer role may require a compatible extension or custom development.
If a fee is added, display it clearly before the order is submitted and check the legal requirements in each sales region. Test with an address in every intended shipping zone because availability can depend on the customer’s address, cart contents, and selected shipping method.
When does check payment make sense?
Most retail stores do not need check payments. The method can suit organizations that already have a documented check-collection process, and it can also test an order workflow without collecting online payment.
Keep it disabled on a live store unless customers receive clear instructions explaining where to send the check, what reference to include, and when fulfilment begins. Like a bank-transfer test, a test order confirms the WooCommerce workflow but not the external collection of funds.
How to install a card payment extension
Accepting credit or debit cards requires a payment service and a WooCommerce gateway extension or built-in integration compatible with that service. At the extension level, WooCommerce payment gateways are plugins built on its Payment Gateway API. Obtain an extension from the official WordPress plugin directory, WooCommerce Marketplace, the provider’s website, or its merchant dashboard, and avoid modified packages from unknown download sites.
Prerequisites: Confirm that the provider supports the store’s country, currency, business type, WooCommerce version, and checkout type. Complete provider onboarding and obtain access to a test environment if the provider offers one.
- Open Plugins > Add New Plugin. Skip this step if the required integration is already included or installed.
- Find the payment provider’s official extension.
- Check the developer name, recent updates, documentation, and stated WooCommerce compatibility.
- Install and activate the extension.
- Return to WooCommerce > Settings > Payments.
- Open the setup page for the newly added method.
- Enable test or sandbox mode first, if the provider offers it.
- Connect the test account or enter the test merchant ID, API key, secret, or other requested credentials.
- Save the settings and place a test order with the provider’s published test data.
The expected outcome is a test order whose status and transaction record agree with the provider’s documented test result. A successful installation alone does not prove that authentication, notifications, refunds, or live payments work.
Credential names differ between providers. An extension might request an API key and secret, while another uses a merchant number, terminal number, client ID or account connection. Stripe’s API keys documentation distinguishes sandbox/test keys from live keys and explains that webhook signing secrets are separate from API keys. For new Stripe integrations, it recommends a separate general sandbox to keep settings and data isolated from live mode. Follow the connection method supported by your extension and use the least permissions it needs. Do not interchange environment credentials or treat an API key as a webhook signing secret.
Hypothetical setup example: Suppose an extension has a Test mode switch, test account fields, and a webhook URL. Enable test mode, enter only the test credentials, register the exact test webhook URL in the provider dashboard if instructed, and submit the provider’s successful and declined test cases. The expected outcome is one correctly paid test order and one unpaid or failed test order. This example describes a general workflow; the extension’s own documentation controls the actual field names and steps.
Redirected checkout versus on-site payment
With redirected checkout, the customer goes to the provider’s page, completes payment, and returns to the store. With an on-site interface, card fields appear within the WooCommerce checkout. Appearance alone does not show whether card data reaches the store’s server; the integration may use hosted fields, an iframe, tokenisation, or direct processing.
Compare mobile behaviour, authentication support, security responsibilities, and the extension’s maintenance record. An integration that sends raw card details through the store server creates additional security and compliance obligations compared with a provider-hosted or tokenised flow. Confirm the exact data flow and obligations with the provider rather than inferring them from the checkout design.
Why provider callbacks matter
A customer’s return to the store does not by itself prove that payment was verified. The browser can close or lose its connection. Stripe Checkout explicitly requires webhooks for reliable fulfillment because customers are not guaranteed to visit the landing page after payment. Other gateways define their own server verification flow; follow the provider and extension documentation before updating the order.
In the Stripe Checkout example, signed events notify the application about a completed session or a later asynchronous payment result. Its official handler example verifies the raw payload using the Stripe-Signature header and the endpoint secret, and rejects invalid signatures before fulfilling an order. Other providers have their own event formats, signing methods and retry behaviour. Permit the required route at the access-control layer, then let the gateway authenticate the event and associate its transaction ID with the correct order.
Register the notification URL supplied by the gateway extension when its documentation requires that step. The resulting order status depends on the gateway, extension, payment result, and product type. WooCommerce defines Processing as an order that has received payment and is awaiting fulfilment.
Provider callbacks should not be confused with WooCommerce’s general outbound webhook feature. WooCommerce webhooks can send event notifications to a delivery URL and record delivery logs. A payment provider’s incoming callback is configured and verified according to that provider and its gateway extension.
When investigating a payment, compare the provider transaction ID in the WooCommerce order notes with the merchant dashboard and the gateway’s notification logs. If a security layer blocks a legitimate notification, identify the affected route and rule instead of disabling the entire firewall.
What to test before accepting real orders
Before launch, test more than one successful order. Use the provider’s test environment, published test cards, and documented test scenarios where available.
- Successful payment: Does the order enter the expected status, handle stock correctly, and send the required emails?
- Declined payment: Does the customer receive a useful message, and does the order remain unpaid?
- Cancelled authentication: Can the customer return safely to checkout after abandoning an authentication step?
- Provider notification: Does the order update if the browser does not load the return page?
- Refund: Does a refund started in WooCommerce reach the provider, or does it only change the local order record?
- Mobile checkout: Are payment fields, policy checkboxes, errors, and the order button usable on a small screen?
- Tax and shipping: Does the amount sent to the provider match the final WooCommerce order total?
- Customer types: Can guest and registered customers pay if the store permits both?
Never use a customer’s card details for testing. If the provider has no test environment, request its recommended verification procedure before attempting any live test. A test environment also has limits: it may not reproduce every bank response, settlement delay, dispute, wallet, or production fraud check.
Cart, checkout, and My Account pages contain session-specific information and generally should not be served from full-page cache. Page slugs can be changed, so check the pages assigned in WooCommerce rather than relying only on default paths such as /cart/ and /checkout/. Follow the cache provider’s WooCommerce guidance when creating exclusions; WooCommerce’s caching documentation lists these dynamic pages explicitly.
Security checks when switching to live mode
After testing, disable test mode and enter or connect the live credentials. Recheck the production domain, notification URL, cache rules, firewall behaviour, and live checkout because test and production environments can use different endpoints and credentials.
- Are WordPress, WooCommerce, and the gateway extension on mutually supported versions?
- Do administrator accounts use strong, unique passwords and two-factor authentication where available?
- Can only authorised administrators change gateway settings?
- Are session-sensitive pages and required callback routes excluded from incompatible caching rules?
- Could maintenance mode, password protection, or a firewall block provider notifications?
- Are restorable backups stored separately from the site?
- Is someone responsible for monitoring failed payments and notification errors?
A web application firewall can reduce malicious requests, but an overly broad rule can also reject a legitimate provider notification. Web Application Firewalls Explained: Benefits and Use Cases covers application-specific rules and controlled exceptions. Use logs to identify the exact match, and keep any exception limited to the required route and request method.
Never paste API secrets into a plain-text support ticket or leave them visible in screenshots. If a credential may have leaked, revoke it in the provider dashboard, issue a replacement, update the store, and verify that the old credential is no longer accepted.
Separating common payment failures
Classify the symptom before changing settings: the payment method is missing, the provider declines the charge, payment succeeds but the order does not update, or checkout returns a server error. Each symptom points to a different part of the integration.
The payment method is missing at checkout
Confirm that the method is enabled, then check the store currency and any provider or extension restrictions. The customer’s country, selected shipping method, cart contents, order value, or subscription requirements may make a method unavailable.
If the store uses block-based Cart and Checkout pages, verify that the extension explicitly supports that checkout. Test in a private browser window with an actual product, delivery address, and shipping method, then note the exact step where the option disappears.
Payment succeeds, but the order remains on hold
This can mean that the provider notification did not arrive, could not be verified, or caused an error during processing. Compare WooCommerce order notes, the provider transaction record, gateway logs, and firewall logs over the same time range. Account for different time zones when matching events.
If the provider reports a successful charge but the store has no notification record, inspect the configured callback URL, DNS, TLS certificate, maintenance mode, password protection, and access rules. If a notification arrived but signature verification failed, confirm that the signing secret belongs to the correct test or live environment.
Checkout shows a blank page or server error
An extension conflict, PHP failure, timeout, or unreachable provider API can produce a blank page or server error. Record the incident time, payment method, order number if one exists, and HTTP status before troubleshooting.
If the server returns a 502 response, use How to Fix a 502 Bad Gateway Error to examine the PHP, web server, and proxy layers separately. If the customer may have been charged but WooCommerce did not create or update the order, check the provider’s transaction panel before asking for another payment attempt.
Live credentials are rejected
The merchant account may not be active, the production domain may require verification, or a credential may have been copied incorrectly. Check for accidental spaces and confirm that the account’s country, currency, payment methods, and other enabled features agree with the WooCommerce configuration.
After changing settings, use a controlled test or sandbox checkout flow to verify the transaction result, order status, stock handling, notifications and refund path. If the provider additionally requires live verification, follow only its documented method. Check the previous transaction status before retrying so that a diagnostic test does not create a duplicate charge; a visible payment option alone is not proof of success.
Frequently asked questions
Do I need a registered company to accept WooCommerce payments?
The bank or payment provider sets its account eligibility rules, which vary by country, provider and business model. Business registration, tax and other trading obligations separately depend on applicable local law. Check the provider’s current onboarding requirements and merchant agreement, and complete the legal and tax requirements that apply to your business before making paid sales or collecting payments.
Can I add several WooCommerce payment methods?
Yes. Cards, direct bank transfer, cash on delivery, and other compatible methods can be enabled together and placed in a chosen checkout order. Restrict methods when necessary so customers do not see options that are unavailable for their address, shipping method, products, or currency.
Are WooCommerce payment extensions free?
Some extensions are free, while others require a licence. A free extension does not make processing free: the provider may charge percentage-based or fixed transaction fees, refund costs, currency-conversion charges, dispute fees, or monthly fees.
Why does a paid order remain on hold?
A missing or rejected provider callback is one possible cause. An incorrect signing secret, firewall rule, maintenance mode, invalid notification URL, or gateway error can also prevent an update. Compare the WooCommerce order notes with the provider’s transaction record before changing the status or asking the customer to pay again.
Sources
- WooCommerce – Direct Bank Transfer (BACS) Documentation – WooCommerce explains BACS configuration, customer instructions, and the manual verification flow.
- WooCommerce – Cash on Delivery Documentation – The official documentation describes cash-on-delivery settings and shipping-method restrictions.
- WooCommerce – Webhooks Documentation – WooCommerce documents outbound webhook topics, delivery URLs, secrets, and delivery logs.
- WooCommerce – Order Statuses Documentation – The order status reference explains Pending payment, On hold, Processing, and related states.
- WooCommerce Developer Documentation – Payment Gateway API – The developer reference explains how payment gateway plugins integrate with WooCommerce.
- Stripe Documentation – API keys, sandbox isolation and live credentials
- Stripe Checkout – fulfillment, signed webhook verification and local tests
- WooCommerce – caching exclusions for dynamic pages
- WooCommerce – enabling and ordering payment methods
- WooCommerce – HTTPS for customer data and logins
Put this guide to work
Compare the number of websites, resource requirements and who will manage the server.
Explore shared hosting options for managing your website with cPanel.