#Nepotist - invoice payment method types
1 messages ยท Page 1 of 1 (latest)
Hello, yes you can change this but you need to set it on the Invoice itself https://stripe.com/docs/api/invoices/update#update_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.
So you can make an invoice update call and modify payment_method_types on the payment_settings has
I tried that already, but that returned an error too: req_wNwzVkZQxNoAZF
Do I need to make a new PaymentMethod for customer_balance and attach that to the customer?
Or how do I replace the PaymentMethod on the invoice?
Apologies for the delay, still trying to figure this out. I think you may need to set the default_payment_mehtod on the invoice to an empty string ""
Or you may have to do that with the payment_method field on the payment intent itself
Can you test out those calls quickly? I have not gotten a chance to check this myself
No problem about the delay! One moment while I try the call out. ๐
Updating default_payment_method on the invoice returned the same error as the first time: req_jFuxYXffyBSKRs
Trying to set the payment_method on the payment intent to "" returned an error also: req_9r34XZ876QUY12
It is okay, I found a work around. I updated the payment_method_types on the invoice and included both "customer_balance" and "sepa_debit". This isn't perfect but it works.
We can consider this issue closed. Thanks for the help!
Glad you figured that out!