Pre-requisites
1. Create a free HitPay account
3. Enable Payment Methods in Sales Channel
You can view the checkout experience at the HitPay Test Store hosted on WooCommerce.
Integration Steps
Step 1. Install the Hitpay plugin for WooCommerce
To download and install the HitPay Payment Gateway for WooCommerce, navigate to Plugins > Add New within your WordPress admin page:
Search for HitPay from the keyword search field and install the HitPay plugin:
Click Activate:
From the list of downloaded plugins, click on Enable Auto Updates to ensure your plugin is auto-updated:
Step 2. Navigate to Settings under WooCommerce:
Step 3. Click Payments under settings:
Step 4. Click Manage next to HitPay payment method:
Step 5: Complete HitPay configuration in WooCommerce
-Note: Enable Live Mode only if you have copy-pasted the API keys and Salt values from the production environment.
-If you are testing in sandbox, you have to uncheck Live Mode and copy the API keys and Salt values from HitPay Sandbox environment : https://dashboard.sandbox.hit-pay.com
-Sandbox testing instructions can be found here.
5.1 IMPORTANT:
Please select the payment logos that you want to display in the checkout page.
If you do not select the payment logos, HitPay will not appear in the checkout page:
5.2 Input API Keys and Salt Values
Copy and Paste the API Keys and Salt Values from the HitPay settings to WooCommerce as shown above.
You may find your API and Salt Keys from HitPay dashboard > API Keys.
Step 6. Click Advanced under WooCommerce settings:
Ensure you complete Page setup fields i.e Cart page and Checkout Page:
Add the text [woocommerce_checkout] to the page that has been selected as Checkout Page above.
You may do so by clicking on Pages from the left menu, click on the page selected as Checkout Page and add the text [woocommerce_checkout] in the body of the page.
Step 7. Enable/disable the payment methods for your Woocommerce Checkout by updating your Integration Settings for WooCommerce:
You may also refer to this page for our Woocommerce Plugin Documentation.
That's it! You're all set up with HitPay on WooCommerce. 🎉