This is a step-by-step guide to integrate Stripe as a payment gateway on your Graphy course platform.
This guide specifically talks about how to integrate Stripe. Stripe is especially helpful in collecting online payments from the international audience.
Settings within your Course Platform
Go to your Dashboard > SETTINGS > Payment.
Under the "Payment Gateway" select "Stripe". If you want to charge tax, click on "GST", "VAT", or click on "No Tax". Now, specify the percentage charged under "Default Tax Rate".
Finally, click on "Connect".
Now, scroll down and fill in the "Payment Gateway Details". You need to fill in a few details that you would get from your Stripe account.
Sign up with Stripe
Open a new tab & sign up with Stripe if you haven't already.
You would automatically land on https://dashboard.stripe.com/
Before proceeding ahead, please make sure your Viewing test data is disabled.
Please note that these steps would work properly if your account activation is complete. Enter all the required details to enable your account activation. If you are unsure about how to go about it, just click in "viewing test data" & the next steps would be clear.
On your dashboard, go to the menu bar at the left. Go to Developer > API Keys.
The first one you would find is "Stripe Publishable Key".
Next up, click on "Reveal Live Key" to find the Stripe Secret Key.
Secret Key would be revealed. Copy & keep them with you. Click on Done.
In the menu, just below the API Key, click on "Webhooks". Now, click on "Add endpoint".
You need to paste your Endpoint URL. You would get it from your payment gateway page that you left open in the previous tab.
Copy the Endpoint URL & come back to the Stripe tab. Paste the Endpoint URL.
Under description, you can either leave it blank or write anything for your reference.
You need to select the following events:
- checkout.session.completed
- invoice.paid
- invoice.payment_failed
After the above settings, click on "Add Endpoint".
Now, click on “Click to reveal” under “Signing Secret”. Copy the Signing secret.
Come back to the Stripe integration page that you left open.
Here, paste all the three pieces of information & click on "Save".
Your Stripe integration is complete.
Comments
0 comments
Please sign in to leave a comment.