OC
OpenCart extension
USDT and TRX payment extension for OpenCart 4 and 3 stores; orders update automatically via webhooks.
What it does
- A "Pay with crypto" button at checkout; the customer picks TRX or USDT on the MercanPay payment page.
- The order status changes only after a signature-verified webhook, based on the invoice status read back from the API.
- Configurable statuses for paid / underpaid / expired; a paid order is never rolled back.
- Test connection button in the admin. Turkish and English language files included.
Which package?
| Package | OpenCart | PHP |
|---|---|---|
| OpenCart 4.x | 4.0.0.0 – 4.1.x | 8.0+ |
| OpenCart 3.0.x | 3.0.x | 7.1+ |
Installation: OpenCart 4
- In the MercanPay panel open API keys and create a key with the
invoicesandreadscopes (it is shown only once). Copy the webhook signing secret (whsec_…) from Settings. - Upload
mercanpay.ocmod.zipon Extensions → Installer and click Install (+). - In Extensions → Extensions → Payments click Install on MercanPay, then Edit.
- Enter the API key and webhook secret, check them with Test connection, pick the order statuses, enable the extension and save.
Important: OpenCart 4 names the extension folder after the zip file. The file must be named exactly
mercanpay.ocmod.zip; do not rename it.
Installation: OpenCart 3
- Prepare the key and secret as above.
- Upload
mercanpay-opencart3-1.0.0.ocmod.zipon Extensions → Installer. If the installer reports an FTP/permission error, copy the contents of theupload/folder in the zip to your store root over FTP. - Extensions → Extensions → Payments → MercanPay → Install, then Edit.
- Enter the settings and save.