#votsircp-recurring
1 messages · Page 1 of 1 (latest)
depends on how you integrate with Stripe. Are you using Checkout or Element or something else?
hey wsw, we're using elements
i see. what if we used checkout?
You cannot neither, but you will be using different parameters when you create checkout session
you can use setup intent to save the payment_method
Learn how to save card details and charge your customers later.
Learn how to save card details and charge your customers later.
np
should i combine that with a cron that automatically charges after x amount of time?
you can
but you can also use billing as you mentioned, then you don't have to write your own cron job as Stripe will do that for you by charing your customer recurringly
correct,
But that is true too for your cron job as well
you will need to offer a way for your customer to stop the cron job from charging them again
For Stripe subscription, you can just call https://stripe.com/docs/api/subscriptions/cancel?lang=curl
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
let me see
true
thank you. could you clarify what the input is? not clear to me
the input is just the subscription ID sub_xxxx that you want to cancel
correct
thanks very much wsw, i hope i wasn't too much of a pain
i think that's all for now
cool, good luck