#paris311_best-practices

1 messages ยท Page 1 of 1 (latest)

warm ruinBOT
#

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

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

green leaf
#

The payment method captured on the payment link belongs to the Provider, so it should be removed.
No sure what you mean?
The subscription should be paid from the balance of the Owner's Connected Account.
Not supported today I'm afraid. Instead you'd need a Customer object on your platform that maps to the connected account that you can charge: https://docs.stripe.com/connect/subscriptions#connected-account-platform
Tenant invoices should have the payment option of a bank transfer to a Swiss IBAN per connected account. How should we handle that?
Would be supported in certain conditions via a Bank Transfer, need to see a specific example to understand why

With Connect, you can create subscriptions for your customers or connected accounts.

#

Fixed the link โ€“ included wrong one initially

narrow hearth
#
  1. The payment method used initially in the payment link belongs to the Provider, not to the Owner, but as the link is processed, a new Customer and a new Subscription will be created, with this payment method attached to that new Customer. I don't want this payment method to be used automatically to pay the Subscription though.
  2. Given that I already have a customer object related to each connected account, how can I transfer funds between them?
  3. Here's an example of an invoice with the bank transfer option https://dashboard.stripe.com/test/invoices/in_1Q0VaVEmmAsNZVwXtf1JI0B9. Stripe automatically created a German IBAN. I need that but with a Swiss IBAN.
#
  1. Alternatively, I can put in there a Swiss IBAN belonging to the platform owner, with an automatic transfer option to Stripe, but firstly, how will I know which Connected account should receive the funds and secondly, how can I omit those funds from the platform's income, so that the platform is not charged with tax for them.
warm bane
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

narrow hearth
#

sure thanks!

warm bane
#
  1. Could you please explain what's the difference between the Provider and the Tenant?
  2. Currently, you will need to pay them out, and then charge their provided PaymentMethod. You can't send funds between Connected accounts.
  3. I guess the reason is that the currency of the Invoice is EUR.
narrow hearth
#
  1. The business is related to Solar Panel in buildings, so Provider is the technical firm that will install them, while Tenants are the people that live in the building. Owner is the building owner who hired the Provider and gets paid by the Tenants.
  2. So the Owner should pay the subscription themselves and withdraw the money from their Connected account balance separately, right?
  3. So no way to do that with CHF invoices, right? how about the alternative solution above?
warm ruinBOT
warm bane
#
  1. Owner is paying to the Provider? They're both Connected accounts?
  2. Yes. Perhaps it would be possible to redirect part of the Tenants' pay-ins directly to the Provider? If you store funds that are not for payouts of your funds on the Platform account balance, it's easier to distribute it among the Connected accounts.
  3. I believe if you create an Invoice in CHF, the IBAN will be Swiss. Also, do you have a Swiss balance in your Platform account?
narrow hearth
#
  1. No, the Provider only pays the initial payment link and then he doesn't take part in any other transactions. Everything else related to him is handled outside of the platform.
  2. When I try to add the Bank transfers in a CHF invoice, this option is not available.
fierce phoenix
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

#

would you mind sharing the invoice ID?

#

is this in_1Q0VaVEmmAsNZVwXtf1JI0B9 the invoice you're looking at?

narrow hearth
#

that was just an example but my questions are not related to a specific invoice. If you read the thread please I think you will understand my questions.

fierce phoenix
#

I'm failing to understand to be honest

#

would you mind simplifying the ask please?

#

let's set use these terms so we could have the same terminology:
1- Platform: for your platform account
2- Merchant: for your Connect Account = seller
3- Customer: buyer

narrow hearth
#

Sure, let me rephrase my ask!

#

1 & 2. There is one more entity in the process, the Provider, who is none of the above. He just pays a payment link initially, but that payment creates also a subscription as the link contains both one-off products and recurring ones. The Provider should pay only for the one-off products But the subscription should be created against a Merchant. After this payment, the Merchant actually is being created, he doesn't exist prior to it. The flow is the following:
a. Merchant hires a provider to pay the link above, among other things not related to stripe. As said above, this payment will create a subscription for the Merchant, not the provider.
b. Merchant receives an onboarding link to create a connected account
c. Invoices are created for Customers to pay the Merchant.
d. Merchant needs to pay the subscription from the balance of his connected account.

  1. Invoices to Customers should have the payment option of a bank transfer. This option adds an IBAN to the invoice. We need that IBAN to be Swiss as the transactions are in CHF.
fierce phoenix
#

the Provider, who is none of the above. He just pays a payment link initially, but that payment creates also a subscription as the link contains both one-off products and recurring ones
is that the customer?

warm ruinBOT
narrow hearth
narrow hearth
#

is anyone here?

snow parrot
#

Hey! Taking over for my colleague. Let me catch up.

snow parrot
#

d. Merchant needs to pay the subscription from the balance of his connected account.
OK I see, so you have a Connected Account (one of your providers) that is considered as a Customer too for your platform (you invoice them for the usage of your platform)

#

right ?

narrow hearth
#

the Provider is not a Merchant, not a Customer. He's someone else, that is not related to any other transaction.

narrow hearth
snow parrot
#

Then he is considered as a normal Customer for you ?

snow parrot
narrow hearth
snow parrot
#

Sorry I don't understand you

#

Do you have a diagram for the funds transfers between all these involved entities ?

snow parrot
#

Thanks!

narrow hearth
#

there you go

snow parrot
#

Awesome thanks.

#

So Provider and Tenant should be represented by Stripe Customer object.

#

Once the Provider pays, your integration creates a Subscription for the Connected Account (merchant)

#

You don't create a Subscription from the PaymentLink

#

The PaymentLink will just be a one time payment.

#

You need to create a Subscription via Dashboard or API for the Connected Account that will continue to pay the monthly subscription

narrow hearth
#

yes but is it possible to pay the subscription from the Connected Account's balance directly?

snow parrot
#

I think there is a preview feature for this but not yet publically available.

narrow hearth
#

alright, will do, thanks! If not available though, what should I do?

snow parrot
#

You create a Customer object that represents the Merchat (Connected Account), and treat them like any end customer with a Subscription

narrow hearth
#

so separated from the connected account, right?

snow parrot
#

Yeah, you create the Customer at the platform level

#

For example, you set a metadata with the Corresponding Connected Account Id or you track the mapping in your own database.

narrow hearth
#

got it!

#

how about the bank transfer option for a CHF invoice? Can it have a Swiss IBAN?

snow parrot
#

Sorry I'm not sure to understand your follow up question.

narrow hearth
#

it's my original 3rd point. When a tenant pays an invoice, we need to have the bank transfer option too, but for CHF. Is that possible?

warm bane
#

Have you tried creating a Invoice with currency=chf?

narrow hearth
#

yes but the bank transfer option is not available

warm bane
narrow hearth
#

Alternatively, I can put in there a Swiss IBAN belonging to the platform owner, with an automatic transfer option to Stripe, but firstly, how will I know which Connected account should receive the funds and secondly, how can I omit those funds from the platform's income, so that the platform is not charged with tax for them.

warm bane
#

put in there a Swiss IBAN belonging to the platform owner
How would you do this if bank transfers are not supported in CHF?

narrow hearth
#

it will be a topup to the platforms account and then a transfer to the connected account

warm bane
#

You mean it would be handled outside of Stripe?

narrow hearth
#

part of it. The payment from the customer will be done outside of stripe. Then the platform owner will top up that amount to stripe. and then it will be transfered to the connected account

warm bane
#

Yes, that's possible. You just need to keep track of the fund amounts on your side.