These are chat archives for reactioncommerce/reaction

9th
Mar 2017
Brent Hoover
@zenweasel
Mar 09 2017 00:00
but if I refresh it’s gone
Basic_Reaction_Product.png
and is clean for new users
Mateo Morrison
@mateomorrison
Mar 09 2017 00:10
Correct, seem like the same to me.
I added a logo, but text (shop title) keeps showing. How to "hide" it?
Brent Hoover
@zenweasel
Mar 09 2017 00:11
You would probably want to create a plugin that contains your custom styling
Mateo Morrison
@mateomorrison
Mar 09 2017 00:40
There is no any quickstart to building it?
Patrick Artounian
@partounian
Mar 09 2017 00:42
Quick start?
Brent Hoover
@zenweasel
Mar 09 2017 00:49
You can go through the Customization Guide and along with that there is an Example Plugin that can serve as a “Quick Start"
Sna Nilim
@aiaoio
Mar 09 2017 03:21
Im new with reaction commerce...
Should i use reaction Commerce default Admin Panel or MY Custom Admin Panel?
Brent Hoover
@zenweasel
Mar 09 2017 03:21
You should use the Reaction admin panel
tkdanhpro
@tkdanhpro
Mar 09 2017 03:22
@zenweasel Dear sir, I try to replace some translations in private/data/i18n/vi.json and restart server. but nothing changes. what can i do to edit some translations sir?
Brent Hoover
@zenweasel
Mar 09 2017 03:22
you need to do a reaction reset
translations are not loaded one time into the db and then accessed from there
I think there might be a flushTranslations method you could call as well, but reaction reset is easier
Sna Nilim
@aiaoio
Mar 09 2017 03:23
How I find reaction commerce admin panel and customize it?
Brent Hoover
@zenweasel
Mar 09 2017 03:24
most of the code is in import/plugins/core/dashboard
Sna Nilim
@aiaoio
Mar 09 2017 03:25
can i set main category and sub category...... and my custom sorting
?
ok I need a tutorial to build a custom e-commerce........
can any one help me?
Sna Nilim
@aiaoio
Mar 09 2017 03:32
Thanks Brent Hoover
Brent Hoover
@zenweasel
Mar 09 2017 03:32
:+1:
tkdanhpro
@tkdanhpro
Mar 09 2017 03:36
@zenweasel OK sir, I use reaction reset and it's done. Thank you very much!
Brent Hoover
@zenweasel
Mar 09 2017 03:36
:+1:
Sna Nilim
@aiaoio
Mar 09 2017 03:38
Ok two things more.....
  1. should i use default theme or my custom theme?
  2. and where is default theme location?
Brent Hoover
@zenweasel
Mar 09 2017 03:39
  1. That’s really a question of preference
  2. imports/plugins/included/default-theme
