#esiok1986_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/1231970627729100845
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ if you're using an already set up CashApp Payment Method, passing setup_future_usage doesn't sound beneficial. What behavior do you see if you omit both setup_future_usage and mandate_data?
I agree, but when I omit both of these fields API returns 400 error with the following message:
"When confirming a PaymentIntent with a cashapp PaymentMethod and setup_future_usage, mandate_data is required."
Hi there, can you provide that request ID as well where you omitted those parameters?
uh sorry, I've copied the same id 2 times ๐คฆโโ๏ธ Here's the actual id req_VtP2yCMhV1InyO
Right, check this request then - it does not have setup_future_usage
req_Yw7JtWjJhWm9tm
Thanks, looking
Can you test something for me? What if you use the /pay endpoint instead: https://docs.stripe.com/api/invoices/pay
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Do you get the same error?
sure, give me a sec
ok so I used /pay endpoint on the following invoice in_1P8NlKF9R6Nkg8poFsXj81VA
req_NioAqXnH9hruOt
Yeah okay so that seemeed to work
So that can be a workaround for now, it should also work on PaymentIntent confirmation so I'll file that internally as a bug
So if I understood correctly
payment_intents/:id/confirmhas a bug that forbids to complete request with cashapp- for now we should use
/payendpoint as a workaround until the bug is fixed
Yes that's correct. The reason I think this is happening is because the PaymentIntent is generated from a Subscription and thus it automatically has setup_future_usage set. So when you confirm the PaymentIntent that continues to be the case and thus the error, even though you aren't explcitly setting it (so we should ignore it and this should just work)
great, one more question - how do I know when the bug is fixed? Is there a way to get some notification or something?
You can write into our Support team via https://support.stripe.com/contact/login and ask them to keep you updated if you like.
Find help and support for Stripe. Our support site 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.
ok, thanks for your help
Sure