Set up Razorpay or Stripe to collect payments
Add your own Razorpay (rupees) or Stripe (dollars) keys and the webhook, then test the connection. Money goes straight to your account.
Self-built websites and locked previews are paid into your own payment account. Only the workspace owner can add the keys, under Settings, Payment gateway.
Razorpay (rupees)
- In the Razorpay dashboard open Account and Settings, API keys, and create a key. Use live keys for real payments.
- Paste the key ID and key secret into the Razorpay box and save.
- Press Test connection. It tells you if the keys are wrong or the account is not yet activated.
- In Razorpay add a webhook with the Webhook URL shown on the page, tick the event
payment_link.paid, choose a secret, then paste the same secret into the Webhook secret box and save.
Stripe (dollars)
Paste your Stripe secret key and add the webhook shown in the Stripe box the same way.
Why the webhook matters
Without it a payment is still confirmed when the customer returns from the payment page, or when they tap Already paid? Check. With it the site unlocks even if they close the tab straight after paying.
Questions
A customer sees ’Payment could not be started right now’. The keys are missing, wrong, or the gateway account is not active. You get a push notification when this happens. Use Test connection to see the reason.