Paypal Recurring Payments

Demo to preview the plugin:

Introduction

This plugin allows you to integrate Paypal Subscriptions into your bubble applications.
You can create subscription plans via your PayPal dashboard and then subscribe users to these plans using these plugins.
This plugin also supports api calls to manage PayPal subscriptions.
Usage Features:
  • Integrate PayPal subscription billing into your Bubble application with ease
  • Create and manage subscription plans directly via your PayPal dashboard
  • Subscribe users to plans programmatically using built-in plugin workflows
  • Supports API calls for managing subscriptions, such as cancellation, updates, and retrieval
  • Seamless checkout experience for users with PayPal’s secure payment interface
  • Ideal for apps offering recurring billing, memberships, or SaaS pricing models
  • Fully compatible with Bubble workflows — no backend coding required
  • Secure and scalable, using PayPal’s trusted infrastructure
  • Lightweight and easy to set up, with minimal configuration needed
  • Designed to streamline payment processes and automate user billing cycles
Image without caption

How to setup

  1. Add the Paypal element
      • Go to the Design tab in your Bubble editor.
      • Drag the Paypal element onto your page.
        • Element → Paypal.
          Element → Paypal.
  1. Generate an Access Token
    1. Before calling any PayPal API endpoints, generate an access token.
      • In your workflow, add the action:
        • Acccess Token Live → for production
        • Acccess Token Sandbox → for testing
      • Store the returned token in a custom state or database field for later use in other actions.
        • Workflow → Acccess Token Sandbox.
          Workflow → Acccess Token Sandbox.
  1. Retrieve Subscription Details
    1. To check the status or details of a subscription:
      • Use:
        • Paypal - Get Subscription Details (for live)
        • Paypal - Get Subscription Details Sandbox (for sandbox)
      • Provide the Subscription ID.
      Workflow → Paypal - Get Subscription Details Sandbox.
      Workflow → Paypal - Get Subscription Details Sandbox.

Plugin Element Properties

Paypal

Element properties → Paypal.
Element properties → Paypal.
Fields:
Title
Description
Type
Planid
The Plan ID to which the user should be described. You can create new Plans in you Paypal dashboard and find the ID there.
Text

Exposed states

Title
Description
Type
Subscriptionid
The ID of the created subscription
Text

Element Events

Title
Description
a Payment has been successful
Is triggered when a payment has been successful.
a payment has been cancelled
Is triggered when a payment has been cancelled.
a payment has encountered an error
Is triggered when an error has occurred during a payment.

Plugin Action Calls

Get Subscription Details Sandbox

Get Subscription Details

Plugin Actions

Acccess Token Live

“Access Token Live” refers to a token that is currently active and valid for accessing resources in a software plugin or API.
Workflow action → Access Token Live.
Workflow action → Access Token Live.
Title
Description
Type
Client ID
Your Live Client ID
Text
Secret ID
Your Live Secret ID
Text
Return Values:
Title
Description
Type
Token
In the context of a software plugin or API, a “token” is a unique and securely generated string of characters used for authentication and authorization purposes.
Text
Error
An error in software refers to a deviation from expected behavior that can occur due to issues like invalid inputs, bugs, or system malfunctions, leading to unexpected outcomes or program failures.
Text
Expiration
“Expiration refers to the point in time when a software license or access token becomes invalid and no longer grants permission for use.”
Number

Acccess Token Sandbox

An “Access Token Sandbox” is a testing environment within a software plugin or API where developers can experiment with access tokens in a safe and controlled manner.
Workflow action → Access Token Sandbox.
Workflow action → Access Token Sandbox.
Title
Description
Type
Client ID
Your Sandbox Client ID
Text
Secret ID
Your Sandbox Secret ID
Text
Return Values:
Title
Description
Type
Token
A token is a unique and securely generated string of characters used for authentication and authorization in software applications.
Text
Error
An “error” in software refers to a deviation from the expected behavior or an issue that prevents the program from executing successfully, often accompanied by error codes or messages for debugging and troubleshooting.
Text
Expiration
“Expiration refers to a predefined date or time after which a software plugin or API access or functionality will no longer be valid or available.”
Number

SSA Cancel Subscription

“SSA Cancel Subscription” refers to a function within a software plugin or API that allows users to terminate a subscription to a service provided by the SSA (Software as a Service) platform.
Workflow action → SSA Cancel Subscription.
Workflow action → SSA Cancel Subscription.
Title
Description
Type
Domain
In the context of a software plugin or API, a “Domain” refers to a distinct area or scope within which specific rules, data, or functionality are defined and operate. Available options: Live, Sandbox
Dropdown
Subscription ID
A Subscription ID is a unique identifier assigned to a specific subscription within a software plugin or API, enabling tracking and management of subscription-related activities.
Text
Access Token
An access token is a credential used by an application to access protected resources on behalf of a user or another application.
Text
Return Values:
Title
Description
Type
Error
An “error” in software refers to a deviation from expected behavior that can occur due to mistakes in coding, input data, or system issues, leading to program failure or unexpected results.
Text
Error Description
“Error Description” refers to a message or explanation provided by software that details the nature of an error that occurred during program execution.
Text
Error Details
“Error details refer to specific information provided by a software plugin or API that describes the cause or nature of an error encountered during program execution.”
Text
Image without caption

Changelogs