#ingridwong

1 messages ยท Page 1 of 1 (latest)

tulip ginkgoBOT
shadow solstice
#

Hi ๐Ÿ‘‹

For question 2: Yes this is possible. It will create the Financial Connect on the Connect Account.

For question 1: I'll need to dig a bit more

vernal tundra
#

For question 2: Will it create the Financial Connection Account on the connected account if the Customer object we pass in is on the platform account? What we've found experimenting with Checkout is that, if we pass in a Customer in the platform account AND the stripe_account header for connected account, the Checkout Session and the subsequent PaymentMethod objects are all created in the platform account. So we're essentially just using the stripe_account: CONNECTED_ACCOUNT_ID header to apply branding on the Checkout Session. Is this accurate?

shadow solstice
vernal tundra
#

Give me a second

#

req_MQGcl998BCoRkN

shadow solstice
#

Oh, this is not using the Stripe Header. It's using on_behalf_of. This will use the branding of the Connect Account but still create all the records on the Platform.

vernal tundra
#

oh! we went through different iterations and I got confused. Sorry about that

#

so am I able to also pass in the on_behalf_of param when creating the FinancialConnection Session?

shadow solstice
vernal tundra
#

I see. But if I need to charge the PaymentMethods from my platform account, is there a way to clone them?

#

Basically I want the connected account's branding, but still charge these payment methods and have the funds flow into the platform's account balance

indigo shore
#

๐Ÿ‘‹ stepping in as Snufkin needs to step away

vernal tundra
#

Hi! No worries

indigo shore
#

Okay so sounds like currently you are creating Checkout Sessions on your Connected Accounts

#

So that you get their branding

#

And you are collecting ACH Debit accounts to do this

#

And you want to be able to check their balance?

vernal tundra
#

yes

vernal tundra
indigo shore
#

Ah okay. You had said Stripe Account Header before which would insinuate a Direct Charge (not OBO)

vernal tundra
#

Yeah I got things wrong, our current implementation is just using on_behalf_of and not the Stripe Account header

indigo shore
vernal tundra
#

we are not

#

do we just need to pass in balances?

indigo shore
#

If you want to be able to check balances, then yes.

vernal tundra
#

Okay, and that's because by passing in that param into the Stripe::Checkout::Sessions.create request, once the end user completes the authentication flow, will that create a PaymentMethod object AND a FinancialConnectionsAccount object? So I can use the latter object to retrieve its balance?

indigo shore
#

Yes that is my understanding. I actually haven't tested this flow specifically with Checkout before

#

I plan on doing so in just a minute since I want to know as well what this looks like

vernal tundra
#

I'm testing this out right now!

#

Do I need to opt into the private beta before I can test this though?

indigo shore
#

This is in public beta

#

So you shouldn't have to do anything prior as far as I know

vernal tundra
#

Great, testing now

indigo shore
#

Sounds good, let me know!

vernal tundra
#

I'm not seeing any financial connections account attached to this customer

#

is there anywhere else that I should be looking?

indigo shore
#

Can you provide me that Customer ID?

vernal tundra
#

cus_MavMXT1SfU9GBy

indigo shore
#

Okay yeah I do see a financial connections account. So try retrieving that PaymentMethod ID

vernal tundra
#

Oh perfect, I am able to see it in the PaymentMethod object as part of the payment_method.attached payload

indigo shore
#

Nice

vernal tundra
#

Thank you very much for your help!