With Connect with Stripe you link your Stripe account to Plek by installing Plek's app in Stripe. You sign in at Stripe and allow Plek to take payments and refunds for you. There are no secret keys or webhooks to copy, and Plek confirms your payments through its own connection with Stripe.
Before you start
- You need a Stripe account that can take payments, and the payment methods you want switched on in Stripe (cards, Bancontact, iDEAL, Apple Pay, ...). Customers see the methods you activated in Stripe.
- You need the Settings permission for payment gateways in Plek (Admins have it).
- Sign in at Stripe with a user who may install apps on that account (an Administrator in Stripe).
Connect a new Stripe account
- Go to Settings > Payments > Getting paid.
- Under Payment gateways, click Add gateway.
- Give it a name, for example "Stripe", and choose Stripe as the gateway type.
- Click Connect with Stripe. To try everything first with test payments, turn on Install in Stripe's test mode before you click.
- Stripe opens. Pick your account, check the permissions Plek asks for and install the app.
- Stripe sends you back to Plek. The gateway is saved and active, and shows which Stripe account it is connected to. A test-mode connection shows Test mode: it only takes test payments.
Switch from a secret key
Already set up Stripe with a secret key and webhook? Open the gateway and click Switch to the Stripe App. Once Stripe is connected, Plek forgets your secret key and webhook secret. You can then delete the webhook you made in your Stripe dashboard.
Test mode and live payments
A test-mode connection never takes real money. When everything works, open the gateway and connect again without Install in Stripe's test mode, or add a new gateway for live payments.
If the app is uninstalled in Stripe
If someone uninstalls Plek's app in your Stripe dashboard, the gateway is switched off at once and shows that it was uninstalled. Customers can't pay through it until you click Connect again. If another active gateway accepts the currency, customers pay through that one in the meantime.
Plek emails everyone who can manage payment gateways (the Admins, and anyone whose role allows it) when this happens, and also when Stripe stops accepting Plek's access to your account. The email has a button to the gateway, where you click Connect again.
Disconnect
Delete the gateway in Plek (Settings > Payments > Getting paid, row menu, Delete). Plek also asks Stripe to end its authorisation. To be sure, uninstall the app in your Stripe dashboard too, under Installed apps.
What Plek can see
Plek only asks for what it needs to take payments: create and read Checkout sessions, read payments and charges, make refunds and receive the events about them. Plek never sees card numbers: customers pay on Stripe's own page.
Related articles
- Connect a payment provider
- Refunds and cancellations