== Method 1: ==
- Download the latest released packaged from (https://github.com/hit-pay/opencart4-extension/releases) with extension as .ocmod.zip
- Log in to admin
- Navigate to Extensions => Installer
- Browser your package and click upload button.

== Method 2: ==
- Download the latest released packaged from (https://github.com/hit-pay/opencart4-extension/releases)
- Unzip the package.
- And upload the files to under path/to/project/extension/hitpay/ folder via FTP.
- This package not overwriting any core files.
== Install ==
- If you followed either Method 1 or Method 2, you need to navigate Extensions => Extensions
- Choose the Extension type as 'Payments'

- Scroll down to locate the HitPay Payment Gateway

- Click green colored + icon to install the extension.
== Method 1: ==
- Download the latest released packaged from (https://github.com/hit-pay/opencart4-extension/releases) with extension as .ocmod.zip
- Log in to admin
- Navigate to Extensions => Installer
- Browser your package and click upload button. This would overwrite/replace the old extension files.

== Method 2: ==
- Download the latest released packaged from (https://github.com/hit-pay/opencart4-extension/releases)
- Unzip the package.
- And upload the files to under path/to/project/extension/hitpay/ folder via FTP.
- This would overwrite/replace the old extension files.
- Navigate Extensions => Extensions
- Choose the Extension type as 'Payments'

- Scroll down to locate the HitPay Payment Gateway

- Click red colored - icon to edit the extension.

- Go to dashboard of hitpay:

- Copy api key and salt from hitpay dashboard to opencart extension in the same named fields
- Log in to Admin
- Navigate to Sales ⇒ Orders
- Click view icon link to navigate to Admin Order Details page.
- If order is paid via 'HitPay Payment Gateway' and payment is successful and transaction id saved on the Database, then following screen will be displayed in the Admin Order view: (Scroll down to locate the HitPay Refund tab in the Order History section)

- Click blue colored 'Refund' Button, this will show the below screen:

- You can enter Full amount or Partial amount, but 0 or greater than total paid will not be allowed.
- Click blue colored 'REFUND PAYMENT' button to initiate the Refund. If gateway accepted the refund request and the Refund details will be displayed like the below screen:
- If full amount is refunded, then order status will be changed to 'Refunded' automatically.
- Only one refund is allowed per transaction.
- Refund is only applicable if the initial charge was made with PayNow or Card.

= 1.2.0 =
- Aug 14, 2024
- Upgraded to support 4.0.2.0, 4.0.2.1, 4.0.2.2, and 4.0.2.3
- Drop-In (Popup) feature is included
- Fixed Hitpay Fee Currency issue
- Fixed Refund amount check issue
- Fixed Refunded amount conversion display issue
- Extension tested on latest OpenCart 4.0.2.3
= 1.0.0 =
- Initial release.


