Desktop Admin
Search
⌃K

Stripe

How to Set up Stripe Payment Gateway on Your Website

Set up Stripe Payment Gateway on your Store

Note: Click here to navigate to the mobile admin app version of this article
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.
Note: Make sure to install Stripe from the aasaan app market. Click here to learn how to install apps from your app market.
STEP 1:
Login to your Stripe account and click on Developers.
STEP 2:
Click on API Keys.
STEP 3:
Copy the publishable key and secret key and save them. The secret key will only be displayed once.
STEP 4:
Go to your installed Stripe app in aasaan. Paste the account publishable and secret keys from step 3.
STEP 6:
Copy the Webhook URL.
STEP 7:
Go back to your Stripe dashboard, and click on Webhooks.
STEP 8:
Click on Add an Endpoint.
STEP 9:
Paste the Webhook URL from step 6 in the Endpoint URL field.
STEP 10:
Now we need to select the events for the webhook. Click on Select Events.
STEP 11:
Scroll down to payment intent and select these 4 events:
  • payment_intent.canceled
  • payment_intent.created
  • payment_intent.payment_failed
  • payment_intent.succeeded
Then click on Add Events.
STEP 12:
Click on Add endpoint.
STEP 13:
Click on Reveal Signing Secret.
STEP 14:
Copy the signing secret.
STEP 15:
Paste the signing secret in the "End Point Secret Key" field and click on Verify.
You have successfully set up Stripe on your website.