Refunds, Testing & Troubleshooting

Test DigetPay on OpenCart 3, process refunds, and resolve common integration issues.

← OpenCart 3


Test payment

  1. Set Environment to Staging (Fin) in extension settings.
  2. Add a product to cart → proceed to checkout.
  3. Select DigetPay and complete payment on the hosted page.
OpenCart checkout — Pay with DigetPay
  1. Confirm 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 refund via Process Refund API if exposed in admin).
  3. 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

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

Go-Live Checklist →


Common issues

ProblemFix
Order stuck on PendingRegister HTTPS webhook; check callback URL in dashboard logs
DigetPay missing at checkoutExtension enabled + status Enabled + clear modification cache
Payment succeeds, no webhookFirewall blocking POST; verify URL matches extension exactly
Refund failsEnsure original transaction ID saved on order (webhook must have run)
SSL errorsInstall valid certificate — HTTP stores are not supported

Need help? [email protected]


Developer reference

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


Did this page help you?