#jitendra6425
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jitendra6425, 1 hour ago, 14 messages
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements you should follow this guide. When creating a PaymentIntent, include only card and sepa_debit in its payment_method_types
ok let me try and i will get back to you. please don;t close/lock this chat. other i have to reinitiate everything
i hope it will fullfll my all above requirements
https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment I noticed that you want to defer the Intent creation, in this case, you should use this guide
Also looks like you want to save the payment method. remember to set a customer, and also set setup_future_usage: 'off_session' when creating a payementIntent. More details in https://stripe.com/docs/payments/save-during-payment?platform=web#web-create-payment-intent
i want to save payment method only in case of SEPA so next year i can use them for recurring payment. for cards payment i don't mind it
If i didn't create customer then Stripe is automatically create a customer, right? even i not want to create customer or checkout as a guest
No, Stripe won't create a customer for you.
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-sepa_debit-setup_future_usage if you want to save sepa_debit payment method only, you should set the setup_future_usage in payment_method_options[sepa_debit]
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
First link you have sent https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment which is creating payment intent before submit payment form. i want to create payment intent only if customer click on sbumit after filling all card/sepa details
Check the second link
ok in second link may i know cusotmer has selected Card or SEPA while creating payment intent on server side api?
because if sepa selected then i will create customer and save payment method
You can listen to https://stripe.com/docs/js/element/events/on_change?type=paymentElement#element_on_change-event to get notified on what payment method you customer has selected
ok