Add a gateway
- Go to Gateways & Currencies → Payment Gateways.
- Click + Add Gateway.
- Select the provider from the list (for example Stripe, bKash API, Razorpay).
- Enter the required credentials (see table below).
- Click Save.
Enter credentials
Each gateway requires different credentials depending on the provider. Common fields include:All credentials are encrypted at rest using AES-256-GCM. They are never stored in plaintext in the database. Only the OwnPay application can decrypt them using the server-side encryption key.
Gateway settings reference
Test with sandbox mode
Before going live, enable Sandbox mode on the gateway and run a test payment:- Set Sandbox mode to On.
- Set the gateway status to Active and assign it to a brand.
- Create a test payment link and complete a checkout.
- Verify the transaction appears in Payments → Transactions with Completed status.
- Once confirmed, disable Sandbox mode.
Activate per brand
Configuring a gateway makes it available globally, but it only appears at checkout when you assign it to a brand:- Go to People → Brands and edit the target brand.
- In the Gateways section, toggle the gateway on.
- Only gateways that support the brand’s currency are eligible.
Common issues
Related Pages
- Manual methods - configure offline payment methods
- Currencies - manage currencies and exchange rates
- Brands - assign gateways to brands
- SMS verification - auto-verify manual payments
- Webhooks - configure webhook endpoints