#Gurpreet-sepa
1 messages · Page 1 of 1 (latest)
Hi! I'm not familiar with laravel cashier, but here are our doc to implement SEPA: https://stripe.com/docs/payments/sepa-debit/accept-a-payment
thanks dear, let me check with this
if i got any issue, will ping you
can you clarify exactly what you are trying to do? do you want to charge your customers with the SEPA payment method?
Yes i want to Charge using card and SEPA methods
but i have added option for clients to add multiple cards and SEPA debit on stripe
so that he/ she will only select the card and charge without adding details every time
Got it. So what exactly is your question?
i want to add details on stripe, using customer id
I'm sorry I don't understand, what do you mean by "details"?
customers account details
like when customer register on our platform and i'll provide the options to add card and SEPA details, so that when we charge, it'll automatically debit from account
so you want to save a SEPA payment method to a customer, so you can use it later?
yes
this is explained here: https://stripe.com/docs/payments/sepa-debit/set-up-payment
Hi, I'm taking over for @golden cipher
hello
you should be using https://stripe.com/docs/js/setup_intents/confirm_sepa_debit_setup instead of confirmSepaDebitPayment
line8 instead of confirmSepaDebitPayment, it should say confrimSepaDebitSetup
did it work?
yes
let me know if you need any more help
Sure let me first mange the things
for get add payment methods
its for card
$user->paymentMethods();
for sepa
$user->paymentMethods('sepa_debit');
how can i got both in 1 array?
unfortunately you can't
what do you mean by card name?
card name that i have used when adding new card
the cardholder's name?
do you mean this https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details-name ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes but i want this from
$user->paymentMethods();
sorry I don't get your question
you could use the field I mentioned above https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details-name
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
k
can you expand a little more on what fields these would be, where they would appear, etc?
I don't understand the question I'm afraid. What is that a screenshot of exactly?
i want to add address, city , country etc fields
add them to what exactly?
if you have some strings for an address, that you collected from our own HTML form, you can pass it into billing_details : https://stripe.com/docs/js/setup_intents/confirm_sepa_debit_setup#stripe_confirm_sepa_debit_setup-with_element-payment_method-billing_details (where you already have the name and email, you can pass address there).
k