OpenCart
OpenCart 3.x extension for USDT/USDC blockchain payment monitoring. Accept stablecoin payments in your OpenCart store with PayzCore webhook notifications.
OpenCart Integration
The PayzCore OpenCart extension adds USDT/USDC blockchain monitoring as a payment method in your OpenCart 3.x store.
- Source: github.com/payzcore/opencart
- Requirements: OpenCart 3.0+, PHP 7.4+, PayzCore account
How It Works
- Customer selects "Pay with USDT/USDC" at checkout.
- OpenCart creates the order and the extension calls the PayzCore API.
- Customer sees the wallet address and the exact amount to send.
- Customer sends stablecoins from their wallet.
- PayzCore detects the transfer on-chain and sends a webhook.
- Extension receives the webhook and updates the order status.
PayzCore monitors the blockchain for the transfer. The extension does not handle any funds — it only reads the PayzCore API and updates OpenCart order statuses.
Installation
- Download the latest release from GitHub
- Extract and upload to your OpenCart root directory (preserves folder structure)
- In OpenCart admin: Extensions > Extensions > Payments
- Find PayzCore (USDT/USDC) and click Install, then Edit
Configuration
| Setting | Value | Notes |
|---|---|---|
| Status | Enabled | Activate the payment method |
| API URL | https://api.payzcore.com | PayzCore API endpoint |
| API Key | pk_live_... | From your PayzCore project |
| Webhook Secret | whsec_... | From your PayzCore project |
| Order Status (Pending) | Pending | Status while waiting for payment |
| Order Status (Paid) | Processing | Status after successful payment |
| Sort Order | 1 | Display order among payment methods |
When you save the settings, the extension calls GET /api/v1/config to auto-detect available chains and tokens from your connected wallet. The chain and token dropdowns are populated automatically — no manual selection is needed.
Set your webhook URL in the PayzCore dashboard to:
https://yourstore.com/index.php?route=extension/payment/payzcore/webhookOrder Status Mapping
| PayzCore Event | OpenCart Status | Notes |
|---|---|---|
payment.completed | Processing | Normal successful payment |
payment.overpaid | Processing | Order history note added |
payment.partial | Pending | Customer needs to send remaining |
payment.expired | Cancelled | Payment window closed |
Customer Experience
- At checkout, customer selects the PayzCore payment method
- After confirming the order, they see:
- The wallet address to send funds to
- The exact amount to send (in USDT/USDC)
- The selected blockchain network
- Customer sends the exact amount from their wallet
- Once confirmed, the order automatically moves to "Processing"
Troubleshooting
Webhook not received
- Verify the webhook URL in your PayzCore dashboard matches your OpenCart webhook endpoint
- Ensure your server allows POST requests from external sources
- Check for
.htaccessor firewall rules blocking external POST requests - Review webhook delivery logs in PayzCore dashboard: Payments > [Payment] > Webhook Logs
Order not updating
- Confirm the Webhook Secret matches between PayzCore dashboard and OpenCart settings
- Check OpenCart error logs in System > Maintenance > Error Logs
- Verify the extension is installed and enabled
Payment method not showing at checkout
- Ensure the extension status is Enabled in payment settings
- Check that all required fields (API Key, Webhook Secret) are filled in and that the config fetch succeeds
- Verify the extension files are correctly uploaded to the OpenCart directory structure