1 Sign up for a Stripe account.
2 Click 'Developers' from the toolbar and then 'Developers > API Keys' in the left menu to generate your perishable and secret keys. Generate keys for live and test data. Or create a separate account for testing.
3 Next select 'Developers > Webhooks' (See above screenshot). Click to add new endpoint.
Enter the callback/endpoint 'https://www.example.com/control/callback/stripe.php' and specify all event types. If there is an option to
select an API version, you should choose '2019-05-16'. Make sure the callback url is the correct url to your setup.
4 When your webhook has been added, make a note of your 'endpoint secret key'. This is visible when you click to view a webhook. Look for 'Signing Secret' and 'Click to reveal' code.
5 Enter your perishable key, secret key and endpoint secret key details in your Maian Music admin area:
Payment Gateways > Manage Gateways > Stripe
Setup is Completed!