#venkateshjsoft

1 messages ยท Page 1 of 1 (latest)

amber dragonBOT
frozen notch
#

๐Ÿ‘‹ How can I help?

tacit nebula
#

Hi

#

req_1y4iU8uhDpqhCU

#

this is my request id

#

when I invoke api im getting status requires_payment_method

frozen notch
#

This is expected. What status do you expect and why?

tacit nebula
#

but im attaching the payment methods

#

let me check again

frozen notch
#

With Payment Intent API, the request should explicitly have payment_method set in order to use the payment method saved on the customer

#

Stripe doesn't use the saved the payment method on Customer in Payment Intents API unless payment_method field is set

tacit nebula
#

I understand

#

now I attached the payment method and im getting response "requires_confirmation"

#

what would be the next step to confirm?

#

im making another api call to confirm the payment

#

req_wSynZt4m0gbYD0

frozen notch
tacit nebula
#

but when I give confirm=true for ideal payment it was giving errror

#

thats why I changed the code to confirm by making another api call

frozen notch
#

when I give confirm=true for ideal payment it was giving errror
Can you share the request ID (req_xxx) with the error?

tacit nebula
#

req_zgQqHmC46S0LW1

#

PaymentMethods of type 'ideal' cannot be saved to customers.

frozen notch
tacit nebula
#

we need to charge our customers immediately and also after 15 days/30 days based on the renewals using ideal

#

if I use setupintent, is it possibel to charge them immediately

frozen notch
tacit nebula
#

Thanks

frozen notch
#

No problem! Happy to help ๐Ÿ˜„

tacit nebula
#

quick question again

#

sorry to bother yo u again

#

our frontend is not ready, im working on the api part to create payments for ideal, card, sofort etc

#

is it not possibel to test the payment without frontend?

#

I was able to test card, but for ideal you said server side is not possible

frozen notch
#

Your frontend should be ready to collect the ideal details eventually