#blazenn-_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1329728510176264244
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I reinstalled the library like 2 - 3 times, had a live converstaion with the live agent on stripe help but nothing is working for me.
Thanks for sharing the code! Looking into how to retrieve the BankAccount in java
In https://docs.stripe.com/api/customer_bank_accounts/retrieve:
We show the cURL request because this method is currently unsupported in the Java client.
Could you share why you like to retrieve the Bank Account?
Hi sorry for late reply.
I am creating a bank account and then I need to verify that bank account by doing micro transaction as you can see in next step.
So you are saying in stripe documentation, it is wrong written for the java code?
๐ taking over for my colleague. Let me catch up.
@old crane
Any luck finding out the issue?
are you trying to implement ACH DD?
Yes
what you're implementing with tokens and sources and bank accounts is a deprecated implementation https://docs.stripe.com/ach-deprecated#verifying
instead you should be using https://docs.stripe.com/payments/ach-direct-debit
Thanks for the help @old crane but here is my query
I want to add bank account of customers
And I want to do yearly charges against it
Like yearly subscription through payment intend
the code you're using is an old and deprecated flow
you need to use the new ACHv2 integration that I shared
This one?
if you're starting with a SetupIntent then yes
but you can also save the ACH DD PaymentMethod while taking the first payment
okay thanks now let me share you the whole description with you and you tell me how do I implement it using stripe
So the use case is that
I am assigned with a task that users need to do subscription. Users can pay through bank account or credit card. Once the payment method is selected, then a transaction will be done, I will share my transaction code that charges the user
Users can add multiple credit cards and bank accounts
I have done the credit card part
And it is adding credit cards
I also added a yearly cron job that fetches the default payment method of user and does yearly charge against it
will you be saving PaymentMethods without charging them directly?
Yes
I have saved their payment method ids in my db
Sry
my bad
I mean I saved their customer id
in my db
and I use stripe API to fetch customer's payment methods
And then I charge them
will you be saving PaymentMethods without charging them directly?
I'm not sure you answered my question
I am saving customer Id
and from that customerId I use stripe to get default payment method
So answer would be no
The above picture is the code for making payment
ok so then you would use SetupIntents to save the PM first https://docs.stripe.com/payments/ach-direct-debit/set-up-payment
How is this different then adding us_bank_account? Just being curious?
ACH is us_bank_account
the only difference between your code and what I shared is that the one you're using is an old and now deprecated integration flow
If I use the old code, what is the draw back?
The thing is
I already spend a lot of time on it
Now implementing on your solution would require more additional time
it's no longer supported
I am running out of time and need to implement this feature asap. If I go into that route, what will be the issues?
your code won't work
Okay can you share me example java code as a reference?
So that I can develop at fast pace
Can you also show me how can I manually add this using stripe dashboard?
you can't add that manually on the Stripe Dashboard
If a user adds this payment method, will it show in stripe in the payment methods section?
yes
if you're passing the right PaymentMethodId then yes
Which also means that I can run CRON jobs as well using this code for yearly charges
Okay thanks for the amazing help, I will be texting in this thread if I got stuck again.
sure let me know if you need any more help