#hongda_44496
1 messages · Page 1 of 1 (latest)
hello! is there a reason why you're still using stripe.js v2? I strongly recommend that you migrate to v3
Yes, I also want to migrate. But it will be lots of works. The lib hasn't been updated for more than 3 years...
it's unlikely that we still have any docs on stripe.js v2
😫 Do you have any article to add BECS Direct Debit payments in Australia by using v2?
i don't think that's even supported using v2
Thank you!
We are current using credit card as payment in our system. It used Stripe.card.createToken to get token and make payment.
If we migrate to V3, the credit card payment type will be a paymentElement, and seems it need the clientSecret . But we don't have clientSecret stored in our database for existing customers. How can I get it?
generally, you don't need to save the clientSecret in your DB. your frontend will make a request to your server to generate a PaymentIntent / SetupIntent and return the corresponding clientSecret to your frontend to initialize the Payment Element
maybe take a look at this : https://stripe.com/docs/payments/quickstart to better understand how it works
Oh, the secret is for each operation, it's not for each customer, right?
you can also take a look at which payment scenario you need here : https://stripe.com/docs/payments/more-payment-scenarios
Oh, the secret is for each operation, it's not for each customer, right?
yep, pretty much
Cool, Thank you very much! We will consider to migrate it.
BTW.... our backend Stripe.net is version 19... Which version does it support the BECS Direct Debit payments in Australia feature?
Or you recommend to upgrade to latest (version 41) ?
https://github.com/stripe/stripe-dotnet/blob/v41.26.0/CHANGELOG.md#391170---2022-06-08 - BECS was added in this version of dotnet
Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com. - stripe/stripe-dotnet
if you can, you should just upgrade to the latest version