Comment on page
How to Set up Stripe Payment Gateway on Your Website
You can watch the video version of this article here:
If you have an existing account with the Stripe payment gateway, you can easily integrate it with Aasaan to receive your online payments. Here's how you do it.
Login to your Stripe account and click on Developers.
Click on API Keys.
Copy the publishable key and secret key and save them. The secret key will only be displayed once.
Go to your installed Stripe app in aasaan. Paste the account publishable and secret keys from step 3.
Copy the Webhook URL.
Go back to your Stripe dashboard, and click on Webhooks next to API Keys.
Click on Add an Endpoint.
Paste the Webhook URL from step 6 in the Endpoint URL field. Now we need to select the events for the webhook. Click on Select Events.
Scroll down and select payment intent.
Select these 4 events:
Then click on Add Events.
Click on Add endpoint.
Click on Reveal Signing Secret.
Copy the signing secret.
Paste the signing secret in the "End Point Secret Key" field and click on Verify.
You have successfully set up Stripe on your website.