#Groovy Dhruvy
1 messages · Page 1 of 1 (latest)
Capture mode can be set on Payment Intent. You should find your code where it creates Payment Intent and modify capture_method to manual: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-capture_method
yes but i don't know where to edit the code, like i know what to change, not how to get there
I'm not too sure if I get you. Could you share the code where you create the payment intent?
so if i create a product and share it, i want to make sure i can look at the transaction before capturing the funds
Tell Stripe to authorize only
How do you integrate with Stripe currently? Are you using Payment Link, Checkout Session or Payment Element with Payment Intent?
create a product then share the link
This is Payment Link then. It's only possible to create a Payment Link with manual capture using API (not in dashboard). You will have to create a payment link using API with the steps here: https://stripe.com/docs/payments/payment-links/api
In Payment Link creation at step 2, additional parameter payment_intent_data.capture_method should be set to capture: https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-payment_intent_data-capture_method
This will allow Payment Link to authorise the payment only, and capture manually later
will i have do that for each payment link?