Payment Gateways
Accept online payments with Razorpay, Stripe, PayPal, or Cash on Delivery.
Supported gateways
Razorpay
Best for India — UPI, cards, net banking, wallets
Stripe
International cards, Apple Pay, Google Pay
PayPal
PayPal balance, debit/credit cards worldwide
Cash on Delivery
No payment integration needed
You can enable multiple gateways simultaneously. The customer chooses at checkout.
Where to configure
Go to Shop Settings in the sidebar. Each gateway has its own card. Toggle it on and paste in your API keys.
Security
API keys are stored server-side and are never sent to the browser. The public checkout page only receives the minimum information needed to initialise the payment UI.
Razorpay setup
- 1Log in to your Razorpay Dashboard.
- 2Go to Settings → API Keys and generate a new key pair (if you have not already).
- 3Copy the Key ID (starts with
rzp_live_) and Key Secret. - 4In AiBuildPro, go to Shop Settings → Razorpay, toggle it on, and paste both values.
- 5Click Save. Test with a real ₹1 order before going live.
How it works
At checkout, we create a Razorpay Order server-side, open the Razorpay checkout popup client-side, then verify the payment signature server-side before confirming the order. This prevents spoofing.
Stripe setup
- 1Log in to your Stripe Dashboard.
- 2Go to Developers → API Keys.
- 3Copy the Publishable key (starts with
pk_live_) and Secret key (starts withsk_live_). - 4In AiBuildPro, go to Shop Settings → Stripe, toggle it on, and paste both values.
- 5Optionally paste the Webhook Secret from Stripe → Developers → Webhooks for server-side payment confirmation.
PayPal setup
- 1Go to PayPal Developer → My Apps & Credentials.
- 2Create a Live app (switch from Sandbox at the top).
- 3Copy the Client ID.
- 4In AiBuildPro, go to Shop Settings → PayPal, toggle it on, and paste the Client ID.
Note
PayPal uses its JavaScript SDK client-side. No secret key is needed — only the Client ID is required.
Cash on Delivery
No configuration needed. Toggle Cash on Delivery on in Shop Settings. Orders placed with COD will have a pending payment status until you manually mark them as paid.