#mark_bacs-deferred

1 messages ยท Page 1 of 1 (latest)

violet berryBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

little jackal
#

Hello
US based Stripe accounts can't enabled BACS Debit on platform account..

Platforms outside the UK ... must have the bacs_debit_payments capability enabled
The above callout is to request bacs_debit on the connected account and use destination charges with on_behalf_of parameter

#

does that help clarify?

near walrus
#

We've run into trouble trying to do that as well. We're initializing the Payment Element in Javascript using the publishableKey from the UK connected account, so we can get the Bacs tab to show up in the Payment Element. However, when we try to set up a PaymentIntent using our Platform Account on_behalf_of the connected account (like we've been doing for card charges), our platform account is not able to find the Payment Method, presumably because it was set up using the connected account publishableKey?

little jackal
#

You shouldn't be using connected account's publishable key. You should just be using Platform account's publishable key

near walrus
#

The Bacs tab doesn't appear in the Payment Element when i use the Platform account's publishable key.

little jackal
#

Can you share an example PaymentIntent you've created that you're using to render PaymentElement?

near walrus
#

we're rendering the Payment Element like

var elements = stripe.elements({
    mode: "payment",
    currency: 'gbp',
    amount: 50,
  });

where the amount is actually variable (we use it for custom donations). We're then creating the PaymentIntent after the submission, which is what we've been doing for Card payments up until now.

#

I did see in the docs that PaymentElement can be rendered using a PaymentIntent to start, is that the only way to make Bacs work?

little jackal
near walrus
#

Ah, yes! I didn't see those docs before, that allows us to render the PaymentElement with the Bacs tab using the platform's publishableKey. Thanks for the help, this allows us to move forward for now.

little jackal
#

Great! Happy to help ๐Ÿ™‚

violet berryBOT