These are chat archives for reactioncommerce/reaction

30th
Sep 2015
Bryan Wu
@cooloney
Sep 30 2015 00:00
Is that correct? since I copy the json settings from the document
It looks like the reaction.json should be like this
[
  [
    {
      "name": "reaction-stripe",
      "settings":{
        "mode": false,
        "api_key": "sk_test_xxxxxxxxxxxxxxxxxxxx"
      }
    }
  ]
]
Aaron Judd
@aaronjudd
Sep 30 2015 01:04
here’s a working example, sorry for the long paste:
[
    [
    {
      "name": "core",
      "enabled": true,
      "settings": {
        "public": {
          "allowGuestCheckout": true
        },
        "mail": {
          "user": "postmaster@mailgun.org",
          "password": "",
          "host": "smtp.mailgun.org",
          "port": 25
        },
        "openexchangerates": {
          "appId": ""
        },
        "services": [
          {
            "facebook": {
              "appId": "",
              "secret": ""
            }
                    }
                ]
      }
        },
    {
      "name": "reaction-paypal",
      "enabled": true,
      "settings": {
        "express_enabled": true,
        "express_mode": false,
        "merchantId": "",
        "username": "",
        "password": "",
        "signature": "",
        "payflow_enabled": true,
        "payflow_mode": false,
        "client_id": "",
        "client_secret": ""
      }
        },
    {
      "name": "reaction-google-analytics",
      "enabled": false,
      "settings": {
        "public": {
          "api_key": ""
        }
      }
        },
    {
      "name": "reaction-stripe",
      "enabled": true,
      "settings": {
        "api_key": ""
      }
        },
    {
      "name": "reaction-social",
      "enabled": true,
      "settings": {
        "public": {
          "autoInit": true,
          "appsOrder": [
                        "facebook",
                        "twitter",
                        "pinterest",
                        "googleplus"
                    ],
          "iconOnly": true,
          "faSize": "fa-2x",
          "faClass": "square",
          "targetWindow": "_self",
          "apps": {
            "facebook": {
              "appId": "",
              "version": "v2.1",
              "profilePage": "https://www.facebook.com/reactioncommerce",
              "enabled": true,
              "appSecret": ""
            },
            "twitter": {
              "enabled": true
            },
            "googleplus": {
              "enabled": true
            },
            "pinterest": {
              "enabled": true
            }
          }
        }
      }
        }
    ]
]
psst…. new reactioncommerce site launched.
Spencer Norman
@spencern
Sep 30 2015 01:05
Ooooh, pretty
Aaron Judd
@aaronjudd
Sep 30 2015 01:07
@spencern we’ve got a great quote on there from the best source of all
Spencer Norman
@spencern
Sep 30 2015 01:08
Just noticed that. Very nice. Nice docs too. :clap:
Aaron Judd
@aaronjudd
Sep 30 2015 01:10
getting there, slowly but surely!
this version has the PaaS built in for launching beta shops, but need a couple more days. :-( but this is a good teaser :shipit:
Spencer Norman
@spencern
Sep 30 2015 01:12
Pretty excited about the PaaS
Aaron Judd
@aaronjudd
Sep 30 2015 01:13
was discussed a little bit today on https://www.crowdcast.io/e/joshowens114
Rick Behl
@Nexus7
Sep 30 2015 01:13
Still quite new to reaction so excuse the question - how does the PaaS feature work?
Spencer Norman
@spencern
Sep 30 2015 01:15
I’ll check that one out. :+1:
Aaron Judd
@aaronjudd
Sep 30 2015 01:15
we’ll be offering a cluster server deployment from the command line, or as a normal software-as-a-service offering. you’ll be able to launch (like any closed source ecommerce platform does) from our site, but we’re working towards letting you also deploy your Reaction from the command line with your local changes (as docker containers) (to the same PaaS hosted cluster created earlier)
Rick Behl
@Nexus7
Sep 30 2015 01:16
so kind of like a shopify hosted solution of reaction?
Aaron Judd
@aaronjudd
Sep 30 2015 01:16
shopify + open source / custom deploy
both worlds in one.
Rick Behl
@Nexus7
Sep 30 2015 01:17
ok, got it
so I guess more like shopify meets galaxy?
we write the shop code and then you guys host it and support the platform it is hosted on?
Aaron Judd
@aaronjudd
Sep 30 2015 01:18
yes, except we’re setting up a mongodb replicate set (3 hosts) + app servers, and it will be scalable. (and support custom domains and custom ssl)
Rick Behl
@Nexus7
Sep 30 2015 01:18
cool
I guess you guys need to make a little money somehow ;-)
Aaron Judd
@aaronjudd
Sep 30 2015 01:18
I hope so!
Rick Behl
@Nexus7
Sep 30 2015 01:18
:thumbsup:
We all need to keep the lights on :-)
Spencer Norman
@spencern
Sep 30 2015 01:19
:moneybag: :dollar:
Rick Behl
@Nexus7
Sep 30 2015 01:19
Is there any info on pricing for the PaaS?
Mike Murray
@mikemurray
Sep 30 2015 01:20
1million dollars
jk
Aaron Judd
@aaronjudd
Sep 30 2015 01:20
I promise - competitive to both your current hosting costs, and also to a paid ecommerce platform. Pricing docs will be up in a few days though ;-)
Rick Behl
@Nexus7
Sep 30 2015 01:20
Bargain! I’ll take two!
Spencer Norman
@spencern
Sep 30 2015 01:20
/giphy shutup and take my money
lol I knew that wouldn’t work here
Rick Behl
@Nexus7
Sep 30 2015 01:21
@aaronjudd great, I will be interested to see that… but I also assume we have the option to write our own stores and host ourselves on AWS/Digital Ocean/etc?
Sara Hicks
@saralouhicks
Sep 30 2015 01:21
beta promotion: $45/month with annual plan or $50 month-to-month. as aaron said, pricing details will be up soon!
yes, you can host yourselves
Rick Behl
@Nexus7
Sep 30 2015 01:22
@saralouhicks Thanks
Sara Hicks
@saralouhicks
Sep 30 2015 01:22
no prob!
Rick Behl
@Nexus7
Sep 30 2015 01:22
Is there a page already on the site which details the benefits of the PaaS vs Self-Hosted?
Aaron Judd
@aaronjudd
Sep 30 2015 01:23
coming soon ;-) slow your roll! we’re still basking in the site launch. lol
Rick Behl
@Nexus7
Sep 30 2015 01:24
@aaronjudd Oops! Sorry, just got so excited that I found reactioncommerce a couple days ago and now maybe have the option of using an open-source Meteor solution for our next project :-)
Aaron Judd
@aaronjudd
Sep 30 2015 01:24
(I really think it boils down to: do you want to manage your own cluster or not)
Rick Behl
@Nexus7
Sep 30 2015 01:25
@aaronjudd Yes, I guess so… for a business with no dedicated devops people I guess that is an important point...
Aaron Judd
@aaronjudd
Sep 30 2015 01:26
oh - and our PaaS (Launchdock 2) will support any docker containers as well :clap:
Rick Behl
@Nexus7
Sep 30 2015 01:27
The one thing which certainly I and maybe that means others might have a concern about is what happens to the pricing after Beta… With these things we do worry about investing time, effort and money developing a product on a Beta platform and then the pricing jumps 10x a few months after release… transparency is important for customer trust I think….
Aaron Judd
@aaronjudd
Sep 30 2015 01:29
yeah, that’s not going to happen, but it’s a valid concern. - we’ll have to doc something up on that.
Rick Behl
@Nexus7
Sep 30 2015 01:29
:thumbsup:
@aaronjudd Just trying to give you some honest feedback, hope you don’t mind… I’m sure you guys know all this stuff already ;-)
Aaron Judd
@aaronjudd
Sep 30 2015 01:31
it’s all good, the more the better. we really appreciate all, and any feedback. we want to solve problems, not create new ones :thumbsup:
Rick Behl
@Nexus7
Sep 30 2015 01:31
Good stuff!
I’m going to try and get going on my first reactioncommerce experiments today
Aaron Judd
@aaronjudd
Sep 30 2015 01:32
awesome
Rick Behl
@Nexus7
Sep 30 2015 01:33
One last thing… Our business is based out of Singapore and Hong Kong…. and we are primarily targeting those two markets with our project first… Are there any issues that I should be aware about due to our location? Language support/Payment Gateway suppport/etc?
Aaron Judd
@aaronjudd
Sep 30 2015 01:35
not that I’m aware of. We’ve had some detailed discussion with some folks in both places before. The hardest thing that I’m aware of right now is some of the new tax rules taking affect in countries in Asia (as well as in Europe). We’ve not begun work on a tax manager yet - so feel free to create issues for any requirements you need - the more info the better
Rick Behl
@Nexus7
Sep 30 2015 01:36
@aaronjudd Thanks, will do
hrath2015
@hrath2015
Sep 30 2015 04:06
Congrats to RC team @aaronjudd @saralouhicks and @mikemurray . Impressive site.
Sara Hicks
@saralouhicks
Sep 30 2015 04:13
@hrath2015 thanks!
Mike Murray
@mikemurray
Sep 30 2015 04:24
@hrath2015 thank you!
Rick Behl
@Nexus7
Sep 30 2015 04:30
a bit of feedback… when I ran the /bin/clone-packages.sh from a normal mac osx iterm the script ran but would exit somewhere near the end and close the terminal window automatically? I switched over from bash to zsh this morning and it seems to have gone through without this problem now….
Mike Murray
@mikemurray
Sep 30 2015 04:31
@Nexus7 thats odd behavior, it shouldn't behave that way in bash
Rick Behl
@Nexus7
Sep 30 2015 04:32
@mikemurray : yeah, I thought it was a bit odd…. I can try it again and see if I can re-create
@mikemurray : ok, that was a bit odd…. seems to work ok now :-(
Mike Murray
@mikemurray
Sep 30 2015 04:37
magic
Rick Behl
@Nexus7
Sep 30 2015 04:37
@mikemurray : that’s amazing how you did that ;-)
Mike Murray
@mikemurray
Sep 30 2015 04:37
magicians never give away their secrets
Rick Behl
@Nexus7
Sep 30 2015 04:38
LOL
Rick Behl
@Nexus7
Sep 30 2015 04:46
First thoughts : This is neat!
Mike Murray
@mikemurray
Sep 30 2015 04:49
:thumbsup:
Rick Behl
@Nexus7
Sep 30 2015 08:01
hmmm… trying to create a first test order… I think I have added the Paypal testing credentials but when I get to the checkout page I see the ‘No payment methods are configured message’… any advice?
Goutham Veeramachaneni
@gouthamve
Sep 30 2015 08:08
Wow, a little late to the party but an impressive site!
I liked the old logo though :)
Rick Behl
@Nexus7
Sep 30 2015 10:19
Doh! Just found out that I needed to click the ‘+’ button after setting up the paypal credentials to ‘enable’ it on the site… was not so obvious...
Aaron Judd
@aaronjudd
Sep 30 2015 15:35
@Gouthamve you’ll get used to the new logo. Just think it as an “R” laying down :laughing:
@Nexus7 that’s just an excuse for @mikemurray to change them to toggle buttons ;-)
Goutham Veeramachaneni
@gouthamve
Sep 30 2015 15:42
I am already getting used to it :P Also is it just me or is the features/roadmap page not loading any data.
Aaron Judd
@aaronjudd
Sep 30 2015 15:43
loads for me… any error in the console?
hrath2015
@hrath2015
Sep 30 2015 15:45
@aaronjudd Is all Merged and synced with Master now or we wait?
Goutham Veeramachaneni
@gouthamve
Sep 30 2015 15:46
Woah, 56 errors saying
WebSocket connection to 'wss://reactioncommerce.com/sockjs/076/j64xx36t/websocket' failed: WebSocket is closed before the connection is established.
I think its my university proxy, damn. Its kind of annoying :(
Aaron Judd
@aaronjudd
Sep 30 2015 15:48
@hrath2015 not yet, shooting for end of week to merge everything. Had a few delays (we had planned to do release this all at once, but well… that might have been overly ambitious). Stilling cleaning up ES6 and finishing the new order workflow, then we’ll merge everything together.
hrath2015
@hrath2015
Sep 30 2015 15:49
sure thing. Will wait.
Aaron Judd
@aaronjudd
Sep 30 2015 15:50
@Gouthamve weird. but everything else is ok? that’s typically an error you’ll see when websockets aren’t being passed through the proxy. @jshimko any ideas?
however, meteor should fall back, and still work - in my experience. so that’s a little strange that you’re getting blocked - it’s a db driven page, just like the docs.. (and that works for you?)
hrath2015
@hrath2015
Sep 30 2015 15:57
Any provision to launch Demo site similar to Alpha?
Aaron Judd
@aaronjudd
Sep 30 2015 16:01
yes, it’s wired up and working, we’ll launch that with the beta. It may be “gated” in the beginning while we monitor the first couple clusters, as we’re still tuning on a couple of issue (like rolling db backups, and a control panel from within Reaction).
hrath2015
@hrath2015
Sep 30 2015 16:02
thanks
hrath2015
@hrath2015
Sep 30 2015 16:13
I am also getting warning in console. I am on internet no proxy.
'wss://reactioncommerce.com/sockjs/658/sw0brnmm/websocket'; failed: WebSocket is closed before the connection is established.
Goutham Veeramachaneni
@gouthamve
Sep 30 2015 16:37
Yep, its my proxy. And I just went tested it on a proxy-less line, and the docs and features are loading properly :thumbsup:
Aaron Judd
@aaronjudd
Sep 30 2015 16:47
:thumbsup: I wonder what they’re filtering that’s causing that…
@hrath2015 but you’re seeing the features page?
Rick Behl
@Nexus7
Sep 30 2015 17:02
hmmm… managed to get an order placed but saw this error on the server logs…
I20151001-00:57:04.329(8)? 16:57:04.329Z INFO core: Created orderId jBpF7KDebgmzu9m2T
I20151001-00:57:04.359(8)? 16:57:04.358Z INFO core: no existing cart. created: 4F8tGQQ4scwLgQFwd for G9JB7tovXcBbEhFKf
I20151001-00:57:04.693(8)? Exception while invoking method 'cart/submitPayment' TypeError: Cannot read property '_id' of undefined
I20151001-00:57:04.693(8)? at [object Object].doValidate (packages/aldeed_collection2/packages/aldeed_collection2.js:298:1)
I20151001-00:57:04.694(8)? at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/aldeed_collection2/packages/aldeed_collection2.js:177:1)
I20151001-00:57:04.694(8)? at server/methods/cart.js:158:43
I20151001-00:57:04.694(8)? at [object Object]._.extend.forEach (packages/mongo/mongo_driver.js:1023:1)
I20151001-00:57:04.694(8)? at [object Object].Cursor.(anonymous function) [as forEach] (packages/mongo/mongo_driver.js:870:1)
Aaron Judd
@aaronjudd
Sep 30 2015 17:03
got that covered in new branch I’ll publish today (beta stuff)
Rick Behl
@Nexus7
Sep 30 2015 17:05
oh, cool!
Goutham Veeramachaneni
@gouthamve
Sep 30 2015 17:09
@aaronjudd what about the themes? Did you find someone?
Aaron Judd
@aaronjudd
Sep 30 2015 17:11
not yet - looking for some good partners there...
Rick Behl
@Nexus7
Sep 30 2015 17:17
Once an order has completed why do I get prompted for an email address for order updates? as I already entered one during the checkout process I thought?
Aaron Judd
@aaronjudd
Sep 30 2015 17:18
it should display the email that you used, instead of prompting for the address. I’ll take a look today, that could be a bug
Rick Behl
@Nexus7
Sep 30 2015 17:19
Yes, it has a blank field
Aaron Judd
@aaronjudd
Sep 30 2015 17:19
ok, yeah - I suspect I know what happened there.
Rick Behl
@Nexus7
Sep 30 2015 17:19
But at least I got an order through :-) and it looks like that server side bug on the submitPayment has cleared :thumbsup:
Vibhas Goyal (Vigo)
@vibhas77
Sep 30 2015 17:20
Hi, I am a new guy here. I wanted to know that if I wish to build themes for the clients of reaction commerce. Then what all technology must I be proefficient in to make such themes?
Aaron Judd
@aaronjudd
Sep 30 2015 17:24
@vibhas777 welcome! if you are comfortable with bootstrap and less (and by implication, css,html, some js) then take a look at https://reactioncommerce.com/docs/development/themes and https://reactioncommerce.com/docs/development/reaction-core-theme
Goutham Veeramachaneni
@gouthamve
Sep 30 2015 17:26
Yep, I realised that the bug comes when you activate a new payment provider (I only tried for COD) for the first time. Once you restart the server, it automatically disappears. I thought it was due to a pull, but nope.
*I thought the bug cleared due to a git pull
Spencer Norman
@spencern
Sep 30 2015 17:29
@aaronjudd - @paulgrever is working on a package that uses some Order Hooks and we’ve started documenting the hooks and writing examples on how to use them. Is reaction-core/docs/orders.md a good place to put them or would hooks.md be better?
perpi
@perpi
Sep 30 2015 17:30
Hey there :)
Can we use this good-looking app in Persian?
This message was deleted
Aaron Judd
@aaronjudd
Sep 30 2015 17:31
@spencern maybe a little of both (but probably more in orders.md)
@perpi not translated yet, but we have support for RTL, so I’d say yes. we have Arabic and Hebrew translations, so structurally I’m guessing Persian is similar?
perpi
@perpi
Sep 30 2015 17:43
Issues with Persian:
  1. Yep, If it's translatable to Aribic, completely will be traslate to Persian, too. Good News.
  2. {EDITE: this question is answered by @spencer} We write and read from right side of pages to left, it's called usually as rtl. Is REACTION available in rtl mode? If it's handle completely in CSS for the theme, it probably supports rtl with some hooks.
  3. We have our calendar called 'Jalali' or 'Hejri-Shamsi'. Can we add it to REACTION someway? You can see our calendar available for Wordpress here: https://wordpress.org/plugins/wp-jalali/
  4. We cannot use international services such as credit cards, it's because of USA sanctions against Iran, although by coming agreement between Iran and USA, sanctions will disappear from 2016, but we still usually use our bank services! You can find an Iranian bank plugin for Woocommerce here: https://wordpress.org/plugins/mellat-woocommerce/
