#moustache_api

1 messages ยท Page 1 of 1 (latest)

tranquil citrusBOT
#

๐Ÿ‘‹ 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/1240334861051625532

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

dapper ibex
errant eagle
#

Hello! Hm, nothing is jumping out at me as being wrong, give me some time to investigate...

dapper ibex
#

thank you

errant eagle
#

Just wanted to let you know we're still investigating.

#

We think it might be related to the Customer you used, which has a credit balance, but we're not certain yet. It seems like this request should have worked.

dapper ibex
#

ok, I will remove the credit and try it again

errant eagle
#

If you could try again that would be great. There was also a pending Invoice Item on this Customer that may have been involved, but that's been Invoiced since this request was made.

dapper ibex
#

same problem: req_NuuK3SnQQU23Gt

#

I am happy to make other requests if needed

errant eagle
#

Can you try in test mode with a new Customer? We're still trying to reproduce on our end and haven't had any luck yet, but a test mode request on your end would help us narrow things down.

dapper ibex
#

on it...

#

sorry, I am still working on it

#

req_SRz46hFYAFvanE

errant eagle
#

No worries!

#

Thank you, looking...

#

Does it make any difference if you create a new Customer and use that? Or use no Customer?

dapper ibex
#

I haven't tried without a customer, our form will always have a customer to reference. I will try with a new customer...

#

req_7RregbO0nu5YvD

tranquil citrusBOT
errant eagle
#

Can you give it another try, but omit payment_method_options?

dapper ibex
#

same... req_jTFZVy17WObNew

#

ok, I removed payment_method_types and it went through!

#

they were set to: payment_method_types = ["us_bank_account", "card"]

errant eagle
#

Interesting. We've been trying to reproduce on our end with variations on all of this and haven't been able to get the same behavior you're seeing. These requests should have all succeeded. We're continuing to investigate.

dapper ibex
#

Thank you. Standing by.

errant eagle
#

Would it be possible for you to create a couple of test Payment Intents directly? For both tests set amount to 0 and currency to usd. For one of them also set payment_method_types to card and us_bank_account.

#

We're expecting both attempts to fail, but we're interested in exactly how they fail.

dapper ibex
#

on it...

#

stripe.error.InvalidRequestError: Request req_6fMQLTsuKh4y0L: No such PaymentMethod: 'us_bank_account'

#

oh, I see.

errant eagle
#

Ah, wait, I think we found it...

#

Oh, nope, that wasn't it. ๐Ÿ˜…

dapper ibex
errant eagle
#

Ah, so for that request can you remove payment_method and instead set payment_method_types to an array containing both card and us_bank_account?

dapper ibex
#

yes, that was the last one: req_GP3O8OpUMX7eJh

errant eagle
#

Ah, okay, for the other one can you omit both payment_method and payment_method_types?

#

Only specify amount and currency.

dapper ibex
#

req_PXqDM0p0gUHQI2

errant eagle
#

Thanks! Looking...

errant eagle
#

We've finally been able to reproduce on our end and are narrowing in on the issue.

solar laurelBOT
pseudo acorn
#

Hey @dapper ibex you still around?

dapper ibex
#

always

pseudo acorn
#

lol ๐Ÿ™‚

#

So the issue seems to be the order of the payment_method_types array. Can you try swapping card to being the first in the array?

#

This is clearly a bug on our side (it shouldn't matter)

#

But I think this should unblock you for now

dapper ibex
#

for the checkoutsession or the payment intent?

pseudo acorn
#

Checkout Session

dapper ibex
#

on it...

#

confirmed. I tried it both ways. If bank account is listed first, it fails

#

req_jC2ZJWs6AVu1LR

pseudo acorn
#

It does work with card listed first, correct?

dapper ibex
#

correct

pseudo acorn
#

Yep okay

pseudo acorn
#

We will get that fixed up

#

Sorry about the confusion here

#

But at least this should unblock you for now

dapper ibex
#

thanks, very helpful