#radhika_18925
1 messages · Page 1 of 1 (latest)
Hello,
I want to create subscription, which automatically cancel after some charges...example
after 5 charge from customer, i want to finish subscription from merchant side not customer side for specific product which they buy
so, can you elaborate usage of this variable which we set when we create a price :
recurring and it's child attributes
after 5 charge from customer
what do you mean by that? is that 5 billing cycles?
yes,..after 5 billing cycle
Hello
sorry my bad I thought I sent you the response
I might have sent it in the wrong thread
let me double check
yes I did 🤦 my bad
you can use Subscription Schedules with this https://stripe.com/docs/billing/subscriptions/subscription-schedules
and use the iterations in the phase to choose how many months https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases-iterations
and use https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-end_behavior cancel as the end_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.