These are chat archives for reactioncommerce/reaction

12th
Dec 2014
Taylor Smith
@taylorsmithgg
Dec 12 2014 00:40
Yes, exactly.
It seems directly linked to iron router, but I haven't been able to find anything so far. Still looking into it.
Aaron Judd
@aaronjudd
Dec 12 2014 00:42
yeah - the Router.go “cartCheckout” works fine called by itself, but if you watch real close when you click on the button it’s going there and redirecting back to /
and you can go to http://localhost:3000/checkout without problems - which is why I didn’t notice
Aaron Judd
@aaronjudd
Dec 12 2014 01:09
@taylorsmithgg fixed - that was an anchor tag, and without preventing event.propogation it was going to #. I changed the button to a span, rather than a stop propagation
might be more cases of this, the timing of iron-router interecepting events must have changed
but it’s not like that needs to be an anchor link for any reason (but in other places it might be)
Taylor Smith
@taylorsmithgg
Dec 12 2014 01:31
Then it looks like I'm going back to debugging. Thanks for the fix!
Aaron Judd
@aaronjudd
Dec 12 2014 01:32
:thumbsup:
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:11
Shipping options?
Aaron Judd
@aaronjudd
Dec 12 2014 02:12
?
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:15
Made it to the shipping screen of checkout "no shipping options enabled." Easiest method to add shipping option to db?
Aaron Judd
@aaronjudd
Dec 12 2014 02:16
the new shipping package I’m working on is very preliminary, but if you want to use it, it will work to add 1 method right now ;-) - I should have more functionality over the next couple days
just clone that and link into your packages dir
and add “reactioncommerce:reaction-shipping” to .meteor/packages
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:17
ah excellent. I was dreading the idea of having to configure my admin to edit the collection -.-
Aaron Judd
@aaronjudd
Dec 12 2014 02:17
this will give you a link in checkout to add rates (as well as in admin)
very much a work in progress though ;-)
there’s about 8 million fields in shipping -> having challenges designing the UI to be easy, lol
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:21
I can imagine. Looking through the package now.
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:23
Only downside I see to its current state is that it isn't showing up as an installed app
lovetostrike
@lovetostrike
Dec 12 2014 02:23
hello all, just dropping by to say hi :smile:
Aaron Judd
@aaronjudd
Dec 12 2014 02:24
@taylorsmithgg I hate to say this, in case you have data stored, but after adding to packages, you may need to do a ‘meteor reset’ and restart -> I’ve got to do some fixes to make sure it gets autoloaded
@lovetostrike hi!
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:25
Ouch, but considering the convenience of everything else, I'd say that's hardly an issue.
Any input on how to process an order without entering valid credit card credentials?
Aaron Judd
@aaronjudd
Dec 12 2014 02:27
If you’ve added some test credentials to setttings.json (or configured in admin) you should be able to use these: http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm
dates, cvv, etc will all pass (as long as date in in future)
I actually just use an old expired credit card I have have bookmarked ;-)
Everest Liu
@evliu
Dec 12 2014 02:28
i just use the test ones from paypal sandbox
Aaron Judd
@aaronjudd
Dec 12 2014 02:30
re: shipping I’m not sure that v.0.2.2 has the correct changes to handle the new shipping format -> so you might want to use the shipping branch if it doesn’t work -> that’s current with 0.2.2 at the moment
I’m pretty close to having the core changes locked down for this though, not expecting a lot of changes there, mostly the changes will be in the reaction-shipping package
for everyone’s input -> I’m planning on adding one external API service as well, before I’m done with the shipping package - right now I’m favoring postmaster.io
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:35
+1 for postmaster.
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:43
how well does stripe integration work
Aaron Judd
@aaronjudd
Dec 12 2014 02:46
I haven’t tested that package, and it’s a few version behind - I was planning on updating all those payment packages and test with v0.2.2 before releasing. the new shipping stuff is taking me longer than I thought (mostly because I managed to increase the scope beyond what should be in a single release). The reason I started working on shipping is I wanted to get a new package format for both shipping, taxes, and payment where they were all basically the same structure and could easily be cloned and modified for new methods
I probably need 2-3 days more on shipping then I will hit the payment packages
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:47
Hey, no worries. I'll keep you posted on my progress integrating them.
Aaron Judd
@aaronjudd
Dec 12 2014 02:47
(or anybody else wants to contribute - that’s cool too)
Taylor Smith
@taylorsmithgg
Dec 12 2014 02:58
"must be an integer" restriction in shipping package
Aaron Judd
@aaronjudd
Dec 12 2014 03:00
hmm, I need to run, the values in the screenshots worked for me. I’ll check it later
Taylor Smith
@taylorsmithgg
Dec 12 2014 03:27
For some reason, in multiple scenarios address selection in checkout is broken. No errors in console.
Aaron Judd
@aaronjudd
Dec 12 2014 06:35
@taylorsmithgg addresses are working as expected for me, I just tested. let me know if you have more details. I’ll have better shipping entry stuff tomorrow
Stefan Smiljkovic
@shtefcs
Dec 12 2014 09:56
guys seems u are spending quite good time working on reaction
nice to see that
postmaster.io looks cool, not sure yet exactly what they provide but will check out
@aaronjudd is there any reaction shop which is live in production ? I want to start my shop soon we finish canvas editor and integrate it, is there anything it need to be done on e Reaction before I can use it ?
I am really willing to build my shop on reaction , so that can be testing project which will open new features, fixes, bugs
Stefan Smiljkovic
@shtefcs
Dec 12 2014 10:10
this site is actually useful https://www.theprintful.com/api
Aleksei Mironov
@alexmironof
Dec 12 2014 10:39

