#anh3608-PaymentIntent

1 messages · Page 1 of 1 (latest)

slow canopy
visual bolt
#

yes i tried that but received the following error

#

"message": "You cannot provide both automatic_payment_methods and payment_method_types."
"type": "invalid_request_error"

slow canopy
visual bolt
#

how do I do that when updating a payment intent?

#

i tried to set automatic_payment_methods.enabled = false but doesn't work

#

Please take a look at pi_3LVh4cFjgDuKhVRV0dyLJDOb

slow canopy
#

I think you'd need to create the PaymentIntent without the automatic payment method

visual bolt
#

so it's not possible to change it once automatic payment method is set via creating payment intent

#

My application requires to show all available payment methods but there are some scenario which require me to update the payment intent to show card option only afterward

slow canopy
visual bolt
#

ok thanks. Do you think this is something that your team can consider to implement in the future?

slow canopy
#

I'm testing one more thing to confirm, just give me a moment please

visual bolt
#

thanks

slow canopy
#

Confirming this is not possible, you'd create the PaymentIntent payment_method_types {'card'}