Setting up a Stripe account
Go to Developers → Webhooks
Click on the button “Add endpoint” and configure webhook
Endpoint URL - https://your-domain/api/payment-systems/stripe/webhook
Events to send - payment_intent.succeeded, invoice.paid, customer.subscription.updated
// Replace your-domain with your actual domain address.
Go to Stripe settings Developers → API keys and create new Secret key. Name it as you like. Copy secret key somewhere, you will need it on next step.
Setting up a Stripe account in the website settings
In the website settings your-domain/admin/settings/payments add a new payment method Stripe
Fill in:
API Secret key (Use previously remembered secret key generated on Stripe API Keys page)
Webhook secret key (You can find it in your Stripe settings Developers → Webhooks → webhook, that configured on previous step → Signing secret → Click
Reveal
to show key)
Click “Save”. System is configured.