Refunds, Testing & Troubleshooting

Test DigetPay payments, process refunds, prepare your OpenCart store for production, and troubleshoot common integration issues.

Test payment

  1. Set Environment to Staging (Fin) in the extension settings.
  2. Add a product to your cart and proceed to checkout.
  3. Select DigetPay and complete the payment on the hosted page.
  1. Confirm the order status updates to Processing or Complete.

Use test cards from the Fin Staging Guide.


Refunds

  1. Open the order in Sales → Orders.
  2. Use the DigetPay refund action, or issue the refund via the Process Refund API if the option is exposed in the admin panel.
  3. Confirm the 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

  1. Set Environment to Production and switch to your production API key.
  2. Register the production webhook URL in the production dashboard.
  3. Place one real test order and verify the transaction and settlement in the dashboard.

Go-Live Checklist →


Common issues

ProblemFix
Order stuck on PendingRegister the HTTPS webhook and check the callback URL in dashboard logs.
DigetPay missing at checkoutMake sure the extension is enabled, Status is set to Enabled, and the modification cache is refreshed.
Payment succeeds, no webhookCheck whether a firewall is blocking the POST request and verify that the webhook URL exactly matches the extension configuration.
Refund failsEnsure the original transaction ID was saved on the order. The successful webhook must have been received first.
SSL errorsInstall a valid SSL certificate. HTTP stores are not supported.

Need help? [email protected]


Developer reference

OpenCart 3.x

ItemValue
Payment routeextension/payment/digetpay
Callbackindex.php?route=extension/payment/digetpay/callback
Create checkoutPOST /payment/checkout/intiate
RefundPOST /payment/refund
AuthHeader x-api-key

OpenCart 4.x

ItemValue
Payment routeextension/digetpay/payment/digetpay
Callbackindex.php?route=extension/digetpay/payment/digetpay.callback
Create checkoutPOST /payment/checkout/intiate
RefundPOST /payment/refund
AuthHeader x-api-key

Did this page help you?