Setup Stripe Payment Gateway
Authenticate stripe (Required)
Go to Buy Me Coffee > Settings. You have to enable the gateway by toggling the Enable Stripe Payment switch. Select the mode from test to live if you want to get payment for a live account.
You can find the Stripe public key and Secret key from your Stripe dashboard. You may find your credentials at https://dashboard.stripe.com/apikeys
Copy and Paste the proper public key and secret key according to your stripe test or live mode.
![](https://wpminers.com/wp-content/uploads/2024/03/image-1024x577.png)
Webhook Setup (optional)
To get an update directly from your stripe, set up webhook events. Copy the webhook URL and go to Stripe Webhook settings page. Add a webhook endpoint then paste the Webhook URL as Endpoint URL. Select some custom events :
charge.captured
charge.succeeded
customer.subscription.created
customer.subscription.updated
invoice.paid
![](https://wpminers.com/wp-content/uploads/2024/03/image-1-1024x604.png)