#Daniele - Connect

1 messages ยท Page 1 of 1 (latest)

drifting hill
#

We do plan to make that feature compatible with Connect, but there's no ETA for that at this time.

quasi crypt
#

mh that's not what we need, basically:
we're a SaaS e-commerce platform, our clients (businesses) have their own clients (customers)
our invoice process is as follows: customer clicks on business' product, payment methods available are listed
as we do not have stripe only, other payment methods are shown here
in this page we'd need to know which Stripe payment method the connected account (business) has in order to display those to the customer
then the customer can click on the payment method he wants from the connected account's list, and then we have the normal PaymentElement flow

#

is it possible to do?
for example, PayPal offers a frontend SDK function to get the connected account's alternative payment methods list

#

which would result in something like this, and then only after we call PayPal's api

drifting hill
quasi crypt
#

yes! that's what we need

#

PayPal offers a more complete solution for this, automatically filtering the payment methods based on the customer's location and so on, but i guess we can filter those on our own

#

thanks for the help

drifting hill
#

No problem! ๐Ÿ™‚

quasi crypt
#

While i'm at it, another question regarding invoicing
When i create an invoice in behalf of a connected account, how does Stripe handle emails?
Will they be sent based on our Stripe account settings or on the connected account settings?

barren jolt
#

Good question, let me see if I can confirm what my gut says, which is that this would still be platform emails

quasi crypt
#

not sure if it changes something, but specifically this https://stripe.com/docs/invoicing/connect#on-behalf-of
with

const invoice = await stripe.invoices.create({
  on_behalf_of: '{{CONNECTED_ACCOUNT_ID}}',
  application_fee_amount: 10,
  transfer_data: {
    destination: '{{CONNECTED_ACCOUNT_ID}}'
  },
  customer: '{{CUSTOMER_ID}}',
});
barren jolt
#

Yep, thanks -- looking into this

#

It looks like the on_behalf_of invoice should represent the merchant of record, similar to the statement descriptor, so you'd see the connected account in the from email etc

quasi crypt
#

ex. retries, email after payment completion [...]

#

where are those settings retrieved from

barren jolt
#

Oh, gotcha. Those would be coming from your platform, since the invoice/payment still exists in the context of your platform

#

Only direct charges (eg for standard accounts) would use the dashboard settings of the connected account

quasi crypt
#

ok thanks, so everything from our platform's settings

barren jolt
#

Yep, in terms of retries etc

quasi crypt
#

and logos, info etc from the connected account

#

which is what we need yep

barren jolt
#

Great - glad to clear that up ๐Ÿ™‚