To take payments with Stripe, you create a restricted API key in Stripe and add it as a payment provider in GoMeddo Payments. GoMeddo Payments then creates the webhook in Stripe for you, so Stripe sends payment updates back without any further setup.
Before you start: you need a GoMeddo Payments account, see Create a GoMeddo Payments account, and access to the Stripe dashboard of your Stripe account.
Create a restricted key in Stripe
-
Log in to your Stripe dashboard.
-
Click Developers at the bottom of the menu on the left.
-
Click API Keys.
-
Create a Restricted Key.
-
Select that you provide this key to another website.
-
Enter
GoMeddo Paymentsas the name andhttps://www.gomeddo.comas the URL. -
Select that you customize the permissions for this key, and click Continue.
-
Turn off all permissions.
-
Turn on only these permissions:
-
Write on Checkout Sessions
-
Write on Webhook Endpoints, so GoMeddo Payments can create the webhook for you
-
Read on Accounts
-
-
Click Create key.
-
Copy the key.
Add Stripe in GoMeddo Payments
-
In Salesforce, open the GoMeddo Payments app.
-
Click the Configuration tab.
-
Click Configure Providers.
-
Click Add Provider.
-
Under Provider Options, select Stripe and click Next.
-
In provider_name, enter a name you recognize, for example Stripe Netherlands.
-
In api_key, paste the restricted key from Stripe.
-
Click Validate. GoMeddo Payments shows Credentials are valid.
-
Click Next and check the summary.
-
Click Submit.
GoMeddo Payments shows Payment Provider created successfully. and creates a webhook endpoint with the description GoMeddo Payments in your Stripe account. You don't have to set up the webhook yourself.
Stripe limits the number of webhook endpoints per account. When that limit is reached, GoMeddo Payments shows an error and doesn't create the provider. Delete a webhook endpoint you no longer use in the Stripe dashboard under Developers > Webhooks, and add the provider again.
Payment links
Stripe payment links expire after 24 hours. Make sure customers complete their payment within this window, or a new payment link will need to be generated.