How do I create a subscription to begin on a certain day?
mattwc
Maddie: you'd need to put it on a free trial until that day
Maddie
Sorry I'm super new using this and my boss is traveling today! But how do I start a free trial?
thank you
__stanislaw has quit
mattwc
how are you creating the subscription via the api or the dashboard?
Maddie
ooh wait I think I found it!! I was just trying to create a subscription from the customer dashboard but I went to subscriptions then add one and I now see a trial option. So for example, february 1st is the pull date. it is the 29th for me. should I say "2 days" for trial period then on the 1st, it'll pull?
mattwc
yeah, if you put 2 days it should tell you when the trial will end
Zorobabel joined the channel
Zorobabel
Hi
mattwc
hi Zorobabel
Zorobabel
hi matt
I came here to ask for help
Maddie has quit
It's about balance API
mattwc
Sure just ask
Zorobabel
thx
I am implementing Connect in its Express version for a crowfunding site
users can create "campaigns" to receive the contributions
almost everything is everything is working fine except when the campaign ends
we need to transfer the money from platform account to user's bank account via Payouts API
mattwc
Well you should be storing the funds in their connect account not your platform balance
Zorobabel
sure
mattwc
So what is the question?
Zorobabel
the problem appears when "balance.available" event is triggered
I don't know how to find out which transactions belong to each campaign
the docs are not clear
mattwc
The balance.available will just trigger when the balance updates, it doesn't say which charge became available. Each charge has an available on date though
Zorobabel
hmm
mattwc
Generally with crowdfunding since you only do the charges if the pledges have reached the limit there isn't a need to enable manual transfers though
Zorobabel
but we did it
we are using the destination charges flow + manual payouts
mattwc
Why are you doing manual payouts?
eric_lagergren joined the channel
Anh joined the channel
Zorobabel
was a requirement of my client
and he received some guidance from support team
Anh
hey guys, does an api call from stripe python library trigger a webhook request?
I'm getting an issue where a customer is being created twice
Zorobabel
is there some event triggered when a charge is available?
mattwc
Zorobabel: so are you doing the transfer as soon as the payment becomes available?
Zorobabel
yes
that's the point
mattwc
Anh: it does. The only explanation would be your python code did 2 customer create calls
Zorobabel: if that's the case then manual transfers are pointless
You'd just be coding what Stripe does internally
Zorobabel
I think the same, right now have headaches
mattwc
Yeah that logic of manually doing a transfer when a charge becomes available doesn't make the most sense unless there's some specific reason for doing it
Zorobabel
automatic payouts are a breeze
well, I guess I have to talk with my client about this
Anh
ohh ok thank you
Zorobabel
matt, thank you!
Zorobabel has left the channel
Anh has left the channel
K_ joined the channel
K_
How can i get the mContext with android to create the token?