#NewtReyes
1 messages ยท Page 1 of 1 (latest)
Hi @compact gorge
Hi ๐
You would likely want to use our deferred intent creation flow. That will create the PM before the PI is created so you can inspect the PM details to adjust your fees
It is a substantially different approach so it's work reviewing. You can also perform server-side confirmation of the Payment Intent after collecting the payment method data and update the fee when the PM data comes back to your server
In the first scenario, I can see it is using the payment element. In our case, we've been using the card element. Would it be possible to use that flow with the card element? What about the second flow that you sent me?
I think the second approach (2 step confirm) would make more sense but all our docs will reference the Payment Element since it has replaced the Card Element.
Yeah. We have a problem with Payment Element and US Bank Accounts, that's why we haven't used it.
I think the second approach (2 step confirm) would make more sense
Yeah, I think so too
Okay then I think the 2 step approach should work for you
I'm not sure what you mean here
You would use the Card Element to create a Card payment method and send that to the server instead of the Payment Element payment method
Will this flow work with the card element
You would use the Card Element to create a Card payment method and send that to the server instead of the Payment Element payment method
Yes
That's what I want to do
Are we certain that will work
When the customer submits your payment form, you can create a PaymentMethod to send to your server for additional validation or business logic prior to confirmation.
This step in the flow you would just pass the Card pm from the Card Element back to the server
Great, happy to help ๐
These kind of flows (update the amount based on the PM) are what the 2 step confirm process was designed to solve
Awesome
We have been using a setup intent and a payment intent to mimick this
but we have had problems with double 3DS authentication
:/
I think this could solve our double 3DS authentication problems
That is one of the goals so I think it will
Awesome