Integrate HitPay payment gateway into your WooCommerce store
Before you begin integrating HitPay payments into your WooCommerce store, you need to set up your HitPay account and ensure some prerequisites are met:
Install HitPay WooCommerce Plugin
Search for HitPay in the plugin search field from your WordPress admin dashboard and install the plugin.
If you’d prefer to manually upload the plugin, you can download the zip from GitHub Releases.
Activate the Plugin
Once installed, click on Activate Plugin.
Open HitPay Settings
Go to WooCommerce > Settings > Payments and click Manage next to HitPay.
Copy Your API Keys and Salt
You can find your API credentials in the HitPay dashboard under API Keys.
Copy both the API Key and Salt and paste them into the appropriate fields in your WooCommerce plugin settings.
Enable Live Mode only if you are using production API keys and Salt.
If you’re testing, uncheck Live Mode and use the sandbox credentials from HitPay Sandbox dashboard.
Test the Connection
Click Test Connection to verify that your credentials are correct.
If successful, you’ll see a confirmation. If it fails, click View Details to understand the issue.
Save Settings
Once the test passes, click Save Changes to apply your configuration.
That’s it! You’re all set up with HitPay on WooCommerce. 🎉
Refunds are fully integrated into the WooCommerce dashboard, so you can directly proceed to refund an order from the WooCommerce dashboard, and it will automatically refund the payment back to the customer.
Refunds will only be successful if they meet the criteria of the payment method used. Click Here for more details. If the refund fails, please try to refund directly from the Hitpay dashboard under “Transactions > Select > Refund” to know the exact error.
If you initiate a refund from the Hitpay dashboard, your WooCommerce order will not be refunded. You need to manually update your order in WooCommerce.
Steps to refund from WooCommerce Admin Dashboard:
This plugin supports Drop-In UI. Drop-In allows your customers to complete the payment without a redirect; it is embedded into your webpage, so your customers will never have to leave your site. This is recommended if you have payment methods like Cards and Native QR Code payments (e.g., PayNow).
I have completed the plugin setup but I am unable to proceed to the payments page
If you have completed the plugin installation and if you still see an error message Something went wrong please contact the merchant
on the checkout page, please make sure to check the following:
Live Mode
should be enabled).API Key
and Salt
Value are correct. You can find them in your dashboard under the "API Keys" Menu https://dashboard.hit-pay.com/.checkout currency
is supported by your account. Click here for more details on the currencies supported.Minimum amount
for each payment method could be different, please ensure that the checkout amount is above the minimum amount.If you still face an error after this, make sure to capture the error logs from your commerce store and contact our support team at support@hit-pay.com.
Does HitPay send an email after the WooCommerce order is confirmed
No, HitPay does not send an email confirmation to your customer if the payment is made through WooCommerce. This is because WooCommerce, by default, sends an email to your customer with the order details. To prevent duplicate emails, HitPay does not send an additional email to your customers. As a merchant, you will receive a payment alert email.
Why does my charges `webhook status` show as failed?
If you are using a payment plugin, after every successful payment, a webhook is sent to your store to acknowledge the payment confirmation. Your order is marked as paid through this webhook.
A webhook status showing as "failed" indicates that Hitpay failed to communicate with your server. This can happen for the following reasons:
To avoid this issue, ensure that you whitelist Hitpay's IP addresses:
3.1.13.32
, 52.77.254.34
54.179.156.147
For further details, please review your store's debug logs.
How do I send WooCommerce test store access to HitPay?
If you are unable to resolve the WooCommerce issues, you can request HitPay support to help with your debugging. But before that, make sure the following checks are completed:
Why don't I see Apple Pay or Google Pay on my checkout page?
On the HitPay checkout page, you will see the option for Apple Pay/Google Pay only once you select CARDS
as the payment method.
Additionally, it will work only if the browser supports the respective method:
Apple Pay
: Only available on the Safari browser. Ensure you have Apple Pay enabled. Here's a guide from Apple on how to enable Apple Pay on your browser.Google Pay
: Only available on the Chrome browser. Ensure you have Google Pay enabled on your Google account.I set up a payment method, but it's not reflecting on my checkout page. Why?
Here are two checks you can perform to ensure the payment method is visible on your checkout page:
Payment Gateway
> Integrations
. Ensure that your payment method is enabled for your respective sales channel.Payment Gateway
> Checkout Customization
> Payment Method Rules
and ensure your payment method is selected.