Hi! I am trying to set up reaction in production on all4climat.ru

But there are so many issues, that my head will blow up soon :)
There we made a package called reaction-theme-climat and it overwrites templates and adds a simple sidebar wich is more common for ecommerce sites(I think so).

Also we want to use separate packages for this sidebar(and all of this work would be open source soon).

Aleksei Mironov
@alexmironof
Dec 12 2014 10:49

Forgot about little parser for sql files wich we use to import products from our partners website, but it simple and hardcoded too much to make universal package for it.

But we think about it, also it would be configurable and support csv, xml and html formats. (just for now it uses regexes, but cheerio is preferred)

Also there is simple package for static page management wich can be found here reaction-static-pages
Aaron Judd
@aaronjudd
Dec 12 2014 11:18
@kefirchik happy to help with any issues you are having with deployment or code or whatever…
site came up for me, a little slow at first, but that might be a problem with the load dependencies, once it came up it was fine
of course - I don’t understand anything on the site, being it’s russian ;-)
we should start a list of packages somewhere - I saw that static pages one just a few days ago
Aaron Judd
@aaronjudd
Dec 12 2014 11:27
@shtefcs we don’t know if anyone is using it in production except maybe @kefirchik - so great to hear people are trying though - I’m available to help anyone try though
we’ve got a long roadmap of stuff still before we’ll call it production ready for the ‘masses’, but as long as you’re willing get under the covers and really just need the ‘cart’ aspects, I think it’s useable for many simple shops. most of the work I’m doing now is is going to be in more payment, shipping, promotions and the fulfillment workflow, and I think most of those will be pretty far along within 30-60 days. We’re also working on deployment solutions (which isn’t really hard, but there is a learning curve to deploying meteor for sure)
Aleksei Mironov
@alexmironof
Dec 12 2014 11:34

@aaronjudd Thanks a lot! However u can see products and variants with some pics there and it is very very nice to hear :) We plan to start up a new shop with shoes accesories and it wil be really huge, so we can test load times etc (its about 1000 categories and ~15000 products there)
I need to collect my thoughts before I can tell or ask u smth comprehensible :)

I think when source of theme will be uploaded, so we can see all the shades, it will be clear to understand what we need to refactor etc.

