Add Wallet/Credit System on Bubble App Using PayPal

Hi everyone,

I’m looking to implement a wallet system in my Bubble app using PayPal as the payment gateway. Here’s the workflow I have in mind:

  1. Dropdown Menu for Funding Options
  • Create a dropdown menu with three options for users to fund their wallet: $20, $50 and $100.

  • This dropdown will allow users to select the amount they want to add to their wallet.

  1. Custom “Fund Wallet” Button
  • Instead of using the default PayPal buttons, I want to create a custom button with the text “Fund Wallet.”

  • This button should trigger the PayPal payment process based on the amount selected in the dropdown menu.

  1. Charge User Based on Selected Amount
  • When the user clicks the “Fund Wallet” button, the app should charge the user the amount they selected in the dropdown menu via PayPal.
  1. Redirect to Dashboard and Update Wallet Balance
  • After a successful payment, the user should be redirected back to their dashboard.

  • The user’s in-app wallet balance should be incremented by the amount they paid.

  • The updated balance should be displayed clearly on the dashboard.

Has anyone implemented a similar wallet system in Bubble using PayPal? Any tips or plugins you recommend?

This topic was automatically closed after 70 days. New replies are no longer allowed.