#linkatif-checkout-setup
1 messages · Page 1 of 1 (latest)
yes
I want to hold payment of customer and charge that amount later when order is approved
am using session::create and redirect to stripe checkout page
with setup mode you dont specify an amount, it is not the same as auth & capture
if you want to use auth & capture you can, but that would be mode=payment with manual capture:
https://stripe.com/docs/payments/capture-later
Separate authorization and capture to create a charge now, but capture funds later.
with checkout you would use payment_intent_data[capture_method]=manual
setup mode is for saving card details for a future payment
Learn how to save card details and charge your customers later.
no i don't want to save the card details
I just want hold of payment on card and charge when order is approved
ok, then setup mode is not what you want
you want payment mode, with manual capture
(be aware you must capture within 7 days or the auth is refunded)
ok got it let me try this thanks for your help
there is one issue
https://github.com/stripe-samples/placing-a-hold
in this it's using element stripe method for checkout like taking card on his website I want to redirect user to stripe checkout page right now i am using
$checkout_session = \Stripe\Checkout\Session::create($payment_array);
I don't want to take customer credit card on my website I want to redirect user on stripe checkout page for security reasonse
@frozen goblet here?