To Enable Stripe payment on your site, please follow these steps below:
1. Go to Dashboard > Settings > Payment settings > Stripe Checkout > Enable Stripe Checkout V2
2. Input Secret Key + Publishable Key + Webhook Secret
Some optional options: Custom Name / Description / Logo
+ Sandbox Mode is for testing
1. How to get Secret API key
To obtain your Stripe Secret Key, follow these steps below:
1. You need to log in to your Stripe account.
2. In the dashboard view, navigate to the left side menu,
first click on ‘Developers’ and select ‘API keys’. This will display a screen on the right-hand side.
3. Under ‘Standard keys’, you will see ‘Secret key’ and a button named ‘Reveal live key’.
Click on the button and it will display the secret key.
Or read more here: https://stripe.com/docs/keys
2. Steps to receive webhooks
- Go to your Stripe log in > Add a Webhook, input webhook link, ex: Webhook URL: http://linkURL.com/gateway/gateway_callback/stripe
- Then a secret key will be generated, Copy the Signing secret key and input it to Webhook secret key field in the Setting
- Stripe event payment_intent.succeeded