#7ckngMad
1 messages · Page 1 of 1 (latest)
Can you clarify the issue?
Yes sure
Before we had a product which was with trail period of 7 days and charges 29.99
now we have a new product of 4.99 which is a monthly subscription with no trial period
i created the new product on the stripe dashboard and used the price_id
basically my api flow is
i create a customer
then i create a subscription with the price id
then i confirm the setupIntent if subscription returns pendin_setup_intent as true
I am really sorry if i couldn't explain properly
but for the before product it works fine but for the new product it seems just replacing the price_id is not working
You'll need to share some object IDs or request IDs that illustrate the issue (sub_xxx, req_xxx)
this is the code if it helps in any way
Not really, no. I'd need some object IDs
Give me a min
The price_xxx actually
Ok, and the issue is it's not immediately charging?
basically from the event log i can see that it shows attempted to subscribe then got incomplete
Ok, that sounds expected if the user doesn't complete the flow by providing payment info: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#collect-payment
Which sub_xxx are you looking at?
If there's no trial period, then you need to collect payment info before the subscription will transition to active
Hi that guides look very helpful from my quick look, will this thread be open so that i can later come and let you know if something went wrong or at least thank you fro your help?
sure!