#hk6_api

1 messages ¡ Page 1 of 1 (latest)

final gazelleBOT
#

👋 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/1293488606924767293

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

hardy beacon
#

Hi @silent plover hope you are doing great today

silent plover
hardy beacon
#

the issue with transfer data (which was my original choice) does not work either as the connect account is a US account

#

but basically if I add stripe_account=xxx in my schedule definition that would work?

#

should I do that when I create the schedule or at modification is enough?

silent plover
#

well it might work if you do transfer_data + on_behalf_of (https://docs.stripe.com/connect/account-capabilities#transfers-cross-border)

otherwise Direct Charges can work but you need to be aware of the implications(all objects will be created on the connected account, the connected account has liabilities for refunds and chargebacks, and since this is an Express account it can't handle any of that itself so you need to build a dashboard/system for that)

hardy beacon
#

ok I will check to add both transfer and on_behalf

#

let me check this

silent plover
#

also as far as I can see both accounts here are GB

hardy beacon
#

the test account is indeed, but the target in prod is not

#

I shoudl indeed create a test account matching the prod conditions

hardy beacon
#

The schedule now is created with no error. I am trying to check if it behaves as expected in terms of transfer and application fee. But when I use a clock to simulate time passing, I don't see the payment happening

silent plover
#

I'll look in more detail but the first thing I'd mention is invoices happen an hour after the period_end so you always want to advance the clock to like a day after the period end just to cover it

hardy beacon
#

yes I think this is it. I will try that

silent plover
#

AFAICT you set the schedule to transition to a phase with transfer_data starting on 2024-11-11 08:46:09 but your clock is still set to 2024-10-14 08:47:00

hardy beacon
#

mmmh strange

#

Thanks for the heads up

#

the period should be set at end of trial period

#

you are right

final gazelleBOT
hardy beacon
#

That worked. Thank you

magic yoke
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

hardy beacon
#

For now I am all good. @silent plover helped me. Running some tests but should be good. Thanks a lot guys.