Account Setup
Before you begin integrating HitPay payments into Sitegiant, you need to set up your HitPay account and ensure some prerequisites are met:
- If you haven’t already, create an account on HitPay.
- Ensure that you have the necessary payment methods activated in your HitPay account.
- Make sure the payment methods you want to offer are enabled in your WordPress sales channel.
Retrieve HitPay API Keys
- Log in to your HitPay Payment account > navigate to API Keys on the sidebar menu > copy API Keys that will be used later.
Update URL Callback and Retrieve Copy Webhook Salts
- Log in to your SiteGiant account > navigate to Settings on the sidebar menu > Payments.
- Click the + Add Payment Method button > select HitPay > Add Payment Method.
- Proceed to the Next Step section > copy the Webhook URL that will be used later.
- Go back to your HitPay Payment account > navigate to API Keys on the sidebar menu > click Event Webhook > + New Webhook.
- Enter Webhook Name > copy Webhook URL from SiteGiant under the Next step section > tick for Charge and Payout section > click Save.
- Copy the Webhook Salt code that will be used later.
Setup HitPay Payment Gateway
- Go back to SiteGiant account > click Settings on the sidebar menu > Payments.
- Click the + Add Payment Method button > select HitPay > Add Payment Method.
- Fill in the Display Name > paste the API key and Webhooks Salt copied from HitPay.
- In the Description section, you can add additional remarks or notes to be displayed to the customer during the checkout process.
- Select the Customer Group > fill in the Minimum Order Amount required to use this payment method > select Currencies.
📌Note: This payment method will apply to all Customer Groups and Currencies if no Customer Groups or Currencies are selected. - You can set extra transaction charges applied to the customer at the Payment Settings. (optional)
- Once all the settings are done, click Add.
- Make sure the HitPay Payment status is enabled for it to appear on your checkout page.
________________________________________________________________________________________
Test Checkout Via HitPay Payment (From Customer Perspective)
- It is highly recommended to test checkout on your Webstore to ensure the payment method works as expected.
- If the page redirects to the HitPay Payment page, your integration with HitPay is successful.