> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hitpayapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EasyStore

> Integrate HitPay payment gateway into your EasyStore site

## Account Setup

Before you begin integrating HitPay payments into your EasyStore site, you need to set up your HitPay account and ensure some prerequisites are met:

1. If you haven't already, create an account on [HitPay](/setup/account_creation).
2. Ensure that you have the necessary payment methods [activated](payments/payments#how-to-activate-payment-methods) in your HitPay account.
3. Make sure the payment methods you want to offer are [enabled](/payments/payments#how-to-enable-payment-methods) in your Easystore sales channel.

## Integration Guide

1. Click **Settings > Payments** in your EasyStore admin:

<img src="https://mintcdn.com/hitpay/l-n8tkdG_LR85WBs/images/Easystore-Admin.png?fit=max&auto=format&n=l-n8tkdG_LR85WBs&q=85&s=31d46a40349ceb8e9b4ef340491d2bae" alt="EasyStore Admin" width="1440" height="1024" data-path="images/Easystore-Admin.png" />

2. Activate HitPay payment gateway by clicking on this [link](https://admin.easystore.co/settings/gateway/hitpay)

3. Copy/Paste the API Keys and Salt Values from HitPay. You can find your API and Salt Keys by navigating to Payments > API Keys in the HitPay dashboard.
   <img src="https://mintlify.s3.us-west-1.amazonaws.com/hitpay/images/api-keys.png" alt="API Keys" />

4. Complete the HitPay Configuration settings by following the step by step guide found in the configuration page.

<img src="https://mintcdn.com/hitpay/l-n8tkdG_LR85WBs/images/Easystore-Configuration.png?fit=max&auto=format&n=l-n8tkdG_LR85WBs&q=85&s=1a6996314bbaf8efe262a5f63bd17852" alt="EasyStore Configuration" width="1440" height="1024" data-path="images/Easystore-Configuration.png" />

5. Ensure your desired payment methods are checked on EasyStore dashboard by navigating to **Settings > Payments > HitPay**, select your desired payment methods and click **Save**.

6. Add your desired sub payment methods by selecting the "Add sub payment methods" option
   <img src="https://mintcdn.com/hitpay/MhRNiXk5E8-JnsDb/images/plugins/easy_sub_methods.png?fit=max&auto=format&n=MhRNiXk5E8-JnsDb&q=85&s=57f0d0d724994b74aebac3b390f81d3c" alt="EasyStore Link" width="1440" height="1024" data-path="images/plugins/easy_sub_methods.png" />

7. Enable/disable the payment methods for your EasyStore Checkout by updating your [Integration Settings](https://hitpay.mintlify.app/payments/payments#how-to-enable-payment-methods) for Links and Payment Requests API:

<img src="https://mintcdn.com/hitpay/l-n8tkdG_LR85WBs/images/Easystore-Link.png?fit=max&auto=format&n=l-n8tkdG_LR85WBs&q=85&s=81c86b6b0c396a07bb25faec58332420" alt="EasyStore Link" width="1440" height="1024" data-path="images/Easystore-Link.png" />

<img src="https://mintcdn.com/hitpay/l-n8tkdG_LR85WBs/images/Easystore-Integration.png?fit=max&auto=format&n=l-n8tkdG_LR85WBs&q=85&s=631d21d1c3e50a8a80b6a01826b00c1b" alt="EasyStore Integration" width="1440" height="1024" data-path="images/Easystore-Integration.png" />

<Note>The Payment Request APIs and Links options are the Sales Channels currently applicable for EasyStore, but kindly note that this settings will also affect your other Links and Payment Request APIs, like if for example you [generate a direct payment link](https://hitpay.mintlify.app/payment_links/create_payment_links#creating-a-payment-link) from your dashboard or if also have a custom-built website that is integrated to Hitpay via [API integration](https://docs.hitpayapp.com/apis/guide/platform-apis).</Note>

HitPay is now live on your EasyStore Site! 🎉

## Refunds

In Easystore, refunding transactions is a two-step process. You'll need to process the refund in the HitPay dashboard and manually update your Easystore order as refunded.

<Note> **Important Note:** Successful refunds must meet the criteria of the payment method used. For more details, check out the [refund process documentation](https://docs.hitpayapp.com/payments/refund#refund-process). </Note>

### Processing Refunds in HitPay

Follow these steps to process refunds using the HitPay dashboard:

* Navigate to **Bank Payouts > Transactions.**

* Click on the transaction you would like to refund.

* Click on the **Refund** button.

* Confirm the refund by clicking on the **Confirm** button and wait for the refund success message.

<Info> Please Note: Initiating a refund from the HitPay dashboard will not automatically update your Easystore order. You must manually update the order status in Easystore as well. </Info>

### Easystore Refund Process

In Easystore, refunds cannot be initiated from the dashboard. Instead, follow these steps to process refunds:

* Process the refund in the HitPay dashboard as outlined above.

* Manually mark the corresponding order as refunded in your Easystore dashboard.

By following these steps, you can effectively manage refunds for your Easystore orders.

## FAQs

<AccordionGroup>
  <Accordion title="Does HitPay send an email after the EasyStore order is confirmed">
    No, HitPay does not send an email confirmation to your customer if the payment is made through EasyStore. This is because EasyStore, by default, sends an email to your customer with the order details. To avoid sending duplicate emails, HitPay does not send an additional email to your customers. As a merchant, you will receive a payment alert email.
  </Accordion>

  <Snippet file="checkout-faq.mdx" />
</AccordionGroup>