Sna Nilim
@aiaoio
Mar 09 2017 03:45
i go there but i dont found html page.....
Brent Hoover
@zenweasel
Mar 09 2017 03:45
Pardon?
Sna Nilim
@aiaoio
Mar 09 2017 03:48
when i start reaction commerce i see a default template/theme...... i need this template/theme location.....
Brent Hoover
@zenweasel
Mar 09 2017 03:49
the default theme is in the location that I mentioned earlier imports/plugins/included/default-theme
avalara_js_-_reaction_-____Projects_js_reaction_.png
Sna Nilim
@aiaoio
Mar 09 2017 03:55
ok may be i make a mistake..... i see it again.....
Sna Nilim
@aiaoio
Mar 09 2017 06:08
Thanks Mr. Brent Hoover i finally found all needed files use your solution.......
Brent Hoover
@zenweasel
Mar 09 2017 06:09
:+1:
amp9020
@amp9020
Mar 09 2017 16:13
what is this analytics for? alt
mrhonest
@mrhonest
Mar 09 2017 16:43
is this on?
amp9020
@amp9020
Mar 09 2017 16:50
okay so it's segment.io
Dennis X
@TheNextCEO_twitter
Mar 09 2017 18:21
Is there still a docker development file? I am having problems with running reaction locally on my machine and would like to do development inside of docker? Is that even possible? If so, can you point me in the right direction?
Spencer Norman
@spencern
Mar 09 2017 18:22
I don’t think there’s a docker dev file right now. What OS are you on and what kinds of problems are you having getting RC running local?
Dennis X
@TheNextCEO_twitter
Mar 09 2017 18:26
Ok thanks. And I resolved the issue.
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:16
Hi All!
(yes, it's that damn squirrley Cooper again)...
Brent Hoover
@zenweasel
Mar 09 2017 22:16
Hello
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:16
Hi Brent!
Any trouble with the live instance of authorize.net?
Brent Hoover
@zenweasel
Mar 09 2017 22:17
Not that I know of
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:17
I'm getting an 'Error: Match failed [400]' no matter what I do.
Brent Hoover
@zenweasel
Mar 09 2017 22:17
yeah, that has to be from passing in wrong parameters
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:19
So, I'm embarrassed to ask, but in this case that means my AP Login ID and Transaction Key, yes?
Brent Hoover
@zenweasel
Mar 09 2017 22:21
well a match only fail if you pass in the wrong type of parameters, not bad credentials
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:21
Thanks Brent...what kind of parameters?
Brent Hoover
@zenweasel
Mar 09 2017 22:21
you should see the check calls on the method that’s failing
the data gets sanitized when sending to the client, but you should see more data in the server logs
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:22
I can tell you that, through the web interface, I select Authorize.net Live mode.
I enter the correct information.
I am struggling to understand how this is not sufficient when I hear that, "everything works fine" with the live Authorize.net transaction system.
Brent Hoover
@zenweasel
Mar 09 2017 22:24
well, when I test doing it with our credentials and live transaction I don’t know what else to do
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:24
I don't know how to do a check and since I'm running deployed (not local) the log file locations are not obvious as the docker container is stripped down.
Brent Hoover
@zenweasel
Mar 09 2017 22:24
the check is in the code
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:25
Is Reaction used with live transaction data?
Brent Hoover
@zenweasel
Mar 09 2017 22:26
Yes. I have personally tested it in Live mode
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:26
Alright. Thanks Brent. I confess I'm just baffled.
Tested as a guest account, right?
Brent Hoover
@zenweasel
Mar 09 2017 22:28
?
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:28
In other words, you've tested a live transaction as a guest with Reaction.
Brent Hoover
@zenweasel
Mar 09 2017 22:28
Both logged in and anonymous
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:28
Yeah.
Brent Hoover
@zenweasel
Mar 09 2017 22:29
I have tested it with both logged in and anonymous
# get a list of running containers
docker ps

# get the logs for a container by ID
docker logs -f <containerId>
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:29
Oh, tanks!
Brent Hoover
@zenweasel
Mar 09 2017 22:29
if you are running a production instance, you need to be able to look at the logs
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:29
That's super helpfull, Brent!!
look at logs <-- you're right (this is simulating deployed, yes)
Brent Hoover
@zenweasel
Mar 09 2017 22:30
You should see a more helpful error message from the check
it sanitizes it on the client-side but the server-side should give you the full details
if you get that data, we can move forward on how to debug it
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:31
Okay, I'll see what I can do to perform a check
Brent Hoover
@zenweasel
Mar 09 2017 22:31
no, you don’t need to perform a check
that’s the function that’s throwing that error
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:32
Oh, okay.
Brent Hoover
@zenweasel
Mar 09 2017 22:32
if you look at the code sample I showed you
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:32
Well, let's see what I can do here...
Here you go:
Exception while invoking method 'authnetSubmit' Error: Match error: Failed Match.Where validation in field cardNumber
at exports.check (packages/check.js:57:15)
at [object Object].Meteor.methods.authnetSubmit (imports/plugins/included/payments-authnet/server/methods/authnet.js:44:5)
I've checked that number, "six ways from Sunday."
I've used spaces, no spaces, etc.
Brent Hoover
@zenweasel
Mar 09 2017 22:33
it’s failing a Luhn check I think
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:34
Who's Luhn?
:)
Boys, "I got nothin'"
Brent Hoover
@zenweasel
Mar 09 2017 22:34
https://en.wikipedia.org/wiki/Luhn_algorithm
tl;dr it’s a generic formula for determining a valid credit card number
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:35
I know, Brent. :)
Brent Hoover
@zenweasel
Mar 09 2017 22:35
Who's Luhn?
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:35
lol
Brent Hoover
@zenweasel
Mar 09 2017 22:35
Have you tried another credit card number?
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:35
Yeah, that's going to have to be my next step.
But if that card fails and this card fails, well...
excuse me,
I mean, "if that card succeeds and this card fails" having verified both then, "we got problems."
Brent Hoover
@zenweasel
Mar 09 2017 22:36
we’re just trying to understand the problem
I tested it, but I didn’t test it with all possible combination of credit cards
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:37
Oh, I don't mean to sound harsh, thanks for your patience
Patrick Artounian
@partounian
Mar 09 2017 22:37
Hey guys! Back after two days or so. Funny enough during the discussion of CPU spikage my laptop died.
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:38
It knows.
Brent Hoover
@zenweasel
Mar 09 2017 22:38
@partounian Does that mean new laptop?
then :confetti_ball:
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:39
Brent, if I try this with a different credit card and re-verify, would you like me to report?
Patrick Artounian
@partounian
Mar 09 2017 22:39
I meant to say the battery died and I didn't connect it to a charger, but man the new Macbook's have nice specs.
My 2011 beats any Macbook out of the water until this past year though.
Brent Hoover
@zenweasel
Mar 09 2017 22:41
@cooperstevenson Yes
Patrick Artounian
@partounian
Mar 09 2017 22:43
I just found this thread, https://forums.meteor.com/t/meteor-bundle-on-production-100-cpu/30837/20 . Seems like some people saying downloading Node 4 instead of 6 helps them out.
D. Cooper Stevenson
@cooperstevenson
Mar 09 2017 22:44
@zenweasel Will do.