Letting customers pay invoices with PayPal
Customers can pay issued invoices with PayPal from their portal. The money goes to your own PayPal Business account, not ours. It is on every plan that includes online payments (Solo and above), and an owner sets it up in Settings, under PayPal.
What you need. A PayPal Business account. You will copy three things from PayPal's Developer Dashboard into Gleam: a client ID, a secret and a webhook ID.
Steps
- In the PayPal Developer Dashboard, go to Apps & Credentials and create an app. Use the Sandbox tab first to try it out.
- Copy the app's client ID and secret.
- In the same app, add a webhook. The address to use is shown in Settings under PayPal.
- Choose the events Payment capture completed and Payment capture refunded. That way a payment PayPal held back is recorded when it clears, and refunds made in PayPal are recorded in Gleam.
- Copy the webhook ID PayPal shows once it is saved.
- In Gleam, paste the client ID, secret and webhook ID. Tick This is a sandbox (test) app if you are using the Sandbox tab. Choose Save PayPal settings.
Your secret is stored encrypted, and Gleam only shows the end of it afterwards. To change it, enter a new one; leave it blank to keep the saved one.
Going live. Repeat the steps with a live app, untick the sandbox box and save. In sandbox mode no real money moves, so do a test with a sandbox buyer account first.
Switching it off. Choose Switch off PayPal in the same section. See setting up card payments with Stripe and setting up Direct Debit with GoCardless.