#lml-checkout
1 messages · Page 1 of 1 (latest)
Hi @violet onyx! Could you clarify what you are trying to achieve?
To save a card for later using Checkout, you can use the mode:"setup" option https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-mode
To charge the customer now and also save their card for later, then use the setup_future_usage option https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
OK basically I want to show a checkbox and user can check whether to save detail or not
Got it! Then I think you want the feature "Link with Stripe". This can be enabled in the dashboard in: Settings > Checkout and Payment Links. You can learn more about this feature here: https://stripe.com/docs/payments/checkout/customization#link-with-stripe