Payment Gateways Setup
Payment Gateways Overview
Your marketplace supports 28 payment gateways covering global and regional payment methods. Each gateway has step-by-step setup instructions to minimize support requests.
Quick Gateway Navigation
Global: PayPal | Stripe | Mollie | NowPayments
Middle East & Africa: Paytabs | Paymob EG | YouCanPay | CamPay | Paystack | Flutterwave
Asia Pacific: Razorpay | Cashfree | Xendit | Duitku | VNPay | Ecpay | Paymob PK | Jazzcash | Genie Business
Europe & CIS: Iyzico | PayTR | Robokassa | Freekassa | Epoint.az | cPay
Latin America: Mercadopago | Asaas | Fast Pay
1. PayPal Setup
Coverage: 200+ countries | Currency: USD | Fees: 2.9% + $0.30
Getting API Credentials:
- Create account at paypal.com/business
- Go to developer.paypal.com
- Click My Apps & Credentials → Create App
- Copy Client ID and Client Secret
Configuration:
Admin → Services → Payment → PayPal
- Client ID: Your_Client_ID
- Client Secret: Your_Secret
- Environment: Sandbox/Production
Testing:
- Use sandbox accounts from developer dashboard
- Test mode automatically enabled in sandbox
2. Stripe Setup
Coverage: 46 countries | Currency: 135+ | Fees: 2.9% + $0.30
Getting API Credentials:
- Sign up at stripe.com
- Dashboard → Developers → API Keys
- Copy Publishable Key and Secret Key
Configuration:
Admin → Services → Payment → Stripe
- Public Key: pk_test_xxx or pk_live_xxx
- Secret Key: sk_test_xxx or sk_live_xxx
Test Cards:
- Success:
4242 4242 4242 4242
- Decline:
4000 0000 0000 0002
3. Mollie Setup
Coverage: EU | Currency: EUR/USD | Fees: €0.29 + var
Getting API Credentials:
- Register at mollie.com
- Dashboard → Developers → API Keys
- Copy API Key
Configuration:
Admin → Services → Payment → Mollie
- API Key: test_xxx or live_xxx
4. NowPayments Setup
Type: Cryptocurrency | Currency: USDT ERC20
Getting API Credentials:
- Sign up at nowpayments.io
- Dashboard → API Settings
- Generate API Key and set IPN Secret
Configuration:
Admin → Services → Payment → NowPayments
- API Key: Your_API_Key
- IPN Secret: Your_IPN_Secret
- Environment: Sandbox/Production
5. Paytabs Setup
Countries: Saudi, UAE, Egypt | Currency: SAR | Rate: 3.8
Getting API Credentials:
- Apply at paytabs.com
- Merchant Dashboard → API Keys
- Copy Profile ID and Server Key
Configuration:
Admin → Services → Payment → Paytabs
- Profile ID: Your_Profile_ID
- Server Key: Your_Server_Key
- Region: GLOBAL/ARE/SAU/OMN/JOR/EGY
6. Paymob EG Setup
Country: Egypt | Currency: EGP | Rate: 32.0
Getting API Credentials:
- Register at accept.paymob.com
- Dashboard → Developers
- Copy all required IDs
Configuration:
Admin → Services → Payment → Paymob EG
- API Key: Your_API_Key
- HMAC Hash: Your_HMAC
- Merchant ID: Your_Merchant_ID
- iFrame ID: Your_iFrame_ID
- Integration ID: Your_Integration_ID
7. YouCanPay Setup
Country: Morocco | Currency: MAD | Rate: 10.0
Getting API Credentials:
- Sign up at youcanpay.com
- Dashboard → API Keys
- Copy Public and Private Keys
Configuration:
Admin → Services → Payment → YouCanPay
- Public Key: Your_Public_Key
- Private Key: Your_Private_Key
8. CamPay Setup
Country: Cameroon | Currency: XAF | Rate: 605.0
Getting API Credentials:
- Register at campay.net
- Dashboard → API Settings
- Get Username and Password
Configuration:
Admin → Services → Payment → CamPay
- App Username: Your_Username
- App Password: Your_Password
- Environment: Sandbox/Production
9. Paystack Setup
Countries: Nigeria, Ghana | Currency: NGN | Rate: 755.0
Getting API Credentials:
- Sign up at paystack.com
- Settings → API Keys
- Copy Public and Secret Keys
Configuration:
Admin → Services → Payment → Paystack
- Public Key: pk_test_xxx or pk_live_xxx
- Secret Key: sk_test_xxx or sk_live_xxx
10. Flutterwave Setup
Coverage: 30+ African countries | Currency: NGN | Rate: 755.0
Getting API Credentials:
- Register at flutterwave.com
- Settings → API
- Copy all three keys
Configuration:
Admin → Services → Payment → Flutterwave
- Public Key: Your_Public_Key
- Secret Key: Your_Secret_Key
- Encryption Key: Your_Encryption_Key
- Environment: Sandbox/Production
11. Razorpay Setup
Country: India | Currency: INR | Rate: 83.0
Getting API Credentials:
- Sign up at razorpay.com
- Settings → API Keys
- Generate and copy keys
Configuration:
Admin → Services → Payment → Razorpay
- Key ID: rzp_test_xxx or rzp_live_xxx
- Key Secret: Your_Key_Secret
12. Cashfree Setup
Country: India | Currency: INR | Rate: 83.0
Getting API Credentials:
- Register at cashfree.com
- Dashboard → Credentials
- Copy App ID and Secret
Configuration:
Admin → Services → Payment → Cashfree
- App ID: Your_App_ID
- Secret Key: Your_Secret_Key
- Environment: Sandbox/Production
13. Xendit Setup
Countries: Indonesia, Philippines | Currency: IDR | Rate: 15,100
Getting API Credentials:
- Sign up at xendit.co
- Settings → API Keys
- Copy keys
Configuration:
Admin → Services → Payment → Xendit
- Public Key: xnd_public_xxx
- Secret Key: xnd_xxx
14. Duitku Setup
Country: Indonesia | Currency: IDR | Rate: 14,900
Getting API Credentials:
- Register at duitku.com
- Project Settings
- Get API Key and Merchant Code
Configuration:
Admin → Services → Payment → Duitku
- API Key: Your_API_Key
- Merchant Code: Your_Merchant_Code
- Environment: Sandbox/Production
15. VNPay Setup
Country: Vietnam | Currency: VND | Rate: 23,600
Getting API Credentials:
- Apply at vnpay.vn
- Merchant Portal → API Info
- Copy credentials
Configuration:
Admin → Services → Payment → VNPay
- TMN Code: Your_TMN_Code
- Hash Secret: Your_Hash_Secret
- Environment: Sandbox/Production
16. Ecpay Setup
Country: Taiwan | Currency: TWD | Rate: 62.0
Getting API Credentials:
- Register at ecpay.com.tw
- Merchant Backend → System Development
- Copy all three values
Configuration:
Admin → Services → Payment → Ecpay
- Merchant ID: Your_Merchant_ID
- Hash Key: Your_Hash_Key
- Hash IV: Your_Hash_IV
- Environment: Sandbox/Production
17. Paymob PK Setup
Country: Pakistan | Currency: PKR | Rate: 290.0
Getting API Credentials:
- Register at pakistan.paymob.com
- Same process as Paymob EG
Configuration:
Admin → Services → Payment → Paymob PK
- API Key: Your_API_Key
- HMAC Hash: Your_HMAC
- Merchant ID: Your_Merchant_ID
- iFrame ID: Your_iFrame_ID
- Integration ID: Your_Integration_ID
18. Jazzcash Setup
Country: Pakistan | Currency: PKR | Rate: 287.0
Getting API Credentials:
- Apply at jazzcash.com.pk
- Merchant Portal → Integration
- Get credentials
Configuration:
Admin → Services → Payment → Jazzcash
- Merchant ID: Your_Merchant_ID
- Password: Your_Password
- Integrity Salt: Your_Salt
- Environment: Sandbox/Production
19. Genie Business Setup
Country: Sri Lanka | Currency: LKR | Rate: 297.0
Getting API Credentials:
- Register at geniebiz.lk
- Dashboard → API Management
- Generate App Key
Configuration:
Admin → Services → Payment → Genie Business
- App Key: Your_App_Key
- Environment: Sandbox/Production
20. Iyzico Setup
Country: Turkey | Currency: TRY | Rate: 24.0
Getting API Credentials:
- Sign up at iyzico.com
- Merchant Panel → Settings
- Copy API and Secret Keys
Configuration:
Admin → Services → Payment → Iyzico
- API Key: Your_API_Key
- Secret Key: Your_Secret_Key
- Environment: Sandbox/Production
21. PayTR Setup
Country: Turkey | Currency: TRY | Rate: 27.0
Getting API Credentials:
- Apply at paytr.com
- Merchant Panel → Information
- Copy all three values
Configuration:
Admin → Services → Payment → PayTR
- Merchant ID: Your_Merchant_ID
- Merchant Key: Your_Merchant_Key
- Merchant Salt: Your_Merchant_Salt
22. Robokassa Setup
Country: Russia | Currency: RUB | Rate: 84.0
Getting API Credentials:
- Register at robokassa.com
- Technical Settings
- Set up passwords
Configuration:
Admin → Services → Payment → Robokassa
- MRH Login: Your_Merchant_Login
- MRH Pass1: Your_Password_1
- MRH Pass2: Your_Password_2
23. Freekassa Setup
Country: Russia | Currency: RUB | Rate: 84.0
Getting API Credentials:
- Sign up at freekassa.ru
- Merchant Cabinet → Shop Settings
- Copy credentials
Configuration:
Admin → Services → Payment → Freekassa
- Shop ID: Your_Shop_ID
- Merchant API Key: Your_API_Key
- Merchant Secret: Your_Secret
24. Epoint.az Setup
Country: Azerbaijan | Currency: AZN | Rate: 1.7
Getting API Credentials:
- Register at epoint.az
- Merchant Panel → API Settings
- Get keys
Configuration:
Admin → Services → Payment → Epoint.az
- Public Key: Your_Public_Key
- Private Key: Your_Private_Key
25. cPay Setup
Country: Macedonia | Currency: MKD | Rate: 58.0
Getting API Credentials:
- Apply at cpay.com.mk
- Merchant Portal
- Get credentials
Configuration:
Admin → Services → Payment → cPay
- Merchant ID: Your_Merchant_ID
- Merchant Name: Your_Merchant_Name
- Password: Your_Password
26. Mercadopago Setup
Countries: Latin America | Currency: BRL | Rate: 4.8
Getting API Credentials:
- Sign up at mercadopago.com
- Your Business → Credentials
- Copy keys
Configuration:
Admin → Services → Payment → Mercadopago
- Public Key: Your_Public_Key
- Access Token: Your_Access_Token
- Environment: Sandbox/Production
27. Asaas Setup
Country: Brazil | Currency: BRL | Rate: 5.0
Getting API Credentials:
- Register at asaas.com
- My Account → Integrations
- Generate API Key
Configuration:
Admin → Services → Payment → Asaas
- API Key: Your_API_Key
- Access Token: Optional
- Environment: Sandbox/Production
28. Fast Pay Setup
Country: Iraq | Currency: IQD | Rate: 1,310
Getting API Credentials:
- Register at fast-pay.cash
- Merchant Dashboard
- Get credentials
Configuration:
Admin → Services → Payment → Fast Pay
- Merchant Mobile Number: Your_Mobile
- Store Password: Your_Password
- Environment: Sandbox/Production
Webhook Configuration
Most gateways require webhook URLs for real-time updates.
Webhook URL Format:
https://yourdomain.com/callback/[gateway-slug]
Examples:
- PayPal:
https://yourdomain.com/callback/paypal
- Stripe:
https://yourdomain.com/callback/stripe
- Razorpay:
https://yourdomain.com/callback/razorpay
Testing Guidelines
Before Going Live:
- Enable Test Mode - Start with sandbox/test environment
- Test Transactions - Make small test payments
- Verify Webhooks - Check webhook delivery
- Test Refunds - Process test refunds
- Switch to Production - Only after successful testing
Common Test Credentials:
- Stripe Test Card: 4242 4242 4242 4242
- PayPal Sandbox: Create test accounts in developer dashboard
- Other Gateways: Check their documentation for test credentials
Troubleshooting Common Issues
"Gateway not configured"
- Gateway is disabled in admin panel
- Missing required API credentials
- Invalid credentials format
"Currency not supported"
- Gateway doesn't support your currency
- Exchange rate not configured
- Update exchange rate in settings
"Transaction failed"
- Wrong environment (sandbox vs production)
- Invalid API credentials
- Insufficient account permissions
- Gateway account not activated
"Webhook not received"
- URL not publicly accessible
- HTTPS certificate issues
- Firewall blocking gateway IPs
- Incorrect webhook secret
Security Best Practices
-
Protect API Credentials
- Never share or expose API keys
- Use environment variables
- Rotate keys periodically
-
HTTPS Required
- SSL certificate mandatory
- Use TLS 1.2 or higher
- Keep certificates updated
-
Monitor Transactions
- Review failed payments
- Set up fraud alerts
- Track unusual patterns
-
PCI Compliance
- Never store card details
- Use gateway tokenization
- Follow PCI DSS standards
Getting Support
Gateway Support Channels:
- Check gateway documentation first
- Use gateway support tickets
- Join developer forums
- Watch tutorial videos
Before Contacting Support:
- Test in sandbox mode
- Check error logs
- Verify all credentials
- Review webhook logs
- Check gateway status page
Information to Provide:
- Transaction/Order ID
- Error messages
- API request/response
- Timestamp of issue
- Environment (test/live)