Bravo Studio Help Center
  • Get started with Bravo Studio 👏
  • Get Started
    • 🚀Create your first app
    • 🌟Bravo introduction
      • Get ready to create your app with ChatGPT
      • Create an app
        • Creating an app with Figma
        • Creating an app with Adobe XD
      • Duplicate an app
      • Delete an app
      • Replace linked Figma file
      • The app page
      • Sharing your app
      • Add an editor to your app
      • Fonts
        • Adobe XD - Supported fonts
    • 📱Bravo Vision previewer
    • ✨Unlock power features to create interactive apps
    • 🎓Help and tutorials
      • 📖App guide tutorials
        • Sample app tutorial: Your first binding
        • How to build a Fitness app with Bravo, Xano and RevenueCat
        • Foodgram: Social content sharing
        • Expedition journal: Write and share your adventures
        • My Subscriptions: Display data based on device ID
        • My Notes: using user ID and email from Firebase
        • My Store: Sell physical products with Bravo and Stripe
        • Titan: How to create a Smart Home App with No-Code?
        • n8n: Building an expense tracking app in 10min
      • 📺Learn with videos
      • 📚Learn with articles
      • 🗃️Browse by app feature
        • Save or "bookmark" a page
        • Backend search with Airtable
        • Backend search with Xano
        • Nested lists (list within a list)
        • Create and edit user profile (Firebase + Airtable)
        • Skeleton loader
        • Create albums in your app with Bravo Infinite images
  • Set up your design
    • 🖌️Get your Figma ready for Bravo
      • 🗃️Structuring the design: the layer hierarchy
      • 🪄Bravo Tags: adding functionality to the UI elements
      • 🧱The container
        • Setting up a container on Figma
        • Setting up a container on Adobe XD
      • 📲App navigation
        • Setting up app navigation on Figma
        • Setting up app navigation on Adobe XD
    • 🔌Bravo plugin for Figma
    • 💾Sample design files
    • 🤓Best Practices
  • App components
    • 📒Bravo Tags Master List
    • 🚪Menus
      • Modal Menu
      • Modal pages
      • Tabs Menu
      • Pop Up pages
      • Slide Menu
    • 🍞Pages
      • Modal pages
      • Pop-up pages
      • Swipe page
      • Transitions page
      • Page reveal animations
      • Page tabs
      • 🔮Stateful pages
    • 📦Containers
      • Swipe to delete
      • Top bar
      • Carousel slider
      • Aspect ratio relative to screen
      • Sortable List
      • Layer (sticky element)
    • 👋Intro & Onboarding
      • Intro page
      • Post-login page (Onboarding)
    • ⌛Loading experience
      • Loading page
      • Custom loading page
      • No loading
      • Preload
    • 📝Form & input fields
      • 👁️Password Visibility Toggle
      • 🩷Stateful input
        • ☑️Checkboxes (Multiple select)
        • ✅Required Checkbox
        • 🔘Radio buttons (Single select)
      • ⏳Input time Interval
      • 📄Dropdown selector
      • 🎚️Slider control
      • 🗓️Calendar picker
      • 📄Send form input to a database
    • 💎Components
      • Autoplay Video
      • GIF
      • SVG Component
      • Web view
      • Web Components using AI
      • Web view communication
      • LottieFile
      • Lottie-animated component
      • Flexible text (Flexo)
      • Zoomable image
      • Component states
      • Stateful component (like button)
      • Setting up the backend of Stateful component (like button)
      • Haptic Feedback (Buzzz)
      • Progress bar
      • Rich text
      • Date, Time and Currency Formatter
      • Scrollable text
      • Text Lines & Truncation
      • Status bar
    • ⚡Mobile actions
      • Mobile Actions
      • Play audio
      • Record audio
      • Play video
      • Scan QR code (external URL)
      • Scan codes (remote action)
      • Search & filter
      • Refresh page
      • Share location
    • 📱App Icon & Splash Screen
    • 🗺️Map with markers
    • 📈Charts
  • Data and Backend
    • 🗂️Set up a no-code backend
      • Xano
        • Nested lists (list > list > detail page) with Xano
        • Create a bookmark functionality with remote actions and device ID with Xano
        • Multi-user setup with Xano
        • 🔒Setting up the Xano Log in Snippet
          • ♻️Refresh Token
      • Airtable
        • Nested lists (list > list > detail page) with Airtable
        • Sort list with Airtable
        • Connect multiple tables from Airtable to one app
        • Update Airtable's API key to Access Token
      • Backendless
      • Bubble
      • Notion
        • Getting data from a Notion table
      • Firebase
        • Getting data from Firestore
    • 💾Set up API requests
      • Set up from scratch
        • Airtable
          • Set up an API GET request for list page - Airtable
          • Set up an API GET request for detail page - Airtable
          • Set up an API POST request - Airtable
          • Set up an API DELETE request - Airtable
        • Xano
          • Set up an API GET request for list page - Xano
          • Set up an API GET request for detail page - Xano
          • Set up an API PATCH request - Xano
          • Set up an API POST request - Xano
          • Set up an API DELETE request - Xano
      • Using GraphQL body type
      • Set up with API wizard & importer
        • Using the Airtable API Wizard
        • Using the Xano API wizard
    • 🎲Variables
      • Built-in variables
      • Set Variable
    • 📚Data Collection & Binding: Complete Collection
    • 🗂️Pagination
    • 🐛Debugging API issues
      • ⚙️Debugging requests in the API Collection
      • 📲Event logger
      • 🔗Link property
  • Data binding
    • 🤝Data binding types
      • API binding types
      • Bind multiple API requests to one screen
      • How to connect my API to a mobile actions
      • Remote actions: trigger an API request with a UI element
    • 💡Display data in your app
      • Bind data to design for a list page
      • Bind data to design for a detail page
    • 🆕Create data from your app
    • 🗑️Delete data from your app
    • 🚦Conditional Visibility
    • 🎛️Conditional Actions
  • Integrations & Settings
    • 🖇️Deep Links
      • 🖇️Deep Links for Bravo Vision
      • 🖇️Deep Links for published apps
      • 🖇️Troubleshooting Deep Links
    • 🔔Push Notifications with OneSignal
      • How to get a Bravo page URL
    • ⚙️Firebase Configuration
    • 🔐User Authentication
      • 🔑Authentication with Kinde and Xano
      • 🧙🏽Authentication with OAuth 2.0
        • Using social logins to authenticate users
        • Using AWS Cognito to authenticate users
        • Connecting to Spotify API
      • 📲User login with Firebase
        • ✉️Email and password Login with Firebase
        • 📞Phone Login with Firebase
        • 🍎Social Login with Firebase
        • 👻Anonymous Login with Firebase
      • ⛓️Authentication with custom backend
        • Set up Xano as your user authentication backend
    • 💰Stripe: One-time Payment
    • 💬Chat: CometChat
    • 💸RevenueCat: In-app purchases and subscriptions
    • 📉Bravo Analytics
    • 📳Facebook App Events
    • 📊Google Analytics
    • 🌐Multilingual apps
    • 🕸️How to connect with Webflow API
    • 📡NFC connection
    • 🎯Admob
  • App Publication
    • 🚀Publishing your app
      • iOS Publication: Complete Process
        • 1. Generate Certificates, AppIDs and Provisions
        • 2. Get the IPA
        • 3. Upload IPA to App Store Connect
        • 4. Test your app on TestFlight (optional)
        • 6. App Store publication
        • 7. Updating an app in the App Store
      • Android Publication: Complete Process
        • 1. Create a Keystore File (optional)
        • 2. Get the Debug APK to install
        • 3. Install the Debug APK in your device
        • 4. Get the AAB (Android App Bundle) file to publish
        • 5. Google Play publication
        • 6. Updating an app in Google Play
      • Android APK Installation Guide
      • Rejection from the app stores
    • 🎛️Making changes to your app after publication
    • 🛍️Versioning
    • 🌟App rating alert
  • Good to Know
    • 🤔Troubleshoot
      • Errors when logging in
      • Errors when creating an app
      • Errors in API requests
        • Request timeouts on Bravo
      • Errors after importing
      • Errors in publication form
    • 🧑‍💻Manage your account
    • 💳Billing
      • Bravo Subscription Plans Overview
      • App Add-ons
      • Upgrading a plan
      • Downgrading a plan
      • App allowance
      • Invoices & payment method
      • FAQ
    • ❓FAQs
      • About Bravo Studio
      • Importing a design file
      • Bravo Vision
      • Bravo Tags
      • API & Data Library
      • Login & Account
      • Other Features
  • NEED SOME HELP?
    • 📖Bravo Support Guide
    • 🤝Join the Bravo community
    • 🤖Bravo Assistant
    • 👥Production support
    • 🐞Report an issue
