#Danish.CS()
1 messages · Page 1 of 1 (latest)
hello! it sounds like you're confirming the PaymentIntent off-session - since it's already successful, there's nothing further else to be done
I see. I was getting this "requires_payment_method", so I used the customer's payment method and the customer id to complete creating the charge.
When does the "charge.succeeded" webhook fire in this case? I'm already catching it to update my database
when the PaymentIntent moves into succeeded, the charge.succeeded will fire
So since the payment intent returns the status: 'succeeded'. This should have fired the charge.succeeded event already? Does this means the destination charge is done at this point?
yep, that's correct
@oak forum lets continue the conversation in the same thread
yes please
Copying your question over for reference
We have these capabilities checked for the connected Express account. We wanna show a bank transfer option in the stripe elements in order for the customer to pay via bank transfer. I'm sending "customer_balance" as a payment_method_type. Anything else I need?
you're doing destination payments right? Are you using on_behalf_of?
yea I'm using destination payment. Also setting on_behalf: connected account' s id
However, we also wanna bring an option for the bank transfer in the Stripe Elements ( we're currently showing card and ach there).
then yep, give it a try - try creating a PaymentIntent with automatic_payment_methods.enabled=true and initialize the Payment Element with that PaymentIntent. See if the bank transfer shows as an option
let me know if it doesn't show (share the PaymentIntent id too)
it doesn't show
id: 'pi_3NdjgeR1PpJDkQ6c0AlbOvWv',
payment_method_types: [ 'card', 'link', 'us_bank_account' ],
i can only see card and us bank elements
On a side note, you're creating a direct charge, not a destination charge.
that's correct
I've been able to show and get the card and us bank account payments from the Stripe Elements. Just want the bank transfer option to also show among the elements
gimme a while to look into this
alright sure, thank you
hrm, can you try passing in customer_balance, and all the other payment method types you want to show manually in payment_method_types instead. You'll need to pass in a customer id too in order to display bank transfers as a payment method option
for context, bank transfers (customer_balance) is not available as a part of automatic_payment_methods yet, so you'll need to explicitly specify it in payment_method_types. It's on the roadmap but no specific timeline that I can share at the moment
Yea I actually tried that after following a guide "Accept a bank transfer" and getting this error "No such customer: 'cus_****'"
is it working for you now?
it's not, i'm getting this "No such customer: 'cus_***"
i suspect it's because you didn't create the customer on the connected account
Yea I created it on the platform account and using it's id
you need to create the customer on the connected account. To do so, you would use the StripeAccount header when making the create customer API call
I see, and what should be my params? does it require a source?
when doing a direct charge, the charge is actually created on the connected account. Similarly, all objects used in the direct charge must also exist on the connected account
Also, is it ok to create a customer on the connected account right before creating the payment intent on the connected account?
yep, that's fine
alright, when I create the customer on the connected account, what do I need to send as params?
it's up to you really, you just need to make sure you include the StripeAccount header
got you, ok let me try that then
thank you
alright i got it to show finally
but when I click on it, it renders an email field
is that what it's supposed to show?
Also, paymentIntent status : requires_confirmation
you can key in your own email and submit and see how it works
i'm assuming you already implemented the confirmPayment? https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-submit-payment
yes, we have been accepting payments the same way with card and ach
oh yeah, sorry, i missed out on this part : https://stripe.com/docs/payments/bank-transfers/accept-a-payment?platform=web&invoices=without#element-create-payment-intent
for the customer_balance, you would want to specify the funding_type and bank_transfer too
payment_method_options: {
customer_balance: {
funding_type: 'bank_transfer',
bank_transfer: {
type: 'us_bank_transfer',
},
},
this guide is probably what you'll want to refer to for more details about bank transfers : https://stripe.com/docs/payments/bank-transfers/accept-a-payment?platform=web&invoices=without
yes I followed that guide and I did include all those properties as well
So eventally when i completed my payment with bank trasnfer, it's hsowing an Iframe and asking me to use the refernece mentioned above when I pay my bank tranfer.
does that mean this is an offline bank transfer then?
yes, this is an offline bank transfer
this is a ACH bank transfer. were you looking for a ACH bank debit instead perhaps?
I was actually looking to do a wire transfer online
Since ACH has a limit, we wanted to do an online wire transfer
by wire transfer, do you mean SWIFT?
yes sort of, but isn't SWIFT Canadian?
iirc correctly SWIFT should be one of the generic methods of transferring funds, usually cross border though
but anyway
sorry, but i'm not super familiar with the US banking system, i believe a wire should work too, but maybe you would want to reach out to https://support.stripe.com/contact/email to check on that to be sure
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
is a "wire" what you do for international transfers too?
it can be both domestic and international
It'll be like ach bank-to-bank, the sender needs to provide the recipient's bank info like account number, routing, email etc to do a tranfer the money electronically
ah, okay, that's definitely supported then, but keep in mind the pricing is different for wires : https://stripe.com/en-gb-us/pricing/local-payment-methods
also, even though international wires can be received, Stripe won't be able to refund an international wire. You'll have to refund out of band
I see, so is there a dedicated payment method for the stripe element that i can use?
are you asking about dedicated payment method for wires? there's no dedicated payment method for wires, it's all covered under bank transfers
oh ok, so yea this is what we need , but USD Bank Transfer takes me back to the link that I have been following to implement the bank transfer. But it's always offline right?
it's always offline yes, i don't really quite get what you mean by an online bank transfer?