trying to test payments via Stripe, and every time I go to push a payment, the server returns an HTTP 500 response
is this normal for accounts in test mode?
markin
djUSAGI: That is not normal
djUSAGI
okay, any idea what would cause this? The error that's always returned is "Invalid Positive Integer"
markin
When you say Stripe plugin are you talking about Stripe.js / Checkout or the python library
djUSAGI: that is the error, what number are you setting amount equal to?
djUSAGI
checkout.js
Amount is set to the price of the registration in pennies (i.e. 40 USD would be 4000)
markin
are you sure thats what its set to?
its an integer not a string right?
djUSAGI
yeah, I manually set it -- wait, I may have it accidentally set to a string.
webdestroya has quit
nope, still getting it
markin
and if you just remove the amount line?
And its the checkout.js code thats throwing this error? its not happing in the Stripe.Charge() code?
djUSAGI
amount line removed, still getting it
Stu_
markin: So my only option is to wait until support replies?
markin
Stu_: yea :/
djUSAGI: Well you're using checkout in your html, what are you doing server side?
nftc99 has quit
djUSAGI
Nothing as of yet. I set up my account, and grabbed my test keys
markin
So you're seeing that error in your browsers javascript console?
djUSAGI
POST http://127.0.0.1:8000/register/ 500 (INTERNAL SERVER ERROR) Button.onToken (anonymous function) checkout.js:2 Checkout.onToken (anonymous function) checkout.js:2
literally the only thing I'm seeing
Stu_
markin: damn, ok thanks
djUSAGI
oh wait, I think I see what's going on.
markin
yea thats your server throwing an error not checkout
djUSAGI
yeah, it was something in my stuff. Thanks for your help!
markin
yw
jesse^ joined the channel
djUSAGI has left the channel
chrisdarkins joined the channel
chrisdarkins
Can the application fee be a set percentage of the transaction price?
sivy has quit
aaronmitchell joined the channel
markin
chrisdarkins: nope, but it isn't too hard to calculate manually
VicenteC has quit
chrisdarkins
thanks. Just wanted to see if I could set the fee percentage in Stripe or the application
kingpin2k joined the channel
TheBurt_ has quit
TheBurt_ joined the channel
Laust joined the channel
TheBurt_ has quit
Laust
Hi all... quick question if you don't mind... what exactly is the Total Volume statistic in the Dashboard? (i.e. does that figure include amounts that may have since been refunded) ?
TheBurt_ joined the channel
markin
Laust: it should be all amounts charged
Laust
so if we made refunds, it wont change this figure?
Stu_ has quit
markin
I don't believe so
drparham has quit
aiyyomaan joined the channel
sivy joined the channel
Laust has quit
chrisdarkins has quit
aiyyomaan has quit
jesse^ has quit
happyface has quit
happyface joined the channel
deepak_
Markin: sorry for my ignorance but can you guide me recommended steps I need for my user subscription. My users are already registered and subscribe for services inside their account page. By steps i mean step 1: create customer using x details, returns token then subscribe for plan. Also guide me the recommended information i can send to api
markin
deepak_: what language are you using?
deepak_
PHP
or possibly provide me a good link. There are many references given. which kinda of confusing me that which one to opt for
deepak_: what parts do you have done already? (if markin is not over there whipping up an example for you I might be able to modify mine to show it.)
deepak_
can i do this using stripe js. and where can a find the doc for this. Its kind of look more secure
emocakes__ has quit
markin
(Stripe checkout looks more secure than Stripe.js in my opinion)
RBecker has quit
rockbot__ has quit
rockbot__ joined the channel
RBecker joined the channel
deepak_ has quit
dccc has quit
rockbot__ has quit
TheBurt_ has quit
John__ joined the channel
lnchmx joined the channel
thesparrow joined the channel
thesparrow has left the channel
John__
Hello. I need to transfer customers from one of my stripe accounts to another one. However, they are "subscription" customers. I was told by a stripe rep that I could transfer customers over no problem but I need to setup the subscription manually. Could sometine walk me through this proccess?
lnchmx
Hey guys. I was in here a few nights ago with this question but I haven't had much luck... I'm using stripe Connect to coordinate chargers between users. The user designates a price that they want to be paid in their bank account. I'm trying to compute the amount I need to charge to make that a reality given I take a 10% application fee + the Stripe Canada fees
I've tried the following, but the result is always a little bit off
any ideas how I would get the right value so that my users get their desired price in their stripe account?
John__
I see where I can 'export" customers... but I don't see where to import them?
wsmoak
lnchmx: I posted the equation for including the 2.9% + .30 recently, let me check the logs…
deepak_ joined the channel
wsmoak: for the record, if you want to receive $75 after fees, charge them $77.55 :)
wsmoak: x - (.029 * x) - .30 = 75 and solve for x. Who said you would never use algebra in real life?
lnchmx: how much does an example user want to get in their bank account? and what are the stripe canada fees?
John__
Hello. I need to transfer customers from one of my stripe accounts to another one. However, they are "subscription" customers. I was told by a stripe rep that I could transfer customers over no problem but I need to setup the subscription manually. Could someone walk me through this process? I see where I can 'export" customers... but I don't see where to import them?
lnchmx
wsmoak: By stripe canada fees I mean fees for canadian users (which I think are more than US), which are 2.9% + 30 cents. My example is as follows: A user wants $300. Since I am taking 10% on that, I would want $30 as the application fee
wsmoak: So my thought was something like... (330 * 100 * 1.029) + 30 for the charge i send to stripe
wsmoak: The user ends up netting 299.71 in that case though, rather than a cool 300
markin
John__: I don't believe you can. Stripe support should be able to, you can do it via api calls but you couldn't transfer their cards
wsmoak
not quite. just using the US 2.9% it’s: x - (.10 * x) - (.029 * x) - .30 = 300 . and solve for x. (want to see all the steps?)
Bulk- has quit
deepak_ has quit
John__
okay thanks... so I can't do it on my own... but stripe can do it for me? Do you know what information I would need to provide them? customer Id's or emails or something like that?
wsmoak
lnchmx: charge 344.78 to get 300.00 in that case
Bulk joined the channel
Bulk has quit
Bulk joined the channel
lnchmx
hmm i see
i was quite a bit off
wsmoak
lnchmx: the good news is you get $34.48 for your 10%, not $30 :)
lnchmx
wsmoak: you're right... it seems like it's taking 10% off the base cost + stripe fee added on, rather than just the base cost
of course good for me but drives up the payer price :)
wsmoak
markin has a link that talks about charging customers for those credit card fees… not sure how that works in canada but there are Rules about it in the US
I remember the court case, but thought it was about charging credit card users more than cash customers. If they’re all using cards… then that’s just “the price”.
lnchmx
wsmoak: i'm surprised that was ever disallowed... think of something like ticketmaster. somebody's putting on a show, sells tickets through ticketmaster, ticketmaster adds a surcharge of dollars
"x" dollars sorry
ahh gotcha
Bulk has quit
wsmoak
thus ends our algebra lesson for this evening. I need to write that one up, that’s twice now. :)
jfutbol joined the channel
lnchmx
wsmoak: hahah thanks a lot.
Ecyrd^ joined the channel
Bulk joined the channel
Bulk has quit
Bulk joined the channel
sivy has quit
Luke joined the channel
chrisdarkins joined the channel
sivy joined the channel
TheBurt_ joined the channel
sivy has quit
TheBurt_ has quit
markin
lnchmx: a surcharge for online purchases is different then a credit card processing fee
but basically you should make sure you're legally okay with charging an extra fee for a credit cards