Connecting Stripe Payments using Stripe Plugin

This guide will help you configure the Stripe plugin to process payments in your Bubble app.

The following instruction consists of two parts: Stripe Dashboard, and Connecting Stripe Plugin within your Bubble editor.

You can also check the Using Stripe Plugin section to learn about its available features.

Stripe Dashboard

1. Go to stripe.com and register as a developer account.

2. Verify your email address and then activate your account, in order to be allowed to access your dashboard and accept live payments.

3. Go to Developers -> API keys to grab your keys.

For Publishable key, just click on it to copy. Save it somewhere as you'll need it later on.

For Secret key, press to reveal the key token. Save it somewhere as you'll need it later on.

4. Enable the Connect feature in your Stripe Dashboard. Go to Connected accounts tab, complete all the steps to register your platform and press Continue.

Note: In order to register the platform, the account should be activated. However, for Test mode there is no need to activate the account.

Get started with Connect and select the Platform or marketplace option.

5. Go to Settings -> Connect -> Settings.

6. Scroll down to locate the Integration section. Copy the Client ID. Save it somewhere as you'll need it later on.

7. Copy the following URI:

https://bubble.io/poststripeauth

And add it to your Redirects URI tab as a Default URI, here:

Note: With Stripe Connect you can process payments from customers, transfer money to and from connected accounts, and pay out funds to bank accounts and debit cards.

Connect is a flexible combination of features designed to support a wide range of use cases:

  • Crowdfunding services

  • E-commerce platforms

  • Marketplaces

Note: Stripe Checkout is the complete checkout experience. A prebuilt Stripe payments page with customizable branding. Used for making One-time Payments or Recurring Payments.

Here, you are all set up so far.

Connecting Stripe Plugin

1. Go to Plugins Tab within your Bubble editor, and install the native Stripe plugin.

Note: If you are using one of our templates, the Stripe plugin has already been installed. You just need to configure it.

2. Paste the obtained Client ID, Secret key and Publishable key from your Stripe Dashboard.

You can also manage additional settings like Image and Name for your Stripe Checkout.

Tip: Genuine card information cannot be used in test mode. Instead, use test Stripe cards credentials.

Using Stripe Plugin

Charge the current user

This action charges the current user and prompts them to enter their credit card information.

Register the user as a seller

This action enables users to become merchants on your platform. For example, if you want to build a marketplace where users can sell their work to someone else, then they need to be able to credit their account when a transaction occurs.

Collect the user's CC information

This action prompts the user to enter their credit card information without actually charging the card.

Charge a user using saved CC

This action charges a user that has already entered the credit card information. It does not have to be the current user in this case.

Tip: If no credit card information is available, the action will fail.

Subscribe the user to a plan

This action subscribes a user to a plan, which was previously defined in Stripe. Then, the card will be charged on a regular basis.

Tip: If the user is already on a plan, their subscription will be updated to the new plan. If the user fails to enter their credit card information, the workflow will stop running.

Last updated