How to Configure WooCommerce Payment Methods
Payment methods are one of the most important parts of a WooCommerce store. Customers need a convenient and secure way to pay for their orders before you can successfully sell products online.
WooCommerce provides built-in options for several basic payment methods, while additional payment gateways can be added through extensions. Depending on your country, business model, and customer preferences, you can offer options such as cards, bank transfers, cash on delivery, digital wallets, UPI, and other supported payment services.
This guide explains how to configure WooCommerce payment methods and prepare your store to accept customer payments.
What Is a WooCommerce Payment Gateway?
A payment gateway connects your WooCommerce store with a payment service that processes customer transactions.
When a customer places an order, the payment gateway can securely communicate transaction information between your website, the payment provider, and the relevant financial institutions.
A typical payment process looks like this:
Customer → WooCommerce Checkout → Payment Gateway → Payment Provider/Bank → Payment Confirmation
The exact process depends on the payment provider and payment method.
What You Need Before Configuring Payments
Before configuring payment methods, make sure you have:
- A working WordPress website
- WooCommerce installed
- HTTPS enabled
- A valid business or merchant account where required
- A supported payment gateway
- Correct business information
- A bank account for receiving settlements
- Payment gateway credentials, if required
For some providers, you may also need to complete identity or business verification before live payments can be enabled.
Step 1: Open WooCommerce Payment Settings
Log in to your WordPress administrator dashboard.
Go to:
WooCommerce → Settings → Payments
Depending on your WooCommerce version and installed extensions, you’ll see the payment methods available on your website.
You may see options such as:
- Direct bank transfer
- Cash on delivery
- Check payments
- Installed online payment gateways
Select the payment method you want to configure.
Step 2: Enable a Payment Method
Each available payment method normally has an option to enable or disable it.
Turn on only the payment methods you actually intend to support.
For example, if you want to accept cash on delivery, enable the Cash on Delivery option.
If you’re using an online payment provider, install its official WooCommerce extension first if required.
After enabling a payment method, open its settings and configure the available options.
Step 3: Configure Direct Bank Transfer
WooCommerce can allow customers to pay through a direct bank transfer.
This method doesn’t process the payment automatically through an online gateway. Instead, customers receive your bank details and make the payment separately.
Go to:
WooCommerce → Settings → Payments → Direct Bank Transfer
Configure the information required by your store.
You may provide:
- Bank name
- Account holder name
- Account number
- IFSC or equivalent banking information
- Branch information
- Payment instructions
Only provide the banking information intended for receiving customer payments.
Important Consideration
Orders paid through direct bank transfer generally require you to verify the payment before processing or shipping the order.
Step 4: Configure Cash on Delivery
Cash on delivery allows customers to pay when their order is delivered.
Go to:
WooCommerce → Settings → Payments → Cash on Delivery
Enable the method and configure the instructions.
You can specify which shipping methods support cash on delivery if your WooCommerce configuration provides that option.
Cash on delivery can be useful for businesses serving customers who prefer paying when their products arrive.
However, remember that COD orders can create additional operational considerations, such as failed deliveries and returned packages.
Step 5: Install an Online Payment Gateway
For online payments, you’ll generally need a payment gateway extension compatible with WooCommerce.
The process typically involves:
- Choose a payment provider.
- Create a merchant account.
- Complete the provider’s verification process.
- Install the provider’s official WooCommerce extension.
- Connect your merchant account.
- Configure API credentials or other required settings.
- Enable the gateway.
- Test transactions.
- Switch to live mode when ready.
The exact setup differs between providers, so always follow the provider’s current WooCommerce integration instructions.
Step 6: Configure Payment Gateway Credentials
Many online payment gateways require credentials such as:
- Merchant ID
- API key
- API secret
- Client ID
- Secret key
- Webhook credentials
The terminology differs between providers.
Enter these values only into the official gateway extension or its trusted configuration interface.
Keep API Credentials Secure
Never publish private API keys in:
- Product descriptions
- WordPress pages
- Screenshots
- Public code repositories
- Customer-facing content
If a credential is accidentally exposed, follow the payment provider’s procedure for revoking or regenerating it.
Step 7: Enable Test or Sandbox Mode
Many payment providers offer a test or sandbox environment.
If available, use it before accepting real customer payments.
Test scenarios such as:
- Successful payment
- Failed payment
- Cancelled payment
- Payment timeout
- Refund
- Order status updates
The exact test process depends on the payment provider.
Testing helps identify configuration problems before real customers begin placing orders.
Step 8: Configure Webhooks
Some payment gateways use webhooks to notify WooCommerce about events that occur on the payment provider’s servers.
For example, a webhook can notify your store that:
- A payment succeeded
- A payment failed
- A refund was issued
- A transaction changed status
Your payment provider may automatically configure webhooks through its WooCommerce extension, or it may require you to add a webhook URL manually.
Follow the provider’s current documentation carefully because webhook requirements differ between services.
Step 9: Configure Payment Method Titles and Descriptions
Many WooCommerce payment methods allow you to customize their title and description.
For example, instead of displaying a technical gateway name, you could use a customer-friendly title such as:
Pay securely online
The description can explain what customers can expect from the payment method.
Keep the wording short and clear.
Avoid making unsupported claims such as “100% guaranteed secure” unless you can substantiate them.
Step 10: Configure Transaction Settings
Some payment gateway extensions provide additional options, such as:
- Transaction mode
- Capture settings
- Authorization
- Payment actions
- Card storage
- Saved payment methods
- Currency options
These settings vary significantly between payment providers.
Use the provider’s recommended configuration unless you have a specific business requirement for changing it.
Step 11: Configure Currency Correctly
Your payment gateway must support the currency configured for your store.
You can check the WooCommerce currency settings under:
WooCommerce → Settings → General
Review:
- Currency
- Currency position
- Number of decimals
- Thousand separator
- Decimal separator
If your payment gateway does not support your selected currency, transactions may fail or require currency conversion.
Step 12: Check Your Checkout Page
After configuring payment methods, open your store’s checkout page.
Add a product to the cart and proceed to checkout.
Verify that:
- The expected payment methods are displayed.
- Payment instructions are correct.
- Prices are correct.
- Currency is correct.
- Shipping charges are correct.
- Taxes are displayed correctly.
- Required checkout fields work properly.
Test the checkout process on both desktop and mobile devices.
Step 13: Perform a Test Payment
If your gateway provides a test environment, perform a complete test order.
A typical test involves:
- Open the store.
- Select a product.
- Add it to the cart.
- Proceed to checkout.
- Enter customer information.
- Select the payment method.
- Complete the test transaction.
- Return to the store.
- Check the WooCommerce order status.
- Verify the payment notification.
Also test a failed transaction if the payment provider provides a suitable test scenario.
Step 14: Switch the Payment Gateway to Live Mode
After successfully testing your integration, you can configure the gateway for live transactions.
Before doing this, verify:
- Merchant account verification is complete.
- Live API credentials are being used.
- The correct currency is configured.
- Webhooks are functioning.
- HTTPS is active.
- Payment notifications are working.
- Your settlement bank account is correct.
Do not use sandbox credentials for real transactions.
Step 15: Check WooCommerce Order Status
After a customer makes a payment, WooCommerce updates the order status based on the gateway’s response and the product/order configuration.
Common statuses can include:
- Pending payment
- Processing
- On hold
- Completed
- Failed
- Cancelled
- Refunded
If an order remains pending even after a successful payment, investigate the gateway response, webhook configuration, and WooCommerce logs.
Step 16: Configure Refunds
Your payment provider and WooCommerce configuration may support different refund workflows.
You can generally access an order from:
WooCommerce → Orders
Open the relevant order and check the available refund options.
Some gateways support automatic refunds through WooCommerce, while others require the refund to be initiated through the payment provider’s dashboard.
Always confirm that the refund was successfully processed.
Step 17: Enable Only the Payment Methods You Need
Offering several payment options can be useful, but unnecessary payment methods can make checkout more complicated.
Consider your customers and business model when choosing payment methods.
For example, an Indian online store may consider offering appropriate combinations of:
- UPI
- Debit and credit cards
- Net banking
- Wallets
- Cash on delivery
The actual availability depends on your selected payment provider and business eligibility.
Security Best Practices for WooCommerce Payments
Payment security should be treated as an ongoing responsibility.
Use HTTPS
Make sure your entire WooCommerce website uses HTTPS.
Keep WooCommerce Updated
Regularly update:
- WordPress
- WooCommerce
- Payment gateway extensions
- Themes
- Other plugins
Protect Administrator Accounts
Use strong, unique passwords and enable two-factor authentication where available.
Limit User Permissions
Only give administrator-level access to people who genuinely need it.
Protect API Credentials
Don’t expose secret keys or private credentials.
Use Trusted Extensions
Install payment extensions from reputable sources and keep them updated.
Maintain Backups
Keep regular backups of your WordPress files and database.
Backups won’t replace payment security, but they can help recover your store after certain technical problems.
Common WooCommerce Payment Problems
Payment Method Is Not Showing
Check whether the payment method is enabled and whether its requirements are satisfied.
Also check:
- Currency
- Country
- Shipping method
- Product type
- Gateway configuration
Payment Fails
A payment can fail because of:
- Incorrect credentials
- Unsupported currency
- Merchant account restrictions
- Payment provider issues
- Incorrect gateway configuration
- Customer bank/card restrictions
Check the gateway’s transaction logs and WooCommerce logs for more information.
Successful Payment but Order Remains Pending
This can occur when WooCommerce doesn’t receive the expected payment confirmation.
Check:
- Webhook configuration
- Gateway logs
- API credentials
- Server connectivity
- Payment provider notifications
Customers Cannot Complete Checkout
Review the complete checkout flow.
Check whether:
- HTTPS is working
- Required checkout fields work
- Payment methods load correctly
- JavaScript errors are present
- Shipping settings are valid
- Taxes are configured correctly
Plugin or theme conflicts can also interfere with checkout.
Duplicate Payments
If customers appear to be charged more than once, investigate the payment gateway logs and WooCommerce order records immediately.
Avoid repeatedly retrying transactions until you understand what happened.
How to Improve the WooCommerce Checkout Experience
A good payment setup should be secure while remaining easy for customers to use.
Follow these practices:
- Offer payment methods relevant to your customers.
- Keep checkout fields to the necessary minimum.
- Clearly display the available payment options.
- Use HTTPS throughout the website.
- Test checkout after major updates.
- Make payment instructions easy to understand.
- Monitor failed transactions.
- Keep payment extensions updated.
- Provide clear refund and payment policies.
- Make sure the checkout works properly on mobile devices.
WooCommerce Payment Configuration Checklist
Before accepting real payments, verify the following:
- WooCommerce is installed and updated
- HTTPS is active
- Merchant account is verified
- Payment gateway extension is installed
- API credentials are configured
- Correct currency is selected
- Payment methods are enabled
- Webhooks are configured where required
- Test transactions have been completed
- Failed payments have been tested
- Order statuses update correctly
- Customer emails work
- Refund process has been tested
- Checkout works on mobile
- Backup system is active
- Payment-related policies are available
Conclusion
Configuring payment methods is an essential step when building a WooCommerce store. WooCommerce allows you to provide different payment options, while dedicated payment gateway extensions can connect your store to online payment providers.
Start by configuring the payment methods that are appropriate for your customers and business. Then test the entire checkout process before switching to live transactions.
Most importantly, protect payment credentials, keep WooCommerce and payment extensions updated, use HTTPS, and regularly monitor transaction and order statuses. A carefully configured payment system can make checkout smoother for customers while making order management easier for store administrators.