🕛Subscription Widget
Widget to create a new subscription for customer with selected plan
The subscription widget allows merchants to stay in the low-code ground, and embed ready-to-use UI component into their web stores that allow customers to create new subscriptions.
To start using the widget you first need to create some subscription plans, and create a token to initialize the widget.
Create a session token in your backend
By direct API call:
"/integration/subscriptions/create-customer-token" (see:
Subscriptions)Or by Node SDK: https://github.com/smarty-pay/smartypay-node-sdk
Open the widget in your Frontend
Use our Client SDK: https://github.com/smarty-pay/smartypay-client-sdk
Last updated