Aaron Judd
@aaronjudd
Sep 30 2015 17:44
Yes, to all of that, except # 3 - we’re using moment.js for handling dates - which I think has support, but we’ve not really looked into the calendar differences, or what needs to be done.
on # 4 you’d probably need to build a payment provider package - which isn’t too tough, but there are others with similar requirements so maybe the community can step in to help
re: # 3 I think we’d just have so add some configuration to have moment switch locales, and a way to configure the calendar format.
Vibhas Goyal (Vigo)
@vibhas77
Sep 30 2015 17:53
hey @aaronjudd minor bug on your website. The links to your docs are always redirecting to the introduction ie. when I directly access in https://reactioncommerce.com/docs/development/reaction-core-theme it automatically redirects to https://reactioncommerce.com/docs/development/intro
Aaron Judd
@aaronjudd
Sep 30 2015 17:56
thanks, looks like all the directs are doing that. too much clever baked in.
Paul Grever
@paulgrever
Sep 30 2015 21:20
REACTION___Dashboard_orders.png
I have been documenting the Hooks for Order process and I may be missing something, but I am not getting the processPayment (which in turn calls the paymentProcesses) method called, during the order fufillment flow. From my digging it looks like the method shipmentPacking method calls the paymentProcessing, and the shipmentPacking method is triggered from a button click on the coreShipmentPacking template. But I am not seeing this button/option as an admin in the order flow. Attached is an image of my options, my thought is that there should be another stage in the fulfillment flow?
Aaron Judd
@aaronjudd
Sep 30 2015 21:55
I think we’ve been sort of thinking of documents as “start packing”. good timing right now, because this is exactly what we’re working on (adding states to each of these to show the current info for each state, i.e.: tracking numbers, when you’ve added them,etc).
maybe it should just be a single step “ShipmentPacking”, and “print docs” is a button there. rather than a step?
ie, my earlier thinking was more along the lines of “print docs to start packing. mark as shipped once the order is packed”