#nikita_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/1410702978741960877
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello ๐
Do you have a question?
Hey! yes, I'm not able to show US Bank transfers as a payment method on my frontend for Stripe Connect using Elements
Credit cards and US Bank account work great
How are you integrating the Payment Element?
Are you following this guide: https://docs.stripe.com/payments/bank-transfers/accept-a-payment?invoices=without ?
hmm think so
I get this error when creating the intent for Stripe Connect
and so following that link I don't see which payment type is for Bank Transfers
the link you sent mentioned adding custom_balance which is the error we get above that I just shared
Can you share the API request ID that returns this error?
req_AwgMVpdCiXEzWX
"customer": "cus_Stbh0GC9Zk3qIV",
"payment_method_types": {
"0": "card",
"1": "us_bank_account",
"2": "link",
"3": "customer_balance"
}
}```
If you are manually listing the payment_method_types parameter, you need to also provide the payment_method_options our code snippet shows here
I see, and if I use automatic, if it's enabled everywhere I should see it pop up as an option, right?
{
var customer = await stripeCustomerService.GetOrCreateStripeCustomerByBillingAccountId(billingAccountId);
var client = new StripeClient(configuration["Stripe:ApiKey"]);
var requestOptions = new RequestOptions { StripeAccount = customer.PaymentProcessorAccount.AccountId };
var service = new SetupIntentService(client);
var options = new SetupIntentCreateOptions
{
Customer = customer.CustomerId,
AutomaticPaymentMethods = new SetupIntentAutomaticPaymentMethodsOptions() { Enabled = true, }
};
var setupIntent = await service.CreateAsync(options, requestOptions);
return setupIntent.ClientSecret;
}
Can you share the ID of that Setup Intent?
req_Dc0kSfSoZX4wEO
You can see in the response what we consider valid payment methods for that intent:
payment_method_types: [
"card",
"link",
"us_bank_account",
"cashapp",
],
Let me see if I can find the reasons
yeah, so are we looking for customer_balance?
I thought us_bank_account is both US Bank and Bank Transfers?