#maayanvia
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_xUfw1tHPsIdzmA: When confirming a PaymentIntent with a paypal PaymentMethod and setup_future_usage, mandate_data is required.
thanks !
It's because you used setup_future_usage: "on_session",
Are you required to use this?
the user will be present when he make the charge. so i need to declare on session
You don't need to use this parameter at all, if you're not planning to set up future usage.
Then the error will be solved.
i am. i want to save it's detailed for future usage .
but he will be present. i don't want him to type all over again his account details
This will not pre-fill the Payment Method details.
What are you trying to achieve, on the high-level, actually?
at the beginning the user will add his payment account i will save the payment method id for future usage.
when i'll need to charge the user (he will be on_session) i will create a payment intent using the paymentmethod id i saved and charge him
You can use the setup_future_usage: "off_session" for this, which will mean the customer won't need to complete 3DS. "on_session" is not used that often.
In any case, you will need to provide the mandate for it then: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-mandate_data
there are some legal documentation and limitation i should be awae of using the paypal off_session
You can read about it here: https://stripe.com/docs/payments/paypal/set-up-future-payments
thank you
Happy to help.