#OneLap

1 messages · Page 1 of 1 (latest)

long vortexBOT
scarlet ember
#

Creating a checkout in setup mode creates a setupintent (not a paymentintent). So there will be no payment intent id. It will generate a payment method id. However, a customer won't be generated automatically I don't think. You'll need to pass the following to ensure a customer is always created: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-customer_creation

rigid prawn
#

Can the "setup intentent" that is returned be used more than once?

We are a Property Management System so when a guest books we need to save their card details then be able to run a charge against the card upon checkin and also at checkout if they have charged incidentals (like mini bar charges or room damages)

#

Is this the correct way to accomplish this type of charge?

scarlet ember
#

Yep that's exactly what a setupintent is for

rigid prawn
#

Awesome I will give it a shot. Thanks.