Skip to main content
Skip table of contents

Payment Provider: Connect to Stripe

Stripe is a global online payment platform that makes it easy to accept secure payments by card and other methods. In Bilberry Base it is possible to connect to Stripe to handle customer payments seamlessly directly through the system.

To be able to get the connection right, it is needed to copy different keys and codes found in the Stripe login portal, and add them to the Stripe Settings in Base.

You can access support/documentation from Stripe here. Other helpful links:


Step 1: Settings in Stripe

  1. Log in to your Stripe account.

Skjermbilde 2025-07-23 kl. 11.19.42.png

Dashboard view in Stripe.

  1. In the Dashboard view, click on Developers in the left lower corner.

Skjermbilde 2025-07-23 kl. 09.28.43.png
  1. Click Webhooks in the pop-up menu.

  2. Click Add destination.

Skjermbilde 2025-07-23 kl. 11.23.03.png
  1. Find the events to listen to by searching for checkout.session.completed and payment_intent.succeeded.

  2. Select both of these as events.

  3. Click Continue.

Skjermbilde 2025-07-23 kl. 11.24.24.png

Find and add both the Checkout event and the Payment Intent event.

  1. Click Webhook endpoint to select where you want to send events.

  2. Click Continue.

Skjermbilde 2025-07-23 kl. 11.27.23.png

Select the Webhook endpoint option.

  1. Configure destinations:

    1. Destination name: Is auto generated, and no need to do anything more here.

    2. Endpoint URL: Enter your Bilberry instance + /stripe/webhook in the Endpoint URL field. Example: https://zenith.bilberry.app/stripe/webhook

    3. Description: Optional.

Skjermbilde 2025-07-23 kl. 11.29.57.png

Configure the destination.

  1. Click Create destination.

This takes you to the Event destination overview.

Skjermbilde 2025-07-23 kl. 11.33.13.png

Event destination overview.

  1. Copy the Signing secret.

Skjermbilde 2025-07-23 kl. 11.33.38.png

Step 2: Settings in Base

Next steps will ensure the connection from the Bilberry side.

  1. Log in to your Base account.

  2. Navigate to the Administrator section in the left side menu.

  3. Click Settings.

  4. Click Payment provider settings.

  5. Click Stripe to enter the Stripe settings.

Skjermbilde 2025-07-23 kl. 10.54.08.png

The Stripe Settings in Bilberry Base.

There are three different keys/webhooks from Stripe that have to be copied and pasted into the fields in Base. These have to be collected from the Stripe account.

  1. Paste the already copied Signing secret in to the Stripe webhook secret field.

  2. Click Save.

Go back to the Stripe account to collect the Stripe key and Stripe secret.

  1. In the Dashboard view, click on Developers in the left lower corner again.

Skjermbilde 2025-07-23 kl. 09.28.43.png
  1. Click Overview in the pop-up menu.

Skjermbilde 2025-07-23 kl. 11.40.16.png
Skjermbilde 2025-08-14 kl. 10.14.02.png
  1. Find the API keys section and collect the standard keys.

    1. Publishable key: Has to be pasted in to the Stripe key field in Base.

    2. Secret key: Has to be pasted in to the Stripe secret field in Base.

  2. Click on the keys to copy them and paste them in to the fields Base.

  3. Click Save.

The integration is completed and Bilberry should now be capable of processing payments through Stripe.

Skjermbilde 2025-07-23 kl. 11.09.12.png

Very important step!

To being able to receive payments through the widgets, you need to change the payment solution on your website by adding this code to the Bilberry configuration code inside the head-tag on your website:

CODE
window.BilberryWidgetsGlobal.paymentProvider = 'stripe';

Test a Payment

If you want to connect to a test environment before you go live, the same process is used as above, but with test keys instead. After you create a Stripe account, you can find a set of test API keys in the Stripe Dashboard. You can use these API keys to create and retrieve simulated data by making requests to the Stripe API.

Before going live by starting receiving real bookings through Base, we suggest contacting our Support Center to get test bookings deleted from the system – to start using the system with a clean slate.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.