#Nepotist - invoice payment method types

1 messages ยท Page 1 of 1 (latest)

vast mango
#

So you can make an invoice update call and modify payment_method_types on the payment_settings has

amber swift
#

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?

vast mango
#

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

amber swift
#

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!

vast mango
#

Glad you figured that out!