Powered by GitBook
On this page
  • How to set up Stripe payment
  • Checkout with set price
  • Donations
  • Extra information fields
  • Checkout response actions
  • About the sandbox environment
  • 💎 Resources

Was this helpful?

  1. Integrations & Settings

Stripe: One-time Payment

PreviousSet up Xano as your user authentication backendNextChat: CometChat

Last updated 1 year ago

Was this helpful?

With our Stripe integration neither App Store, Google Play or Bravo will take commission rates. But note that it must be used for selling physical products or non digital services only. If your are trying to bypass with a digital service, they could reject your app to be published.

Requirements:

  • A

  • in Bravo

Add a custom checkout page to your app with our integration. With a set of Stripe-specific Bravo Tags, you can turn form input fields into checkout fields that are automatically connected to your Stripe account. Stripe handles identity verification to meet Know Your Customer (KYC) and compliance requirements.

Related docs:

How to set up Stripe payment

1. In your Bravo app project, access Integrations > Stripe > Connect with stripe.

2. Once connected, we'll focus on the UI needed in the app. There are 2 required elements:

  1. Credit card input field: this field gathers the credit card data and requires postal code. [component:input-stripe-credit-card] (text box). In case you want to hide the postal code option, use [component:input-stripe-credit-card:no-postalcode] instead.

  2. Checkout action element: this element triggers the payment action[action:stripe-checkout] (any layer type)

