#softnet-api-error

1 messages · Page 1 of 1 (latest)

hollow inletBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

bitter hill
#

👋 How can I help?

thin cedar
#

Hi

#

There is a payment intent which was failed before

#

now I want to modify the payment intent to support additional payment methods

#

your team suggested me to use update payment intent method

#

but its failing

#

setup_future_usage cannot be used with one or more of the values you specified in payment_method_types. Please remove setup_future_usage or remove these types from payment_method_types: [" card"].

#

im getting this error

bitter hill
thin cedar
#

req_HYUhCmz7cDYZRD

silent sphinx
#

hi! I'm taking over this thread.

#

that's normal, since ideal doesn't support setup_future_usage

#

so for this to work you should remove ideal

thin cedar
#

I want to give user ablity to choose ideal also

#

in that case shall I remove setupfuture usage?

silent sphinx
#

give me a few minutes to look into this.

thin cedar
#

sure

#

do you have any update?

silent sphinx
#

sorry Discord is busy, having a look very soon.

thin cedar
#

so what can I now?

#

why this api returns an error

silent sphinx
#

looking into it

#

give me a few minutes to reproduce this on my end

thin cedar
#

sure

silent sphinx
#

I think I found the issue

#

you set payment_method_types: [ "ideal", " card" ] with an extra space before card.

#

can you try removing that space?

#

so it should be payment_method_types: [ "ideal", "card" ]

hollow inletBOT
#

softnet-api-error