Dedicated forum thread: https://forum.bubble.io/t/new-plugin-paypal-checkout-smart-payments/104699
Demo page
Introduction
This plugin allows you to add the Paypal Smart Payment Buttons to your Bubble Application.
These Buttons allow you to seamlessly integrate the Paypal Checkout process into your Bubble application.
You can also use this plugin to authorize a payment and then capture (or not capture) it later.
This functionality is especially useful if you are not sure a transaction will take place (marketplace) but you want to put a hold on the funds until the decision is made.
Please be aware that payments are NOT automatically captured in this Plugin. You will have to manually capture the payment using our "Capture" API call in a subsequent workflow.
Features
Your users will be able to make payments using Paypal, Credit Card, Giropay, Sofort Γberweisung, Venmo, and more all within one checkout flow.
How to Setup
1. Sign up at https://developer.paypal.com/ and create a new application
2. After installing the plugin, copy your Sandbox or Live Client ID from Paypal and paste it into the plugin field labeled "Client ID".
3. In the Plugins Tab, specify the currency in which payments should be made. For a full list of all currency codes please visit: https://developer.paypal.com/docs/api/reference/currency-codes/
4. Drag the Paypal Element onto your page and specify the amount that should be charged in the element field labeled "value". Users can now pay via the smart Checkout buttons.
You have access to 2 states: Authorization ID and Order ID. These 2 states are created once a transaction has been successful. You can save these values and use them in subsequent API calls.
You also have access to 3 Events:
- A payment has been successful: This is triggered if a user has successfully completed a payment
- A payment has been canceled: This is triggered if the user cancels the checkout process
- Payment Error: This is triggered when an error occurred during the transaction
You have access to various API Calls. In order to first make an API call, you will need an access token.
You can generate the access token using the Action "Access Token". You will have to provide your PayPal Client ID and Secret ID (Sandbox or Live).
Please be aware that Access tokens have an expiration. You can keep track of when an access token expires, by saving the field called "expiration" that is returned after you trigger the "Access Token" action.
The following workflows are included:
1. Verify an Order
2. Capture an Order
3. Void an Order (Cancel an order)
4. Reauthorize Order
5. Refund Order (that was already captured)
For more information please visit: https://developer.paypal.com
Video Instruction
Frequently Asked Questions
Have a question, or suggestion, or encountered an issue? π€·ββοΈ
Please contact us by sending an email to: support@rapidevelopers.com
Want to report a bug? Please follow this guideline!