Skip to content

Stripe Manual (your own keys)

Stripe Manual connects your own existing Stripe account to Pay2Book. It is available on the Pro plan and gives you full control of your Stripe account. To set it up you give Pay2Book two things from Stripe: a restricted API key (so Pay2Book can create checkouts and refunds on your account) and a webhook signing secret (so Stripe can tell Pay2Book the moment a payment succeeds).

You do all of this in Settings → Stripe in your Pay2Book console.

A restricted key gives Pay2Book only the permissions it needs - nothing more.

  1. Open your Stripe API keys page: dashboard.stripe.com/apikeys.

  2. Select Create restricted key.

  3. Give it a name (for example, Pay2Book) and set these permissions:

    Resource Permission
    Checkout Sessions Write
    PaymentIntents Write
    Refunds Write
    Balance Read
    Webhook Endpoints Read

    Leave every other permission as None.

  4. Create the key and copy it (it starts with rk_).

  5. In Pay2Book, go to Settings → Stripe and paste the key into Secret key.

The webhook is how Stripe tells Pay2Book that a payment has succeeded.

  1. In Pay2Book’s Settings → Stripe, copy your Webhook URL (it is unique to your account).

  2. In Stripe, open Workbench → Webhooks → Add destination, or go straight to dashboard.stripe.com/workbench/webhooks/create.

  3. For events, choose Your account, then All events. Search for and tick both of these, then Continue:

    • checkout.session.completed
    • payment_intent.created
  4. For the destination type, choose Webhook endpoint. Paste your Pay2Book Webhook URL as the Endpoint URL, then Create destination.

  5. Open the new destination and copy its signing secret (it starts with whsec_).

  6. Back in Pay2Book’s Settings → Stripe, paste it into Webhook signing secret and save.

Once the key and webhook secret are saved, open the Health page in your Pay2Book console and run Test setup. It checks that the key works, the webhook is registered, and the right events are subscribed - all without taking a real payment.

The payment setup test results, showing the secret key works but the webhook is missing

The results show exactly what is and is not working. Fix anything it flags - in the example above, the key is fine but the webhook still needs adding.