#fundrise_evan
1 messages · Page 1 of 1 (latest)
hello again!
Hello! To answer your question: I think payment_behavior is always allow_incomplete by default, unless you're on an API version before 2019-03-14
Okay, I'm definitely using a more recent version of the API.
When I create a subscription with a free trial that will automatically charge for a customer with a payment method that will be invalid once charged, I never see the subscription go into an incomplete status. Instead, the Subscription winds up in past_due. Am I missing something?
When I create a subscription with a free trial that will automatically charge for a customer with a payment method that will be invalid once charged,
This is really difficult to parse. Can you rephrase and give me bullet-point steps of what's happening?
very fair. can do
- create a customer
- their payment method will be invalid after they are billed (credit card number
4000000000000341
- their payment method will be invalid after they are billed (credit card number
- create a subscription with:
- 30 day free trial
- collection_method = charge_automatically
- Customer from step 1
If I run this Subscription using a Test Clock, I see the subscription status go from trialing -> active once the free trial expires. It looks like Stripe attempts to process a payment at this point.
However, the payment fails and the subscription ends up in past_due
I would have expected the subscription to be incomplete since the initial payment failed
Does that make sense and are you able to shine some light on the situation?
okay, yeah. Thank you so much for that. One last thing: can you provide an example Subscription ID I can look at that shows this happening?
is a dev ID okay?
Taking a look now
Yeah, that seems off. I need to dig a bit more and circle back on this one.
Thanks, I appreciate it!
I think this is a bug with how Test Clocks interact with that specific test card, which unfortunately means I need to upstream to the product team and file a bug report.
Are you able to create a support thread and mention that you chatted with two-shoes on Discord so I can attach you to the ask?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I started a support thread. Thanks for all your help!
Thank you! I'll grab it from the frontline support folks and get back to you once I have an update
Thanks a bunch! Do you think I would have any luck testing my workflow by setting everything up except with a 1 day trial period and then checking what state the subscription is in tomorrow? Or does this seem like the bug is just related to test clocks?
At first glance it seems like a bug just related to test clocks, but I won't know for sure until I get feedback from the product team. If you do test this in the way you described above, feel free to pop back into the thread and tell whoever is here to ping me and let me know what your results were