Stripe Checkout only creates a card token, nothing else. The code server-side (on your lambda) will be the one using that token
jaycedars
and it's not in a source object, it's encoded in the url... it isn't getting the amount from the form.
koopajah
all of that is expected, I think you're confused with how Stripe and Stripe Checkout work
jaycedars
my understanding was you hit submit, the js code interrupts, does its routine to get the token, adds the token to the form in a hidden field, and then submits the whole form (including amount) to my server.
is that not correct?
koopajah
not exactly no. We never post the amount with Checkout. We don't "care" about the amount, it's just here for UI purposes.
jaycedars
how does my server get the amount?
koopajah
Otherwise anyone can change your form, order a $19.99 t-shirt for $0.50 instead. The amount is always something you handle server-side
you server is supposed to *know* the amount
jaycedars
gotcha
stuwest joined the channel
so at any rate, the amount isn't really the problem. when i click submit, i get the "must provide source or customer" error.
but i think that's probably a bug in this guy's lambda ... it looks like that's encoded in the URL, and he's written it to assume he's getting it in a json blob.
sorry. encoded in the post body.
koopajah
I haven't used lambda before but we always send the data in the POST body
yeah. i actually work for a big enterprise POS vendor. but this is for my wife's business. i was trying to get away with setting up the absolute least infrastructure possible. and do something cool with lambdas. oh well. ;)
koopajah
well you can still do that but that will require a bit of debugging!
jaycedars
i don't happen to actually know javascript, so i'm not 100% sure what his code is doing.
i might just write it in python. ¯\_(ツ)_/¯
zamro joined the channel
stuwest has quit
zamro has quit
arooni joined the channel
Tim_ has quit
Tomce has quit
tocka joined the channel
Tim_ joined the channel
Tim_ has quit
stripe345 joined the channel
stripe345
I am not a coder
cboteros has quit
rendion joined the channel
Gsham has quit
rendion has quit
akoumjian joined the channel
Gsham joined the channel
stuwest joined the channel
Gsham has quit
stripe345 has quit
SLeak joined the channel
SLeak
Hello! I was hoping to get some help with updating the Services Agreement Acceptance on an account. Our company manages the account and it deposits to a client. Last year went smoothly, I was told it seems there was an update that overwrote it and it needs to be done again.
I will try again then. This was what I was told after my first inquiry. Thank you!
adam_ has quit
doji joined the channel
doji
Hi
Gsham joined the channel
vincent joined the channel
zamro joined the channel
T1m0thy has quit
T1m0thy joined the channel
Tim_ joined the channel
Guest17163 has quit
stuwest is now known as stuwest-away
zamro has quit
stuwest-away has quit
stpaultim joined the channel
doji has quit
doji joined the channel
Hi
Hi, Im looking for a smart payment method for my website. My website are like the swedish version of Taskrabbit.com. I guess uber and airbnb has the same kind of payment method as i want. A customer will pay for a service that has been made by a handy man. For example; the handy man has been changing the customers tires. Now the handy man wants money for what he done. The customer pay with a simple click, and the money goes to me(paym
the problem i'm running into is including the create_subscription.php mentioned in the documentation
does this file need to go above public_html in my file directory?
koopajah
pf: that really depends how you built your integration and how you setup your server
vincent joined the channel
pf
thanks @koopajah...the site is being developed in Drupal and the build can be seen here: https://www.newlifedaycenter.org/recurring-dona... I'm using checkout.js and know that part is set up correctly. It's getting users subscribed that I'm struggling with
koopajah
so if you're using drupal, there must be some documentation explaining how and were to write your own code in your Drupal installation/framework
sure! I'm happy to help but I need to know exactly what's blocking you. If you could take a step back and try to explain the exact issue with a concrete example all in one "sentence/line" that'd be awesome!
Hem
how can we integrate connect in test environment
?
joshonth_ joined the channel
yes sure i will explain you
i have a requirement of paying the amount from stripe to a particular customer
Oliver__ has quit
pf
thanks @koopajah, i'm trying to avoid developing a custom module for this hence using checkout.js...seems like there has to be an easier way
koopajah
please try with one sentence/line, don't press enter every time
pf : I have never used drupal so I can't tell you, this really is a question for Drupal or an experienced developer with that framework. I don't think you can just have a random .php on your server to subscribe users. It seems a bit broken to me as it wouldn't integrate properly with drupal or your database or anything like this
Hem
i was reading about receipient part but as it is deprecated so when i added stripe connect api in my code and passed amount and customer id it says the stripe account should be activated
zamro joined the channel
joshontheweb joined the channel
@koopajah: So my question is how to integrate connect managed account in test environment? please help me with this. I want to integrate connect in a java file
TrovesErik joined the channel
Tim_ has quit
koopajah
Hem : I'm sorry but that's a really vague question. What is blocking you exactly? This is all documented in a loooot of details in our docs. Have you read through it for a few hours? what's not working exactly?
zamro has quit
alexgordon has quit
skydive1 joined the channel
skydive1
HI
Looking for information to set up stripe
koopajah
skydive1 : sure, what do you need help with?
alexgordon joined the channel
joshonth_ joined the channel
TrovesErik
Hello, our iOS app update got rejected because an error is triggered when a simulated ApplePay transaction happens (works fine with real Apple Pay)
skydive1
my previous provider just had me copy a link and I was good togo with payments. How do I know what link to use for stripe?
TP_ joined the channel
TP_
Hi
i want to tokenize a bank account using android
with the sdk
is there a way?
koopajah
skydive1 : we don't have a "link" that you copy paste. That doesn't exist on Stripe. You need to either build your own integration, hire a freelancer to help you or use one of our third-party platforms https://stripe.com/works-with
Anyone have insight into handling simulated ApplePay transactions without an error?
joshontheweb joined the channel
Stripe library is returning:
Error Domain=com.stripe.lib Code=50 "Your payment information is formatted improperly. Please make sure you're correctly using the latest version of our iOS library. For more information see https://stripe.com/docs/mobile/ios.";