#Shmarti
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Have you tested this out? I would assume you could be able to follow the same flow we describe here:
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
Hi @exotic rose I basically have this same integration right now, Its just how do I confirm a payment intent that might need 3D authentication using this method? The other docs show how to do on it on the client but not this one.
Hi there
Jumping in as Snufkin needed to step away
Handling 3DS in a manual capture flow is no different than auto capture
You confirm to handle 3DS and then once that is successfully completed the PaymenttIntent transitions to requires_capture
Understood - this documentation shows how to confirm a paymentintent on the client, but its confusing in that it also suggests that confirm = capture because the response is that payment succeeded, canceled or failed instead of paymentIntent confirmed
https://stripe.com/docs/payments/accept-a-payment?platform=ios&ui=custom#ios-submit-payment
Hope you're understanding my confusion abit ...
That's because the default is auto capture
Where confirm would move it succeeded and not requires_capture
oh so in my case, it wont auto-capture since I specified capture_method: "manual" when I created my payment intent correct? Instead i'll get requires_capture which is what I want
Correct
ok thanks.. last question - this is how I create my payment intent, which succeeds but in stripe it shows the status: requires_payment_method Why is that when I provided a customer and their payment method? ๐ค
const paymentIntent = await stripe.paymentIntents.create({amount: data.amount,currency: data.currency, customer: data.customerId, capture_method: "manual", payment_method: data.paymentMethodId, application_fee_amount: data.applicationFee, transfer_data: { destination: data.destinationAccountId } })
ok
so by passing confirm: true either it will automatically confirm returning requires_capture, or the payment intent status will come back requires_confirmation at which point I can use the client STPPaymentHandler.confirmPayment.. method to get the status to requires_capture correct? ๐ค
Yep
thank you @frail basin ++