Aaron Judd
@aaronjudd
Dec 12 2014 11:35
always happy for pull requests, but I’ll incorporate any feedback we get as well - this chat room has already been great for the feedback
shoes should work nicely - we’ve got a lot of “fashion” (clothing,shoes) etc experience so we thought a lot about those kinds of products (and less about downloadable or configurable products)
we’ve tested running up to 3000 shops on 3 R32XLarge AWS servers with a database cluster with sustained 20,000 connections
the database is the biggest bottleneck
we’ve not tested max load of a single shop, but it should be easier / better than our current tests
I should write a .md or blog post on scaling and database stuff - we’ve done a lot of testing/work there - I’m sure that would be helpful
Aleksei Mironov
@alexmironof
Dec 12 2014 11:40
Yeah! this chat is awesome :)
shoes is more easier than air conditioning, cause there not so many variants and options and we already parsed categories and will load them soon
nice to hear it! big numbers looks good for me :) we work mainly with big shops or catalogs
Aaron Judd
@aaronjudd
Dec 12 2014 11:41
there’s going to be a lot of perfomance tweaks - and I also think the core meteor team is working on a bunch of performance stuff as well for the next release
Aleksei Mironov
@alexmironof
Dec 12 2014 11:42
hmmm this is good, is it about server-side rendering?
Aaron Judd
@aaronjudd
Dec 12 2014 11:42
you might want to hook up kadira to get ideas on how things are performing
SSR is a big talk right now as well as more “on demand” delivery (so not loading all code at once) and more efficient database syncing are some other things I see being discussed in the meteor development
Aleksei Mironov
@alexmironof
Dec 12 2014 11:44
oh I see, I just cant get around kadira now :(
with SSR meteor would be crazy awesome!
Aaron Judd
@aaronjudd
Dec 12 2014 11:45
yeah, I think a lot of this stuff will iron itself out in the next couple release (both of reaction and meteor)
actually had dinner with Chris Mathers (iron router) last night - I should have got his thoughts on iron router and SSR (darn. I’ll have to email him)
Aleksei Mironov
@alexmironof
Dec 12 2014 11:47
:) dont worry I think there is so much time for everything to get done :) cause meteor saves a lot of time
Aaron Judd
@aaronjudd
Dec 12 2014 11:48
yeah it will never end ;-) good thing - as a coder - it’s really fun and that’s what is most important
Aleksei Mironov
@alexmironof
Dec 12 2014 11:48
yeah ure right :)
I love reaction cause it about 5k line of code (I think so), comparing to prestashop or other solutions :)
Aaron Judd
@aaronjudd
Dec 12 2014 11:51
it’s always cool when something complex ends up being 20 lines - I’m always amazed
of course, there’s nothing easy about e-commerce - still a lot to understand -> but we’re working on the developer documentation :thought_balloon:
Aleksei Mironov
@alexmironof
Dec 12 2014 11:52
If we have amount of loc same like in presta it will be the best ecommerce app ever created!
Aaron Judd
@aaronjudd
Dec 12 2014 11:53
:thumbsup:
Aleksei Mironov
@alexmironof
Dec 12 2014 12:02

I think the hardest feature is to understand how could we make it more pre-configurable: I mean (like in presta) u can choose whether or not use a cart and checkout process, sometimes people need just a catalog (like in wholesales) where customer can send just simple request for price or quantity with his name,email and wich product he wants, and salesman contacts him later
maybe some configurations for languages(multilang or not), for currency(multicurrency or not)

I know its a dark forest with no footpath but its very interesting to rethink all this futures :)

