No problem in exposing a credit card id on client side, right?
mattwc
sqram: nope
sqram
thanks. just double checking
vbwyrde
when doing Dim account As StripeAccount = accountService.[Get] ... which stripe key are we supposed to use for StripeConfiguration.SetApiKey( ??? )
mattwc
your platform's secret key
vbwyrde
is this supposed to use the StripeConnectClientID?
mattwc
nope its your sk_ key
agitator_ joined the channel
vbwyrde
okee dokee
just checking
and just to nail this down for my notes ... StripeConnectClientID is used for what?
mattwc
just for the oauth url
vbwyrde
and that's the only place right?
mattwc
yup
ricardotapia has quit
vbwyrde
duly noted and thank you. Ok I have something odd here ... when I Dim account As New StripeAccount Dim accountService = New StripeAccountService() and then run this ... account = accountService.[Get]("") <-- note that no account key is sent in, but instead an empty string ... what
gets returned is my platform account. Is that to
be expected?
mattwc
that is expected
vbwyrde
ok
thanks :)
agitator joined the channel
eric_lagergren has quit
I understand that users can have more than one stripe customer per email
is that right?
nickdnk joined the channel
nickdnk
Hello guys
mattwc
vbwyrde: correct
hi nickdnk
alexweissman joined the channel
vbwyrde
... so lets say that the user is logged in to stripe with one of their other customer accounts... and they are oAuth directed to stripe ... it's going to ask them to accept the stripe connect link to my platform with that account... but not necessarily the customer account I created for their
subscription. Is that right?
mattwc
customers have nothing to do with oauth and are completely seperate
vbwyrde
interesting
MB_2 joined the channel
so in my database I have Stripe_Customer table. It has their StripeCustomerKey as one of the fields... I also added a StripeConnectAccountKey ... trying to puzzle this through here ... but since there's no actual link between customer and stripeconnectaccount ... I'm thinking this table structure
might not be perfectly cool
can a user have more than one stripe connect account by email?
mattwc
they could
vbwyrde
hrmmm
mattwc
customers would only be for people buying stuff (just linked to their credit card), accounts would be for people selling stuff
vbwyrde
why does this make me scratch my head ... I have that funny feeling ... spidy senses tingling ... not sure why
well I have a subscription system
kes has quit
and only premium subscribers can have stripe accounts for my platform
so in my case there is a link between customers who pay subscription fees and platform users with stripe accounts
see what I mean?
mattwc
okay so in your database you'd have to link the two
vbwyrde
~ spidy senses ~
right ... so I have StripeCustomerKey -> StripeConnectAccountKey
same row in the table.
so I can look up a stripeaccountkey by customerkey
mattwc
sure
vbwyrde
but ... if they use a different customer account when creating their stripe connect account in stripe the stripe connect account will be associated to a different customerkey than I have ...
mattwc
what do you mean?
vbwyrde
so ... ~ spidy sense ~ ... will I run into a problem?
mattwc
there is no association between the two on the stripe side
vbwyrde
maybe not
right ... so that link is just on my side
I would never look them up in stripe doing a customer fetch to get their stripe account key
I would always do that on my end
so it shouldn't ever come into play
theory.
mattwc
right
vbwyrde
scared.
probably for no reason
it's just messy.
mattwc
and you'd probably be looking it up by user id not by stripe customer id
vbwyrde
I like one to one relationships across the board
I'm kinda OCD about it
right.
ok about that user id thing.
the stripe_user_id is the stripeaccountkey
mattwc
yes
vbwyrde
starts with acct_
and as far as we know, the only key that starts with acct_ is the stripe_user_id ... is that right?
mattwc
right but I wouldn't do any sort of validations / checks about that
vbwyrde
yes. I know.
it can cange
change
more scary stuff, but ok.
ok then.
I think I'm good.
thanks!
z joined the channel
z is now known as Guest38419
Guest38419 has quit
dionysus69 joined the channel
PederJ joined the channel
eric_lagergren joined the channel
Giles joined the channel
Giles
When a promo code is set to be redeemed by 1/1/2018 does that mean it's last effective day is 12/31/2017 or is it still effective through 1/1/2018?
mattwc
end of day on 1/1
analogik joined the channel
Giles
ty
vbwyrde
WOOT!! I Processed my first Stripe Connect Account using oAuth!! :D
mattwc
sweet
vbwyrde
:)
thanks for your help getting through this mattwc
HEY YOU UP THERE!! HIRE THIS GUY! :)
mattwc
lol
arnotixe has quit
Monitech has quit
jrp93 joined the channel
dionysus69 joined the channel
ryfi has quit
aweeks has quit
alexweissman joined the channel
Guest57313 joined the channel
Guest57313
hello team
i have a stripe question
anyone there?
we would like to make some mod on our stripe account. is there a way to split a fee?
we have a marketplace that use stripe and would like to divide the amount between personal reciever (seller) and charity reciever (seller gives)
jon_ joined the channel
emil_ joined the channel
emil_
Hi, anyone from Stripe here?
I'm a looooong time user, and have a few interesting questions
emil_ is now known as Guest51298
jon_ has quit
Guest51298 has quit
mattwc
Guest57313: so each charge would get split 3 ways? The platform, the seller, and a charity?
Guest57313
yep, platform (12%), seller can choose how much s/he wants to give charity
AppError_ joined the channel
mattwc
There isn't a great way to do it, you could take a larger percentage as a platform and manually transfer it to the charity
That would require the charity to also have a Stripe account though that's connected to your platform
TazDevil joined the channel
AppError has quit
TazDevil
Hello, I'm working on a product that has subscriptions. I'm trying to decide on how to modify my application when a subscription auto-renews; What webhook events should I expect when such an event happens custoemr.subscription.updated? I'm curous because the documentation says, "Occurs whenever a subscription changes (e.g., switching from one plan to another or changing the status from trial to active)."
On a renewal, is the plan changing state?
mattwc
It depends
I would listen to payment failed and payment succeeded webhooks
The subscription would only change state if they were past due
TazDevil
ah, k
jordan-rubyDev joined the channel
jordan-rubyDev
I have a question about Webhooks, specifically verifying signatures manually, in Ruby
Anyone here have experience getting Apple Pay to work with Stripe in Xamarin? Using Xamarin.iOS, not Xamarin.Forms. I'm having trouble finding any guides out there.