#blazenn-_api

1 messages ยท Page 1 of 1 (latest)

modest sapphireBOT
#

๐Ÿ‘‹ 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.

agile zephyr
#

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.

static tide
#

Thanks for sharing the code! Looking into how to retrieve the BankAccount in java

modest sapphireBOT
agile zephyr
#

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?

old crane
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

agile zephyr
#

@old crane
Any luck finding out the issue?

old crane
#

are you trying to implement ACH DD?

agile zephyr
#

Yes

old crane
agile zephyr
#

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

old crane
#

the code you're using is an old and deprecated flow

#

you need to use the new ACHv2 integration that I shared

old crane
#

if you're starting with a SetupIntent then yes

#

but you can also save the ACH DD PaymentMethod while taking the first payment

agile zephyr
#

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

old crane
#

will you be saving PaymentMethods without charging them directly?

agile zephyr
#

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

old crane
#

will you be saving PaymentMethods without charging them directly?
I'm not sure you answered my question

agile zephyr
agile zephyr
#

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

old crane
agile zephyr
#

How is this different then adding us_bank_account? Just being curious?

old crane
#

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

agile zephyr
#

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

old crane
#

it's no longer supported

agile zephyr
#

I am running out of time and need to implement this feature asap. If I go into that route, what will be the issues?

old crane
#

your code won't work

agile zephyr
#

Okay can you share me example java code as a reference?

#

So that I can develop at fast pace

agile zephyr
#

Can you also show me how can I manually add this using stripe dashboard?

old crane
#

you can't add that manually on the Stripe Dashboard

agile zephyr
#

If a user adds this payment method, will it show in stripe in the payment methods section?

old crane
#

yes

agile zephyr
#

And I can run payment using this code:

#

This code is working for credit cards

old crane
#

if you're passing the right PaymentMethodId then yes

agile zephyr
#

Which also means that I can run CRON jobs as well using this code for yearly charges

old crane
#

normally yes

#

you don't need to pass PaymentMethodTypes

agile zephyr
#

Okay thanks for the amazing help, I will be texting in this thread if I got stuck again.

old crane
#

sure let me know if you need any more help