#venkateshjsoft
1 messages ยท Page 1 of 1 (latest)
๐ How can I help?
Hi
req_1y4iU8uhDpqhCU
this is my request id
when I invoke api im getting status requires_payment_method
This is expected. What status do you expect and why?
Since there is no payment method set in https://dashboard.stripe.com/test/logs/req_1y4iU8uhDpqhCU, the payment status is expected to be in requires_payment_method status for you to collect the payment information
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
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
You may include confirm: true in the creation request, so that additional confirm request is not required. This is the guide about how using a saved payment method: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method
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
when I give confirm=true for ideal payment it was giving errror
Can you share the request ID (req_xxx) with the error?
iDeal for future usage should be created using Setup Intent: https://stripe.com/docs/payments/ideal/set-up-payment
OR through iDEAL elements:
iDeal paymet method can't be created by server: https://dashboard.stripe.com/test/logs/req_CY17mmdkNX7Fbh
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
If you want to charge to ideal immediatly and save the payment method, you can follow this integration guide: https://stripe.com/docs/payments/ideal/save-during-payment
Thanks
No problem! Happy to help ๐
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
You can set the pre-created payment method ID with server API while developing the frontend: https://stripe.com/docs/payments/ideal/set-up-payment?platform=web#test-your-integration
Your frontend should be ready to collect the ideal details eventually