#Shmarti

1 messages ยท Page 1 of 1 (latest)

errant cypressBOT
exotic rose
pure iris
#

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.

frail basin
#

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

pure iris
#

Hope you're understanding my confusion abit ...

frail basin
#

That's because the default is auto capture

#

Where confirm would move it succeeded and not requires_capture

pure iris
#

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

frail basin
#

Correct

pure iris
#

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            }        })
frail basin
#

Because you aren't passing confirm: true

#

You are just creating, but not confirming

pure iris
#

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? ๐Ÿค”

frail basin
#

Yep

pure iris
#

thank you @frail basin ++