Stripe payments integration
Bookla's integration with Stripe allows you to securely process payments for bookings using Stripe's payment infrastructure. This guide covers setting up Stripe payment processing for your Bookla services, handling payment events through webhooks, and managing the payment lifecycle within your booking flow. Before proceeding with the integration, ensure you have an active Stripe account and access to your API keys.
Enabling Stripe Payments Plugin
To start accepting payments through Stripe, you need to enable the Stripe Payments plugin in your Bookla account. Follow these steps to set up the plugin:
- Log in to your Bookla Dashboard.
- Navigate to the "Plugins" section.
- Click on "+ Add plugin" to see all available plugins.
- Locate the "Stripe" plugin and click "Add".
- Now, Stripe menu item will appear in the sidebar.
Configuring Stripe Settings
After enabling the Stripe plugin, you need to configure your Stripe account settings in Bookla. Follow these steps to set up your Stripe integration:
- Click on the "Stripe" menu item in the sidebar.
- Click "+ Start connecting" to begin the setup process.
- Enter the following details:
- Secret key: Your Stripe secret key. Follow this guide from Stripe to get your restricted secret key.
- Success Redirect URL: The URL where users will be redirected after a successful payment.
- Cancel Redirect URL: The URL where users will be redirected if they cancel the payment.
- Failure Redirect URL: The URL where users will be redirected if the payment fails.
- Click "Connect" to complete the setup.