you can google the rest, anyway, have a nice day, and you are welcome
concerned_Custom has quit
ray joined the channel
ray
testing
i want to ask a question regarding Stripe please
ray is now known as Guest11435
Guest11435
i am a developer living in Indonesia, can i receive money with Stripe?
and can i send money with Stripe?
the documentation is not precise, they say "you can receive money from anyone in the world"
"With Stripe, you can accept payments from almost any credit card and debit card, no matter where your customer lives. In order to accept payments with Stripe, however, your business must be based in one of the countries Stripe supports:"
markin
Guest11435: you can receive money from anyone with a credit card, but you must be in a country where Stripe supports merchants
Guest11435
so i assume i CAN receive credit cards, but i can't receive money from Stripe account?
markin
Stripe.com/global is the list of customers where Stripe supports merchants
No, to receive credit cards you must be in a country listed at stripe.com/global
tr12
Guest11435: you'd need to be based in a country that stripe supports to activate a stripe account
Guest11435
ah, so basically an indonesian developer can't use stripe then?
markin
they could not
Guest11435
damn it
tr12
the business couldn't be based in indonesia, no
Guest11435
i like the API and how it accepts Rupiah
anyone have any idea what to use other than paypal?
because paypal doesn't receive rupiah, it forced you to use dollar
rupiah is indonesian currency
markin
Guest11435: you could try talking to your bank's business department they may be aware of merchant services providers
Guest11435
ok,
anyway, guys, when will stripe accept Indonesia?
i mean, i still don't get the logic why they only accept western countries.
i want to use stripe too!
markin
Guest11435: Its legal issues, to open a new country, Stripe needs to form a business with in that country get integrated with a ton of different banking and identity verification databases, its not something that can just instantly happen. You can express your interest at stripe.com/global and get notified of any news
Guest11435
(y) ok guys, thanks for the excellent support
i am out, disappointed sadly, haha. Take care all
Guest11435 has quit
webby_ joined the channel
webby_
Hey. I have a question: Using the API, what is the best way to end a subscription at period end and then start a new on after that one ends?
Should I use `billing_cycle_anchor` or something?
markin
webby_: cancel the subscription with at_period_end=true and create a new one with trial_end set to the period_end of the old sub
webby_
+markin: But would that create two live subscriptions at the same time for the customer?
wouldn't*
markin
it would
uri_ joined the channel
well one active and one trialing
mcwendy has quit
webby_
I'd like only one to be live at the same time. Trialing is still live.
My code won't know which one to use at the customers current subscription level, unfortunately.
We call the Stripe API frequency to grab theeir active plan.
markin
there is no way to create a subscription but to not actually create it later. You'd just have to wait until the old subscription got canceled to change it
Calling the Stripe API frequently to grab their active plan is probably not that performant, you'd probably want to save that in your own database
webby_
Yeah we call the API every few minutes to update our records in the DB, but Stripe is still the source.
Would billing_cycle_anchor do what I need?
Instead of setting trial_end = period_end, can I do it like billing_cycle_anchor = period_end ?
markin
no, billing cycle anchor would still create the subscription instantly and it would also charge the customer a prorated amout
webby_
Ahh
truepudding joined the channel
truepudding has quit
I guess I should just create a cron or something to replace plans the moment they expire...
markin
webby_: the proper thing to do would be to store it in your database and to use webhooks to receive updates
calling the stripe api every few minutes is not the best idea
webby_
Yeah we're going update that part too for webhook, but still call Stripe once daily just in case.
I guess I'll write up a webhook for when plans expire and see if they should be set to a new plan.
markin
cool
webby_
I really appeciate the insight.
trevor joined the channel
uri_ joined the channel
Dorf_ joined the channel
Dorf has quit
ctang joined the channel
tr12 has left the channel
nik joined the channel
nik is now known as Guest40197
Guest40197
Hello there. I m having problem with stripe connect. Is there anyone who can help me out ?
markin
Guest40197: sure
Guest40197 has quit
Dorf_ has quit
Dorf joined the channel
nik007 joined the channel
nik007
HELP
uri_ has quit
markin
nik007: no need for caps
nik007
Hi Markin. I m having problem with stripe connect while creating managed account.
markin
so whats the problem?
nik007
I m in canada and i wanted to create an account for our customers(users). When i tried to enter their bank information using createExternalAccount, it shows me that you need to enter routing_number but we dont have routing number in canada.
instead we have institution number
markin
In canada you'd set routing_number to the transit number
so the format for routing_number would be like 11000-000
transitnumber-institutionnumber
nik007
oh i see. Its really helpful. I have another question if you can help me with that.
markin
sure
nik007
Before i ask about their bank details, i asked their personal information like full name, birthdate, address, postal code. Is it sufficient information to verify their account and how can i pass that information to the Stripe using the API ?