#simonc

1 messages · Page 1 of 1 (latest)

wary jasperBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

  • simonc, 5 hours ago, 8 messages
open spade
#

What do you mean?

hard birch
#

I have no trace of the payment to the connected account

open spade
#

You're still not giving me enough info

#

What exactly did you do and what exactly is unexpected

hard birch
#

I did this request: req_RayTSV41kmn67v

#

And I have no trace of payment on the connected account

open spade
#

Why are you doing direct charges on Custom accounts in the first place though?

#

You're supposed to do destination charges if using custom accounts

hard birch
#

Because we are in Europe and the client is in the US

open spade
#

That doesn't make sense though

#

You can still do destination charges in that scenario

hard birch
#

I tried, nevertheless I had an error

#

At the beginning, the customers pay on our platform and then we payout the providers

#

But, since we have some providers in the US, it is not possible anymore

open spade
#

Oh never mind then

#

The request you shared was not a payment

#

It just created a payment method

hard birch
#

How is it possible to copy a customer on our platform to some specifics connected accounts?

#

I would like the next monthly payment is direct to the connected accounts

open spade
#

You did it in the above

#

If you have a subscription, you need to recreate on the connect account

#

Those don't copy over

hard birch
#

And if the customer paid first on our platform, is it possible to redirect the further payments to a connected account without any action from the customer?

open spade
#

What do you mean? Is this a subscription?

hard birch
#

Yes

open spade
#

Yeah but you need to cancel the one on the platform and recreate it on the connect account

hard birch
#

How to transfer all the information from a subscription in our platform to a connected accounts before canceled it?

open spade
#

You can't

#

You need to recreate it

#

You can pass all the data you want to recreate it

#

billing_cycle_anchor, etc to preserve the billing date

hard birch
#

Ok, thank you. This is my problem: I have customers with subscriptions and on my platform. I would like to transfers all the customers and subscriptions to connected accounts. Is it possible?

open spade
#

I already answered that question above

#

You clone customers and payment methods

#

Then recreate the subscriptions

hard birch
#

How can I clone a customer and the payments methods?

hard birch
#

I had this error: invalid_request_error
The customer must have an active payment source attached.

#

req_RB0imGM5tcWE4i

wary jasperBOT
open spade
#

You use payment methods

#

So you should create a payment method not a token

#

This is what you were doing before

#

That's exactly what you need to do

hard birch
#

And for the other customer information?

open spade
#

What do you mean?

#

It'll be copied over

hard birch
#

I tried the method but the customer does not appear in the connected account

languid tulip
#

Hello! I'm taking over and catching up...

hard birch
#

Hello

languid tulip
#

So you're attempting to clone Payment Methods from your platform to a connected account and something isn't working as expected?

hard birch
#

yes

#

The customer does not exist on the connected account

languid tulip
#

You have to create the Customer yourself.

#

The only thing you can clone are Payment Methods. Customers and other objects need to be created manually.

hard birch
#

I would like to create a script in order to do that. What could it be possible?

languid tulip
#

Yes, but I want to flag it's unusual to create Customers on connected accounts when cloning Payment Methods from your platform.

#

Usually what you want to do is clone the Payment Method for each payment and not use Customers on the connected accounts at all.

#

That way you're always using a fresh copy of the most up-to-date Payment Method (the one on your platform) for each payment, and don't need to worry about keeping multiple Payment Methods and Customers in sync across accounts.

hard birch
#

Ok

#

Actually, the architecture I would like is as follow:

  • a customer subscribe on our platform (it generates a customer_id)
  • a customer subscribe to a connected account (we clone the customer and create a subscription to the connected account)

Is this best practice?

languid tulip
#

Can you explain a bit more? Are you using Standard or Express accounts?

hard birch
#

Standard

languid tulip
#

What are your customers subscribing to? Why do they all have two subscriptions?

hard birch
#

They subscribe to a connected account

#

I just need one subscription on the connected account

#

And keep the paymentMethod on the platform

languid tulip
#

Ah, okay. Earlier you said, "a customer subscribe on our platform" but it sounds like that's not correct?

hard birch
#

Yes

#

I meant subscribe on our product

languid tulip
#

Why do you want the customer's Payment Method on your platform at all?

hard birch
#

Since he can subscribe to multiple connected accounts

languid tulip
#

Okay, gotcha. In that case, yes, you would want Customers on both the platform and the connected accounts.

hard birch
#

Ok

#

Now my another problem is as following: I have customers AND subscriptions AND paymentsMethods on my platform. But, I would like to transfer all the subscriptions AND paymentMethods to the good connectedAccounts. What is the procedure?

languid tulip
#

Hold on, I thought we clarified that you won't have Subscriptions on your platform?

#

Aren't the Subscriptions only on the connected accounts?

hard birch
#

No, because I was on the old architecture

languid tulip
#

In any case, you can't transfer Subscriptions from one account to another like you're describing.

#

You would need to create a new Subscription on the connected account and cancel the old one.

hard birch
#

And how can I get all the information from a subscription to create the new one to the connected Account?

languid tulip
#

Can you be more speciifc? Which information are you missing?

hard birch
#

Will the connected Account receive the money scheduled if I create a new subscription with the information from the platform's subscription?

languid tulip
#

If you create the Subscription on the connected account the connected account will receive the funds from it minus your application fee.

hard birch
#

I just reused the paymentMethod from the platform's subscription I cloned>

#

?

#

Btw, I do not see any paymentMethod I cloned on the connected account on the dasboard, why?

languid tulip
#

Where are you expecting to see it in the Dashboard?

hard birch
#

connected account > Payments

languid tulip
#

That will show payments, as in Payment Intents and things like that, not Payment Methods.

hard birch
#

Where am I suppose to find it?

languid tulip
#

If you attached it to a Customer on the connected account it will show up on that Customer's detail page.

hard birch
#

Oh ok

#

So I also have to clone the customer on the connected account?

languid tulip
#

You can't clone a Customer. You can only clone Payment Methods. If you want a Customer on the connected account that represents the same Customer on your platform you need to create each of those Customers yourself.

hard birch
#

Is there a smart way to get the information form a subscription to create a new subscription with the information from the former?