What the add-on does
Stripe Payments adds a card payment step to the booking form. Guests pay on your page, without leaving your site, and the money goes straight to your own Stripe account. HarborBook takes no commission; Stripe charges its own fees.
- Card payments in the form, with Apple Pay and Google Pay when you use the Payment Element.
- 3D Secure checks are handled in the form when the guest’s bank asks for them.
- Full and partial refunds from the booking screen in WordPress.
- A Stripe invoice for every card payment, linked on the booking.
- Refunds made in the Stripe dashboard and disputes are synced back through a webhook.
Before you start
- HarborBook Pro with an active licence, and the Stripe Payments add-on switched on. See Install and switch add-ons on or off.
- A Stripe account. The add-on creates a Stripe invoice for each payment, so Stripe Invoicing must be available on your account.
- Your site must run on HTTPS to take live card payments.
- The Default Currency under HarborBook → Settings → General is the currency guests are charged in. Check that your Stripe account supports it.
Connect your test keys
- In your Stripe dashboard, switch to test mode and open the API keys page. Copy the publishable key and the secret key.
- In WordPress, go to HarborBook → Settings → Payments and open the Stripe sub-tab.
- Leave Test Mode on Test. The heading shows a TEST MODE badge.
- Paste the keys into Test Publishable Key and Test Secret Key.
- Click Save Stripe Settings.
- Click Test Connection. You should see “Stripe test connection successful.”
Test Connection checks the keys that are saved, so always save first. Read the text of the result: an error message can appear in the same colour as a success.
Make a test booking
- Open a page with the booking form and book any activity.
- At the Payment step, choose Pay online now.
- Enter the Stripe test card below with any future expiry date and any CVC, then click the Pay button.
4242 4242 4242 4242
The confirmation step shows “Your booking is confirmed” with the total and the amount paid today. In WordPress, open the booking under HarborBook → Bookings: the payment history shows a Stripe row with a link to the Stripe invoice.
Set up the webhook
The webhook lets Stripe tell your site about refunds, disputes and payments that were never turned into a booking. Set it up before you go live. The steps are in Stripe settings and webhooks.
Go live
- In Stripe, switch to live mode and copy your live publishable and secret keys.
- On the Stripe sub-tab, switch Test Mode to Live.
- Paste the keys into Live Publishable Key and Live Secret Key and click Save Stripe Settings.
- Click Test Connection. You should see “Stripe live connection successful.”
- Create a live webhook endpoint in Stripe and replace the Webhook Signing Secret with the live one. Test and live endpoints have different secrets.
- Make one real booking with a real card, then refund it from the booking screen.
Both keys are needed. If only the secret key is saved, the form offers card payment but guests see “Online payment is not available. Please choose another payment method.”
Card payments together with pay on arrival
When both Stripe and pay on arrival are on, guests choose between Pay online now and paying on arrival at the Payment step. To take card payments only, turn off pay on arrival under Payments → General. To take part of the price by card and the rest later, add Advance Payments.