# osCommerce

**The Module Setup and Installation Instruction**

1. Download the [archive](https://github.com/unitpay/oscommerce-module/archive/master.zip) with the module.
2. Copy the contents of the unitpay directory from the archive to the root of your site.
3. Go to Modules ->Payment.
4. Select Unitpay and click Install Module.
5. Click the Edit button for unitpay.

   ![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MNhgFFXUg7L3Wsi96Ak%2F-MNhvm34SxBQg-rSUQfs%2F2020-12-04_162611.png?alt=media\&token=de7502a5-a62a-467e-ae07-f47280bdc698)
6. Enter the domain (DOMAIN) - unitpay.money, public key (PUBLIC KEY) and secret key (SECRET KEY), you can find them in your unitpay.money account.
7. If you need to, also enter the sorting order (in what order the payment systems will be displayed on the payment system selection page), the status of the order which will appear in case of successful payment (it is Paid\[Unitpay] by default) and the status of the order which will appear in case of failed payment (it is Error\[Unitpay] by default).
8. Click Save.
9. In your Unitpay.ru account, enter the address of the payment handler http\://\<your site address>/unitpay.php

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdokumentacziya%2F-M9xezG_6tZ_3GRmvyig%2F-M9y4B3lh565FfIG1L-q%2F0.png?generation=1592326931035211\&alt=media)

10\. VAT for products is set on the page "Locations / Taxes" -> "Tax Rates"

<div align="left"><img src="https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MNhgFFXUg7L3Wsi96Ak%2F-MNhwk86qRRpaqNHkQal%2F2020-12-04_162912.png?alt=media&#x26;token=a62d6ac1-b2b5-47df-977f-12acc0d1274a" alt=""></div>

11\. In the new product, set the desired one Tax Class&#x20;

![](https://244174165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M9Y_k8Gr-WxeECFRelw%2F-MNhgFFXUg7L3Wsi96Ak%2F-MNhwtghRihbdG8gGrbK%2Fbc2ecf2309cb6c0004723ad38a886f02.png?alt=media\&token=98b4cb83-d3de-46ce-922e-9fceb349162d)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.unitpay.ru/en/modules/cms-modules/oscommerce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
