Assistance with apple pay integration for Braintree on Bubble

Hi Bubble Support/Community,

I’m seeking guidance on implementing Apple Pay with the Braintree plugin in my Bubble application. We’re using the standard Bubble Braintree plugin and currently have only three available workflow options:

  1. Charge the user
  2. Subscribe the user to a plan
  3. Cancel the current user’s plan

Background:

We’ve followed Braintree’s instructions to register our domain and host the Apple Pay verification file. The Braintree team confirmed that our account is ready for Apple Pay at the account level. However, they have suggested that we use one of two approaches for the front-end integration:

  1. Drop-in UI (recommended for simpler setups)
    Documentation: Setup And Integration | JavaScript - Braintree Developer Documentation
  2. Custom integration for Apple Pay
    Documentation: Client Side | JavaScript - Braintree Developer Documentation

We also have access to the server-side documentation if needed: Server Side | Ruby - Braintree Developer Documentation

Request:

Could you please advise on how to approach this integration in Bubble? Specifically:

  • Is there a way to implement a custom button for Apple Pay that interacts with the existing Braintree plugin?
  • How do we add the necessary front-end and back-end code (if needed) to enable Apple Pay functionality given the no-code constraints of Bubble?
  • Is there any additional setup in workflows or actions that would help us leverage Apple Pay for our application?

Any support or insights from other users who have implemented Apple Pay with Braintree on Bubble would be greatly appreciated!

Thank you for your time and assistance.

Any help on this.