#diego1367

1 messages · Page 1 of 1 (latest)

quartz copperBOT
civic ice
#

👋

#

So to clarify you are retrieving upcoming Invoice for an existing Sub, correct?

outer current
#

yes, but I am changing some the products of the subscription

#

When I do this, this date stops from being returned

civic ice
#

Hmm but you used to see a next_payment_attempt when doing the same thing?

#

Can you share a request ID where you did this and saw next_payment_attempt as null?

outer current
#

Yes, we noticed this issue a couple of days ago. After checking manually we noticed this value is coming as null. One moment I will give an example

#

req_qqeLnqrh1iXdQ0

#

The subscription has collection_method = charge_automatically

civic ice
#

Hmm interesting. Give me a few to look further

outer current
#

Thanks!

civic ice
#

Still looking. This is tough since can't see past responses for GET requests

outer current
#

Thanks!

civic ice
#

So this is happening across all upcoming invoice requests right now?

#

Or are certain ones still showing a next_payment_attempt?

outer current
#

If I don't make any changes to the products in the subscription it works, but if I remove them and add a new one. Then is missing

civic ice
#

Interesting

#

We haven't been able to repro yet, still trying

outer current
#

You can try creating a subscription with a monthly product, then calculating next invoice with yearly product instead of the monthly product

#

It also happened when moving from monthly to other monthly

civic ice
#

Hmm okay we were able to repro with yearly --> monthly

#

Haven't been able to repro monthly --> monthly. Okay so at this point it is a bit unclear if this is expected or not and may just be a couple edge cases here, though it does seem like a bug to me. This is going to take some deeper investigation on our side and likely going to require us to reach out to our product team so this would be better handled over email. Can you write to our Support team via https://support.stripe.com/contact/login and include specific examples that we can look further into? That would be the best path forward here.

#

Overall the interval change does seem to make sense that there wouldn't be a next_payment_attempt since it would trigger immediate payment. But you are saying in the past that you did see that property populated for the interval change?

#

The monthly --> monthly we would need to look more into for sure as I'm not sure why we would not indicate next_payment_attempt there

outer current
#

Yes, we have actually this functioning in production. Right now, we are having problems with specific customers.

#

I will write the email, is it better if I attach this discord thread in the email?

civic ice
#

Yeah that will be helpful

#

You can link to the thread so we can easily refer to it later

outer current
#

Thanks, I will do it.