Payment Gateway
Set up gateway correctly, validate checkout, and monitor payment health for reliable collections.
1) Gateway Setup Basics
Configure payment gateway credentials using the correct mode and account.
- Use test mode first for safe validation.
- Switch to live credentials only after successful testing.
- Keep key configuration secure and environment-specific.
- Avoid mixing test/live keys in production.
2) Checkout Verification
Payment completion is verified before final order confirmation.
- Signature validation is used to prevent forged confirmations.
- Failed verification must not mark orders as paid.
- Keep callback URLs and webhook behavior consistent.
- Log payment failures for support troubleshooting.
3) Plan-wise Payment Behavior
Payment options and limits can differ by selected plan.
- Free plan can enforce provider restrictions.
- Paid plans can enable broader payment configurations.
- Any plan change should update gateway behavior accordingly.
- Store-side enforcement should read current plan metadata.