#stripe

/

      • concerned_Custom
        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 ?
      • markin
      • nik007
        Do i need to create an account first then i can update or i can use that information while creating an external account using CreateExternalAccount ?
      • markin
        the external account is just the bank account info, it doesn't care about the identity verification stuff
      • identity verification is part of the managed account
      • nik007
        then can i pass all the information of the user using stripe.account.create ?
      • Monk joined the channel
      • markin
        yes
      • Monk
        hello
      • Monk is now known as Guest45497
      • glehnert has quit
      • Guest45497
        i need help with stripe account
      • I'm using it with multiple currencies
      • markin
        ok
      • whats the issue?
      • Guest45497
        i need to transfer funds from my canadian balance to us balance
      • is that possible
      • because the amount would be stuck without a canadian account
      • markin
        Guest45497: Stripe would convert the funds automatically to the default currency for the account
      • Guest45497
        no it is showing balance in transfers
      • markin
        so if a canadian account created a charge in USD but only had a CAD bank account, Stripe will convert those funds automatically
      • If its showing a balance that would mean that you have a USD and a CAD bank account
      • Guest45497
        actually i was withdrawing funds previously into canadian currency itself
      • and have recently added us currency
      • so all those payments are in cad
      • markin
        you added a US currency bank account or you started charging in USD?
      • Guest45497
        yup i had a cad account
      • now i have removed it
      • markin
        buts its a Canadian bank account?
      • *a Canadian Stripe account I mean
      • Guest45497
        yes
      • and i have added a us bank account in it too now
      • markin
        A canadian Stripe account needs a Canadian bank account, all CAD funds go to that bank account
      • any USD funds would go to the US bank account
      • that happens automatically
      • Peder_ joined the channel
      • Guest45497
        no possibilities the cad balance maybe transferred
      • okay that is not a problem
      • markin
        no a canadian Stripe account must have a CAD bank account
      • can I ask why you're not just using automatic transfers?
      • Guest45497
        but the main problem i have is there is a negative balance due to a charge back
      • and i have more funds in my balance
      • but stripe is taking a negative balance transfer first
      • i want it to detect from my coming payments
      • markin
        by negative balance transfer you mean a bank transfer?
      • webby_ has quit
      • Guest45497
        yeah it has initiated a negative transfer even after there is more balance in next transfer
      • markin
        you should contact email support about that, I think that just has to do with the available_on dates of the funds but I'm not too sure
      • this chat room is more for code help
      • Guest45497
        i want it to detect the negative balance
      • yeah i saw this code debit_negative_balances
      • which asks stripe not to make a debit balance from the bank account
      • markin
        that is for managed accounts only
      • Guest45497
        emm
      • thanks markin
      • that was a lot of help
      • saved my day
      • ill contact stripe support through email
      • MacAttack joined the channel
      • edrocks joined the channel
      • uri_ joined the channel
      • MacOS joined the channel
      • when does the pending balance