Aaron Judd
@aaronjudd
Dec 12 2014 12:06
in the AM (it’s actually 4am here now) we’re having an all day jam on the product roadmap and getting a better more detailed vision up for everyone. a walkthrough setup style / tutorial are in the works and high on the list though
I hadn’t thought about the languages - but that’s a good idea - we could add on/off language selector. the reason we stored all that in collections is because I plan on building admin tools for managing languages and currencies eventually as well
Aleksei Mironov
@alexmironof
Dec 12 2014 12:10
oh I see... Ill stay tuned with roadmap(need to check trello also :))
For me this looks great, also admin editing for languages will be amazing :)
Aaron Judd
@aaronjudd
Dec 12 2014 12:12
we’ve not kept trello up to date - I’m not sure it’s my favorite tool
Aleksei Mironov
@alexmironof
Dec 12 2014 12:12
I think shop owners when they just getting started actually dont know whether they need multilang or not, but when they grows up this future becomes a must have :)
ahaha yeah, planning tools sucks :) I hate planning
Aaron Judd
@aaronjudd
Dec 12 2014 12:14
re: languages - most of the people we’ve had getting involved early (like yourself) are not english/us based - initially it wasn’t on the early roadmap - but because of the world audience we decided it was must have (and I’m really glad we did)
sometimes I think the rest of the world “gets” open source better than we do here in california, lol
Aleksei Mironov
@alexmironof
Dec 12 2014 12:16
btw there is 500 stars from all over the world :) so it was the right decision
I think u do the best! keep it up :)
Aaron Judd
@aaronjudd
Dec 12 2014 12:17
:clap: agreed. ok - I’m going to code now
Aleksei Mironov
@alexmironof
Dec 12 2014 12:18
:+1: ok :) me too, ill try to put my works on git as soon as possible
Aleksei Mironov
@alexmironof
Dec 12 2014 12:22
hmm sound good :) Ill test it after I can figure out how to move my theme to v0.2.2(cause of separate bootstrap package It crashes at all :()
Aaron Judd
@aaronjudd
Dec 12 2014 12:23
yeah, sorry about that - it was a big change, you could make your own theme package
clone the core-theme, and copy all your less files in,etc
https://github.com/reactioncommerce/reaction-core-theme hopefully the docs here help you, let me know if you have any issue if you go that route - I haven’t tested using more than one theme package
or, now you should be able to move your theme changes all into the app client/themes
Aleksei Mironov
@alexmironof
Dec 12 2014 12:25
oh dont care, it is good practice for me :)
ok ill test it out, and i want to separate packages for less and for replacing templates
Aleksei Mironov
@alexmironof
Dec 12 2014 12:26
ok thanks :) ill check it now
@aaronjudd can u check this please http://all4climat.ru/product/ajh-lclah
in the product view I see an image, but in the products grid there is a placeholder :(
grid is here
Aaron Judd
@aaronjudd
Dec 12 2014 12:28
hmm, it should take the first image assigned to the first variant in the grid
Aleksei Mironov
@alexmironof
Dec 12 2014 12:30
it works almost everywhere except this one... maybe there was an error in upload process or smth
Aaron Judd
@aaronjudd
Dec 12 2014 12:30
I’m thinking one of the variants might have a bad image entry - I’d click on each variant when edit and see if there is something funky
Aleksei Mironov
@alexmironof
Dec 12 2014 12:33
hmm nothing strange there, ok, ill test it little closer, i have a bunch of pics need to be uploaded there :)
Aaron Judd
@aaronjudd
Dec 12 2014 12:33
when you upload another pic there, you can drag and drop the image placement - that should reset what is #1 in the db
btw- the site is actually very fast from here
Aleksei Mironov
@alexmironof
Dec 12 2014 12:42
it works no, i had to reupload image and drag 2 copies of them a little bit :)
Aaron Judd
@aaronjudd
Dec 12 2014 12:43
cool, I’ll do some testing when I get a chance and see if I get it screw up for me
Aleksei Mironov
@alexmironof
Dec 12 2014 12:44
I had a server on digital ocean, maybe some lags before was because of other processes
nice thanks! Ill report if i had this issue and try to catch smth in console maybe if appears
Aleksei Mironov
@alexmironof
Dec 12 2014 13:54
@aaronjudd release condidate is very fast! :+1:
even if I run just with meteor
Aaron Judd
@aaronjudd
Dec 12 2014 13:57
yeah, it’s pretty great - that’s how it used to be before 1.0 - sweet!
for anyone else who want their lives improved:
meteor update --release 1.0.2-rc.1
meteor --settings settings/settings.json
Everest Liu
@evliu
Dec 12 2014 18:50
and i thought the refresh slowness on saving a javascript file was just my instance :P
Everest Liu
@evliu
Dec 12 2014 22:02
Do you guys know where I can find the FS.Utility class on github for CollectionFS?
Taylor Smith
@taylorsmithgg
Dec 12 2014 22:06
yes I do actually lol
Everest Liu
@evliu
Dec 12 2014 22:07
which repo is more the question, lol
i’d like to see where FS.Utility.eachFile comes from and why it can find the file while there are no files in the event object when i look at it
Taylor Smith
@taylorsmithgg
Dec 12 2014 22:08
Meteor-CollectionFS
I ran into the same problem, installed dependencies and it
's all good
Everest Liu
@evliu
Dec 12 2014 22:10
i saw that but i’m looking more for the source or docs for the added FS.Utility functions (everything that went through FS.Utility.extend(…)
nvm found it
Taylor Smith
@taylorsmithgg
Dec 12 2014 22:13
Cool
You wouldn't happen to know how to configure the checkout to use one of the payment packages would you?
Everest Liu
@evliu
Dec 12 2014 22:14
nope, that’s my next task after the current one, but the current one is a pretty big undertaking so it may be a bit before i get there
Taylor Smith
@taylorsmithgg
Dec 12 2014 22:16
figured it out, actually...
There's a template for each payment
Everest Liu
@evliu
Dec 12 2014 22:16
feel free to document it :D
Taylor Smith
@taylorsmithgg
Dec 12 2014 22:16
so you just go to client->cart->checkout->payment->methods->cards.html
add template for payment
Then include it on payments.html
Everest Liu
@evliu
Dec 12 2014 22:42
got it
Taylor Smith
@taylorsmithgg
Dec 12 2014 22:44
Let me know if you get it working.
Taylor Smith
@taylorsmithgg
Dec 12 2014 23:03
Have you been able to use paypal?
I keep getting internal server error
Ben Stocks
@bstocks
Dec 12 2014 23:06
the basic documentation for creating reaction packages is here: https://github.com/reactioncommerce/reaction-core/blob/master/docs/packages.md — I’ve got adding more detail to this on my list
@taylorsmithgg - It was working for me the last time I tried it, but that was a little while ago. Aaron was doing some work on the payment packages, but I know he’s working on some other pressing items at the moment.
Aaron Judd
@aaronjudd
Dec 12 2014 23:26
hey guys.. regarding paypal: if you’re on v.0.2.2 you’ll also need to clone the https://github.com/reactioncommerce/reaction-paypal/tree/v0.1.4---core-v-0.2.2 branch I think
the way the packages work, I only publish the packages to the meteor package system for the current master branch
Taylor Smith
@taylorsmithgg
Dec 12 2014 23:28
@aaronjudd I cloned the master branch of reaction and same error
no additional packages
Aaron Judd
@aaronjudd
Dec 12 2014 23:28
hmm.. ok let me test it -> it was working for me a few days ago
what was the error?
Taylor Smith
@taylorsmithgg
Dec 12 2014 23:31
internal server error
with mode box unticked
with box ticked it was invalid client credentials
Aaron Judd
@aaronjudd
Dec 12 2014 23:36
@taylorsmithgg I pm’ed you our test credentials if you want to check with those. my stuff is torn apart at the moment for the shipping so I can’t test right this second
Taylor Smith
@taylorsmithgg
Dec 12 2014 23:37
It's no issue. It could easily be a bug. If I happen to fix it, I'll relay the solution.
Not sure how to check pm
Aaron Judd
@aaronjudd
Dec 12 2014 23:41
lol, I’m not sure either - I’m assuming it pops up on the left bar of gitter? that’s where I see it
Taylor Smith
@taylorsmithgg
Dec 12 2014 23:42
that's odd, I don't anything there.
Aaron Judd
@aaronjudd
Dec 12 2014 23:43
I’m using the desktop client and I have to stretch the window to be big enough before those things show
Taylor Smith
@taylorsmithgg
Dec 12 2014 23:44
ah, that may be why. I'm using web client.
Aaron Judd
@aaronjudd
Dec 12 2014 23:45
I just checked, same behaviour there.. maybe there’s some other secret… I’m still discovering gitter’isms as well