Skip to main content
ArcBlock Community

Subscription, How to create and manage

Adewambe Daniel
Support
payment-kit

I'm planning on switching from regular one time checkout sessions to subscriptions, because checkout sessions lack the ability to cancel recurring transactions from my nodejs backend, at least fromn the documentation I've seen

If it is possible to cancel recurring prices, please let me know

else, I'd love a guide on how to implement subscriptions on my nodejs backend

thank you

1 reply

wangshijun23 months ago

If ou already have https://www.npmjs.com/package/@blocklet/payment-js integrated into your backend, checkout payment.subscription object for it's methods to manage a subscription, the methods are defined with following snippet:

Screenshot 2024-10-30 at 19.51.45.png

Reply