跳到主要内容
ArcBlock Community

Subscription, How to create and manage

Adewambe Daniel
支持
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 条回复

wangshijun23个月前

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

回复