#fundrise_evan

1 messages · Page 1 of 1 (latest)

upbeat radishBOT
real urchin
#

hello again!

deft flare
#

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

real urchin
#

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?

deft flare
#

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?

real urchin
#

very fair. can do

#
  1. create a customer
    • their payment method will be invalid after they are billed (credit card number 4000000000000341
  2. 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?

deft flare
#

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?

real urchin
#

is a dev ID okay?

deft flare
#

dev ID?

#

I'm not sure what that is

real urchin
#

sorry, maybe not relevant

#

here's an ID: sub_1M4q4SFYG4bVri12istdtWr8

deft flare
#

Taking a look now

#

Yeah, that seems off. I need to dig a bit more and circle back on this one.

real urchin
#

Thanks, I appreciate it!

deft flare
#

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?

https://support.stripe.com/contact/email

real urchin
#

I started a support thread. Thanks for all your help!

deft flare
#

Thank you! I'll grab it from the frontline support folks and get back to you once I have an update

real urchin
#

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?

deft flare
#

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