The input will contain all required fields such as card number, expiration date, CVC and postal code.

Checkout with set price

There are two ways of setting amount and currency:

Option 1. Using hidden fields.

Use this option if you want to set the amount and/or currency from the backend (binding):

[component:input-hidden][stripe:amount]

[component:input-hidden][stripe:currency]

Alternatively, you can set the values manually. Note that you can have one tag bound with data from backend (ie: amount) and the other with a manual value (ie: currency):

[component:input-hidden:10][stripe:amount]

[component:input-hidden:eur][stripe:currency]

Option 2. Adding values manually to the checkout tag.

Add the amount and currency values manually in the checkout action tag. (Data binding not supported).

[action:stripe-checkout:10:eur]

Donations

If you want to allow the end app user to set the amount (ex: a donation), you can add a visible input text field for the amount or the currency.

  1. Amount input field:

    [stripe:amount][component:input-number]

  2. Currency input field:

    [stripe:currency][component:input-text]

You don't need to have both input fields in the form, you can specify either one in the checkout action tag.

Ex: If you just have a visible amount input field, then include the currency in the checkout tag like this:[action:stripe-checkout::eur] Make sure you have a double colon :: in the tag if the amount is not included.

Extra information fields

It's recommended to add extra fields that will serve as context for each payment and add information about the customer.

These will be sent to Stripe:

Customer name:

[component-input-hidden][stripe:customer:name]

Customer email:

[component-input-hidden][stripe:customer:email]

Customer phone:

[component-input-hidden][stripe:customer:phone]

Payment description:

[component-input-hidden][stripe:description]

Metadata:

[component-input-hidden][stripe:metadata:<key>]

Fore any other information use this tag (without the <>).

If you want the app user to input the information themselves, you need to add an input field tag with these information tags. I.e.: [component:input-text][stripe:customer:name]

Checkout response actions

After you have added the checkout action tag to the UI, you can configure the response actions. The response action is what happens after the user triggers the checkout action, in the case it succeeds or fails.

  1. In Bravo Studio, go to your project and select the app page to open data binding mode.

  2. Locate the layer with the checkout action tag. It will have a data icon next to it.

  3. Click on the layer to open the element binding panel, there you can configure the response action for on success and on error.

If you don't set up any response action, these are the default responses:

  • On success: a pop-up dialog that says "Payment success"

  • On error: No response

Options for Response Actions:

  • No action.

  • Show Alert: Display a pop-up message.

  • Go To Page: Redirects user to another page.

  • Go back: Redirects the user to previous page.

  • Open URL: Opens the web browser on the phone with the specified URL.

  • Refresh: Refreshes the current page.

  • Logout: End user's session.

The checkout page is complete! Your app users can now use the checkout page in your app to make payments to your Stripe account.

About the sandbox environment

Currently it's not possible to test Stripe payments in sandbox mode. You can test the set up on Bravo Vision or Testflight using real cards and make refunds on Stripe.

💎 Resources

That's it! 🥳

📝

Stripe payments are not available on Android if you app is targeted for children. Read more in the .

Form input fields
My Store: Sell physical products with Bravo and Stripe
💰
Stripe account
Bravo Solo account
Stripe
LogoBravo Sample: Stripe PaymentFigma
Android publication guide
984KB
Bravo Sample - Stripe payment.xd.zip
archive
Example of how the card field looks on the app.
In this example, we allow the user to input the amount, and we specify the currency in the checkout button.
I.e.: this metadata tag is set as [stripe:metadata:comments], and the user has input "Save the forest!"
Page cover image