#elppypy_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/1345107621354668042
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, I think you could use the SetupIntents and pass the bank account token: https://docs.stripe.com/api/setup_intents/create#create_setup_intent-payment_method under payment_method
Can you test that on your flow please?
@sturdy garden did it work?
1 min, I'll try it
Sounds good
@sturdy garden did it work?
This way I need to also set default_payment_method for the subscription?
I do not know what means sorry, can you reword it please?
The intention is to use this with subscriptions
currently we are letting the subscriptions charge the default payment method from the customer, but with this approach I need to set the token as the payment method for the subscription?
Also, this didn't work as we can see in the request req_9Px1K79FJ4jjVQ
No such PaymentMethod: 'btok_1QxZT1RocT5qGDWxygpYXJI4'
Let me take a look
Ok it needs to be converted to ba_ object: https://docs.stripe.com/api/customer_bank_accounts/create#customer_create_bank_account-source
Can you confirm why you'd want this follow? What integration path are you following?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
What integration path are you following?
This one from Plaid: https://plaid.com/docs/auth/partnerships/stripe/ generates a bank account token, I'm trying to simulate it to see if would fit our usecase
That is owned by Plaid so we would not have much exposure to that.
Since you're using bank token, you'd want to convert that to ba_: https://docs.stripe.com/api/customer_bank_accounts/create#customer_create_bank_account-source
Yes, I'm just testing the flow from the bank account token perspective, which is where is Stripe related
then, use the SetupIntent to conert it to a payment method as you'd be able to pass ba_ objects
i'm trying to create the ba_ but I think there's a problem with Java SDK
from the docs:
PaymentSource paymentSource = customer.getPaymentSources().create(params);
but there's no .getPaymentSources() method available
You might be using a newer version, and since some of these objects are legacy, you might be running into an issue.
Any way to circunvent this issue?
I was trying to unblock you with your current flow, and since Plaid is an old integration it is not a recommended interations. You should use this https://docs.stripe.com/financial-connections/ach-direct-debit-payments instead
The situation is that we already have an ACH verification in our product
We are looking for ways to avoid having a second verification when creating the subscription in Stripe
Which I believe to be the default behavior when you try to create an ACH payment method in Stripe, a verification is triggered automatically
What ACH verification do you have in your product?
We have Plaid for instant verification and Dwolla for microdeposits
What's the Customer ID you're testing this on?
The last test was on this one: cus_RrI3sEvbf0n7De
Hey there! I'll be taking over from my colleague, let me catch up on this thread.
I'm seeing something difference in the API reference docs [0]
Stripe.apiKey = "sk_test_key";
Customer customer = Customer.retrieve("cus_9s6XI9OFIdpjIg");
PaymentSourceCollectionCreateParams params =
PaymentSourceCollectionCreateParams.builder()
.setSource("btok_1MvoS32eZvKYlo2CDhGTErAe")
.build();
PaymentSource paymentSource = customer.getPaymentSources().create(params);
exactly, the line with problems is the last one
Let me double check
All right, please let me know here in this thread if there's a workaround
Hey there sorry for the delays here. This is going to need a deeper investigation, I'm going to trigger a flow that will have our bot send you a DM to create a support ticket that will come right to our team.