#Edofo-payments
1 messages · Page 1 of 1 (latest)
maybe https://stripe.com/docs/payments/save-during-payment helps and the section at the bottom showing how to charged a saved card?
I go to check this 😉
It's not good, because i would like to it was captured
https://gyazo.com/e13a9fbbdbfbf2b511c740bcf880e846
do you have a specific question about code?
sorry that screenshot doesn't really tell me anything
In fact, I want to create a payment but capture it without going through 3d secure or others... Like an auto recharge if we exceed the mobile plan
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
that would be charging a card that you previous saved then, for which the code is in the link I shared earlier. We call it an off-session payment.
that's the code for saving the card and charging it now while the customer is on your site entering the details, which does require 3D Secure. It's only the future payments later against the saved card that might not require 3D Secure.
Yes but when I create payment with automatic_payment_methods the status was "status": "requires_confirmation",
do you have a request id I could take a look at?
This : pi_3Lc7T9Gs6Czbq4l10XqbQfUh ?
this is because you haven't passed confirm: true as a param
Yes but when I passed confirm: true i need 3d secure
"status": "requires_action",
you can't avoid 3DS
if the bank deems it necessary
there's no way to avoid it
one thing that might help
is using off_session: true
instead of setup_future_usage: "off_session"
which basically tells the issuing bank that you are doing an off_session payment
that could make the issuing bank exempt the authorization from 3DS but could also ask for 3DS so you need to be prepared for both scenarios
Ok thank you very much 😉