Refunds, Testing & Troubleshooting
Test DigetPay on OpenCart 4, process refunds, and resolve common integration issues.
Test payment
- Set Environment to Staging (Fin) in extension settings.
- Add a product to cart → proceed to checkout.
- Select DigetPay and complete payment on the hosted page.
- Confirm order status updates to Processing or Complete.
Use test cards from the Fin Staging Guide.
Refunds
- Open the order in Sales → Orders.
- Use the DigetPay refund action (or issue refund via Process Refund API if exposed in admin).
- Confirm order status reflects the refund.
Refunds require a stored transaction ID from a successful webhook. If the order never left Pending, fix the webhook first.
Go live
- Set Environment to Production and switch to your production API key.
- Register production webhook URL in the production dashboard.
- Place one real test order and verify settlement in the dashboard.
Common issues
| Problem | Fix |
|---|---|
| Order stuck on Pending | Register HTTPS webhook; check callback URL in dashboard logs |
| DigetPay missing at checkout | Extension enabled + status Enabled + clear modification cache |
| Payment succeeds, no webhook | Firewall blocking POST; verify URL matches extension exactly |
| Refund fails | Ensure original transaction ID saved on order (webhook must have run) |
| SSL errors | Install valid certificate — HTTP stores are not supported |
Need help? [email protected]
Developer reference
| Item | Value |
|---|---|
| Payment route | extension/digetpay/payment/digetpay |
| Callback | index.php?route=extension/digetpay/payment/digetpay.callback |
| Create checkout | POST /payment/checkout/intiate |
| Refund | POST /payment/refund |
| Auth | Header x-api-key |
Updated 18 days ago
Did this page help you?
