#ocp_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1347146947781201962
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
For example, here are two recent new customers that purchased a subscription:
- cus_RtG7zazKUWKBhw -- one who had the payment method attached to his account
- cus_RtFYfOG0yRLXzJ -- and one who didn't have it attached, and was affected by the above issue
Both of them used the same type of payment method (Apple Pay with Visa card), so the issue is not related to this.
You can actually set the used PaymentMethod on the Subscription automatically, when you use payment_settings.save_default_payment_method: https://docs.stripe.com/api/subscriptions/create#create_subscription-payment_settings-save_default_payment_method
But checking why this was happening...
Did you update the Stripe API version recently by any chance?
No, we haven't deployed any changes recently
We have it fixed in our codebase to
stripe.api_version = "2020-08-27"
This is indeed strange. I will turn this thread into a support case so my engineering team can take a closer look:
Hello @stiff crypt, we have sent you a direct message, please check it at https://discord.com/channels/@me/1347154908465463368
- 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
Ok, thanks
In the meantime you could use the parameter I shared earlier, hopefully this will mitigate the problem.