ericmeds is there a recommended approach to using test fixtures w/ Stripe?
rdymac joined the channel
ericmeds
for example, the use case would be storing the a token (normally returned by stripe) so the user already has cc stored
koopajah
ericmeds: create a test customer with the card already added and use that customer
ericmeds
ok thanks
mattapperson joined the channel
osroca joined the channel
mattapperson joined the channel
celsius
I Have a new e-commerce site, i created it a month ago.. I would to integrate Stripe as gateway payment on it.. but i need the html code, and I can't find it
koopajah
celsius: what do you mean by "i need the html code"
celsius: we don't offer the same thing as paypal, you still need a server and write some code in PHP or something. If you're not comfortable doing that you need to look into a third party like payzo.io or commencepayments.com
SomeKittens joined the channel
osroca: that's what we get back from the bank though basically, we don't receive very detailed information on declines from a card holder's institution. Since the decision is made on the bank's end we don't have any additional insight other than what we are able to provide you via the dashboard and API.
jbourassa joined the channel
celsius
Where could i find a server?
koopajah
celsius: integrating stripe requires being able to build the code yourself and that's not a small task. You should look into the services I just recommended if you're looking for something like paypal
osroca
3 different customers with 3 different cards, the cards worked fine until middle January and the only thing in common is that they are cards from European bank accounts
celsius
Ah ok.. and with that service i will use stripe or other gatweys?
koopajah
osroca: in that case you need to email support about that and give the list of each charge that you want us to look into
celsius: the two I recommended are built on Stripe! The second one was built by markin who is in this channel a lot to help users
markin
Hi! celsius if you have any questions about commence, feel free to ask, its quite literally just Stripe Checkout but it charges cards and makes subscriptions
osroca
koopajah: one of them was deleted from Stripe, attached again with a new customer ID and it worked in the following payment attempt
anyway I'll email with that to support
thanks for your help
idl3_ joined the channel
just wanted to know if it was a recurrent issue
koopajah
osroca: it's possible that the bank refuses subscriptions for that card
so if you add it again the first charge works and then it's declined
the customer needs to contact his bank
celsius
I saw that site... if i want to sell something, accepting credit cards should i simple register on those sites?
ac360
koopajah: Alright, after fiddling with it, Stripe API's 'List All Invoices' route does not show upcoming invoices.
tanzchantz
koopajah: i found the issue.. after the create of customer call,,.. i was also doing a retrieve call for the card... in which i wasnt passing the stripe's requst options.. and that was throwing the exception
koopajah: sorry for the falso negative
koopajah
celsius: what are you trying to do though? That completely depends on what you are using for your website
markin
celsius: you can register at commence, you'll be prompted to create a Stripe account. and then you'll be given like 5 lines of html to copy and paste onto your website
koopajah
tanzchantz: ha! no worries I'm glad that I read the code correctly at least :) thanks for clarifying! I'm keeping your code on the side in case someone needs it later
markin
ac360: yeah, list all invoices won't list upcoming invoices because upcoming invoices haven't been created yet
tanzchantz
koopajah: sure.
ac360
koopajah: Here's a tiny update request for the docs that could save people some time. In the "List All Invoices" area, put: "The List All Invoices route does not show upcoming invoices. Please use the Upcoming Invoices route for that."
mikesea joined the channel
markin: Yo! Thanks :)
celsius
I want to sell some goods, acepting Stripe on my siite, cuz I have an us bank aacount
that's al
koopajah
ac360: hmmm not convinced but I'll forward it internally
markin
ac360: all the upcoming invoice does is look at any pending line items and add that to a pretend invoice with the next subscription up for renewal. you'll note that the upcoming invoice doesn't even have an invoice id
celsius: you can see if commence is enough for you, or you can look at some shopping cart solutions like shopify. there isn't one solution for everyone
celsius
And what can i do with shopify?
markin
celsius: shopify is a complete online shopping cart, they take care of the webhosting, they can handle inventory, help you generate shipping labels, all the fancy stuff
ac360
markin: By "pending line items" do you mean: Only line items that have failed to be charged in the past? The next month's subscription charge according to the corresponding plan? Or both?
markin
pending line items is line items not yet added to an invoice
yvonne has quit
so only charges not added to a current invoice show up in upcoming
dixon_ joined the channel
ac360
Got it.
celsius
The problem is that i would like to accept paymant for my goods trhough Stripe. That's the poblem...what should i do?
ac360
markin: Do you have any patterns for loading upcoming invoices across all customers? Right now, it looks like I have to make API requests for each customer, which will get slower as the app scales.
markin
ac360: are you planning using invoice items a ton?
celsius: Thats a very broad problem though, its like asking "I want to by a car", well do you want a 4 door or a 2 door, sedan or van, etc?
celsius: we can provide different options but you should see which one works best for you
ac360
Yeah, I'm building a subscription based app. The customer base is already several hundred. I need to make some forecasting charts. But making several hundred API requests to Stripe and aggregating the result seems inefficient.
markin
celsius: Commence just lets you accept payments and not much else. Shopify does pretty much everything but it comes at a higher cost and less customizations to your website
ac360: you can also check out baremetrics
celsius
I understand.. but I would like that my custmers pay me on my stripe account..
mxbtt joined the channel
markin
celsius: I get that, and there are quite literally 1000 ways to do that. Do you already have a website?
ac360
markin: I've seen them, but I have to hand this app over as a all-in-one solution. Talking with you has got me thinking though. I'm sure I have enough data in the lcoal database to create forecasts that are accurate without Stripe.
celsius
Yes i have a web site, now what should i do?
markin
celsius: if you already have a website, I'd recommend commence (not just because I built it), but since its pretty much just 5 lines of code you add to your website and it creates a button. Your user clicks the button enters the credit card and you get paid
celsius
Ah than
x
now i understand
so where could i find the code?
mxbtty has quit
markin
celsius: there's example code right on the home page of commencepayments.com and when you log in, you'll be presented with your own custom code for your account
kobepanda has quit
celsius
thank you
I can accept only mastercard?
markin
celsius: is there a reason why you would want to? The fee is all the same for Stripe
celsius
Yes, I have already paypal, but my account was limited so i'mtryng to move away from them, chosing other alternatives
markin
celsius: yeah so with Stripe you can accept Visa, Mastercard, American Express, Discover and they all cost exactly the same, so why just limit to mastercard? It would annoy your customers who have Visa or American Express
celsius
Ok, thanx for all
celsius has left the channel
MarkyC joined the channel
gladely joined the channel
rrawlins joined the channel
john joined the channel
john
Hello
markin
Hi john
john is now known as Guest94718
Guest94718
Is there a Stripe support here?
markin
Guest94718: This is Stripe's developer support room
kobepanda joined the channel
hybrdthry911 joined the channel
hybrdthry911 has quit
Guest94718
Ok maybe you can save me! We switch our Stripe account to Live mode. After a successful test with our card, I removed the card and customer in Stripe Dashboard. Then I redo with the same card (and other cards) and I always get the same error : "Your card was declined"
I don't know why?! Can you help me please?
markin
are you sure in the dashboard you're in live mode (the little toggle is set to live and not test)
Guest94718
Yes I'm in live mode
rocco88 has quit
markin
are you entering the zip code and cvc code?
Guest94718
cvc yes but no zipcode
markin
and you haven't tried contacting your bank and inquiring about the decline?
k1ng440 joined the channel
Guest94718
I test with different cards with 1$ payment
markin
Guest94718: so in general testing multiple different live cards over and over with $1 payments is a good way to annoy banks. Thats why you should contact your bank and make sure that they are declining it. and if they say they aren't then you'll want to email support@stripe.com
yeshuah joined the channel
kobepanda has quit
jbourassa has quit
Guest94718
You mean the card holder bank? or our company bank?
jbourassa joined the channel
markin
the cardholder bank, they're who decline charges
davidyoung has quit
Guest94718
ok. But I don't understand when I test with a new card (another bank never used before in our test) we have the same message? Is it possible that our stripe account is suspended or something like that?
markin
Stripe would normally give you another error message, though testing a ton of cards in the dashboard with $1 charges is the way to raise flags. you can email support@stripe.com and they can look into your account specifically
Guest94718
so if I understand well, the error message comes from the bank, otherwise the error message, if coming from stripe, would be different?
markin
if it was the case that Stripe had suspended your account it would be a different error.
The standard operating procedure is to have the cardholder contact their credit card company, and then to contact support@stripe.com
landakram joined the channel
Guest94718
ok thanks markin I'll do that
thank you bye bye
Guest94718 has quit
landakram has quit
stanley joined the channel
landakram joined the channel
stanley is now known as Guest62920
landakram has quit
heavysixer has quit
landakram joined the channel
kaspertidemann joined the channel
nomad411 has quit
Guest62920 has quit
Guest66 joined the channel
Guest66
Hi
markin
Hi Guest66
Guest66
I have a question regarding Stripe Checkout integration. Is this the right place to ask?
markin
Yeah
Guest66
So to launch the checkout process, you have first to create a Handler