#vasant-dhatrak_code
1 messages ¡ Page 1 of 1 (latest)
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.
- vasant-dhatrak_code, 1 hour ago, 10 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1251150351697055774
đ Have more to share? Add details, code, screenshots, videos, etc. below.
hi there!
this is covered here: https://docs.stripe.com/payments/sepa-debit/accept-a-payment
i am bit confuse in stripe documentation
let see in sepa_credit_transaction
- create customer
- create source
- attach source
- charge source
this is the old way i already develope
so now after deprecation what is flow step wise
we have a documentation that covers how to migrate away from sources: https://docs.stripe.com/payments/payment-methods/transitioning
i not get clear idea about how i recode for new
if you have some specific questions, I'm happy to help.
see 1st create customer is important
then after creating customer
i need to create paymentIntent
but how can i generate bank account details for customer to pass in paymentIntent
the first question you need to ask is: do you want to use the Payment Element or Checkout Session to collect the payment?
How do you want to accept payment method details then?
Generally either payment element or checkout are recommended
see i code for creating customer
creating source
attach source
and on billing
i charge
Sure
But how do you collect their payment method info
Also you really shouldn't be using sources
That's an older api flow
Which is being phased out slowly
in webhook i handle condition for
source.chargeable
$charge = \Stripe\Charge::create([
'amount' => $amount,
'currency' => 'eur',
'customer' => $custId,
'source' => $sourceId,
'description'=> $invoiceVal->invoice_no,
'statement_descriptor_suffix' => ' - '.$invoiceVal->invoice_no,
'statement_descriptor' => 'gurado - '.$invoiceVal->invoice_no,
'metadata' => [ 'invoice_number' => $invoiceVal->invoice_no ]
]);
You still haven't answered how you collect the bank details
using source id
i am working on old code
Via what surface?
so i need to make it as per new beacuse sources api deprecation
From what surface do you collect bank account details in this old code? You have to have a way for the customer to input their bank details
You said you're not using payment element
So what is it that you use then?
I'm talking purely the client-side ui part
no i have customer basic details so
i create customer
create source for customer
so in new way what step after creating customer
is creating bank details ?
i am not using client-side ui part
i am not using client-side ui part
How do you have their bank details then
creating source return bank details
In new flow you only need to create payment intent
Just follow those steps ^
It walks you through the process
Well Customer and Payment Intent
You still need customer
and what next ?