#sunnylbk
1 messages ยท Page 1 of 1 (latest)
Hello, can you send me the ID of an invoice that you are seeing this on (it is safe to share invoice IDs)
in_1NnLvLFDHhS1SIerafjnCYHT
I'm seeing errors in my developer console for this but am not immediately sure what is causing them. Still looking and will get back to you
Do you know about how long you have been seeing this issue? And did it happen after a code change or did it just pop up out of the blue?'
Started seeing this like 30 min ago, there was a change in the code where we were passing currency in the invoice and line items during creation
So it looks like this is partially coming from wechat pay being available as a payment method on the invoice but we definitely should not be erroring out like this. It looks like this may be a bug either in what payment method types are included on the invoice or on how the page is handling them.
I will consult my colleagues on this and get back to you
Gotcha, good to know. So the issue may be more with our payment method type calculation for the invoice. Still looking in to this and will get back with what we can find
Hey @dense crater we've identified the issue on our side and are working to resolve it. You shouldn't need to change any code on your side to fix this as far as I can see. For testing right now, you may want to temporarily specify payment_method_types: ['cards'] when creating these invoices if you are only trying to test with card payments https://stripe.com/docs/api/invoices/create#create_invoice-payment_settings-payment_method_types
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And thank you for flagging this!
๐
Feel free to test again with that Invoice
Let us know if you run into any further issues
Card form is working now. But wechat option is showing up, we did not enable it
You would need to turn that off in your Invoice settings.
For that specific Invoice you would update the payment_settings.payment_method_types (https://stripe.com/docs/api/invoices/update#update_invoice-payment_settings-payment_method_types) if you don't want it to show up.
But for future ones your Invoice settings at https://dashboard.stripe.com/settings/billing/invoice control that
Got it. But, I wasnt setting any payment method types specifically for this invoice.
Is this a result of this invoice being created earlier to the issue getting fixed?
Right that means it falls back to your Dashboard settings for the PMTs if you don't explicitly set any in your Invoice creation request.
That is how it works regardless of the issue that you experienced
Yes, in the dashboard, it's off, as here, #1148979586118451302 message
That's not the right page in the Dashboard
See my link above
There is a different Dashboard settings page specifically for Invoices
Ah I'm sorry. Actually this is due to your Connected Account
Since you are using on_behalf_of
It is their Invoice settings that dictate this if you don't specify payment_settings.payment_method_types
Mostly in the flow you are using you likely do want to specify the payment_method_types that you want to support unless you want to leave that in control of your Connected Account(s)