These are chat archives for reactioncommerce/reaction

22nd
Jun 2017
davidvm2
@davidvm2
Jun 22 2017 05:25
@kieckhafer Hi Erik, thanks, I've been able to sign up now using my github account, but Google is still not working, and I had been trying for a while now..
ottomMT
@ottomMT
Jun 22 2017 05:37
@hrath2015 no, is't ubuntu.Maybe it's the PATH problem ,but I didn't solve it yet...
hrath2015
@hrath2015
Jun 22 2017 05:38
yes that is Path problem
one of the user had it last month but on windows.
ottomMT
@ottomMT
Jun 22 2017 05:40
@hrath2015 so how to set a right PATH,about Node or npm, I have try many way ,but still not kill it
hrath2015
@hrath2015
Jun 22 2017 05:42
change we did was in AppData\Roaming\npm
my suggestion would be to start over again. uninstall node and npm.
ottomMT
@ottomMT
Jun 22 2017 05:48
ok,it's my last choice,i try to solve the path setting in order to understand it better
hrath2015
@hrath2015
Jun 22 2017 05:50
do u use nvm or standard nodejs package
Prakash
@prakashcubet
Jun 22 2017 09:38
Hi, My new custom plugin is not rendering correctly in RC. I followed the tutorial and created the Beesknees . How can I check the plugin is registered correctly or not in RC?
Brent Hoover
@zenweasel
Jun 22 2017 10:01
Have you checked your code against the code in the repo?
Prakash
@prakashcubet
Jun 22 2017 10:35
Can you please give the link to the cutom plugin repo ?
Daniel Honig
@dhonig
Jun 22 2017 11:34
@prakashcubet you could also connect to MongoDB, find your package by name in the packages collection and make sure the contents of your register.js appear correctly in MongoDB
Prakash
@prakashcubet
Jun 22 2017 11:40
Lemme check it. Thanks @dhonig @brent
Prakash
@prakashcubet
Jun 22 2017 11:48
I have checked the MonogDb . Package collection is registered with the content from my register.js. But whrn the core.js file component rendered, I'm getting the props value of template as "not-found"
Daniel Honig
@dhonig
Jun 22 2017 11:49
gist up your register.js and let us know the browser path
and what you expect to see
Prakash
@prakashcubet
Jun 22 2017 12:10
@dhonig https://gist.github.com/prakashcubet/e6272604f0579593e1d86c6eba874da8 I need to view the productslanding template when root is '/home'
hrath2015
@hrath2015
Jun 22 2017 12:17
try removing template: "home", this line
Prakash
@prakashcubet
Jun 22 2017 12:22
@hrath2015 no luck :(
hrath2015
@hrath2015
Jun 22 2017 12:22
did u do reaction reset
Prakash
@prakashcubet
Jun 22 2017 12:31
@hrath2015 Yes I have
Now my package collection looks like
    "_id" : "PJjAp53TdXrogR5zg",
    "name" : "beesknees",
    "shopId" : "J8Bhq3uTtdgwZx3rz",
    "icon" : "fa fa-vine",
    "enabled" : true,
    "settings" : null,
    "registry" : [ 
        {
            "route" : "/home",
            "name" : "home",
            "workflow" : "coreWorkflow"
        }
    ],
    "layout" : [ 
        {
            "layout" : "CoreLayoutBeesknees",
            "workflow" : "coreProductWorkflow",
            "collection" : "Products",
            "theme" : "default",
            "enabled" : true,
            "structure" : {
                "template" : "productsLanding",
                "layoutHeader" : "layoutHeader",
                "layoutFooter" : "layoutFooter",
                "notFound" : "productNotFound",
                "dashboardControls" : "dashboardControls",
                "adminControlsFooter" : "adminControlsFooter"
            },
            "priority" : 999,
            "position" : 1
        }
    ]
}
hrath2015
@hrath2015
Jun 22 2017 12:43
sorry I have never used beesknees package. Let me try this and get back. Any instructions/steps are u following?
Prakash
@prakashcubet
Jun 22 2017 12:46
I'm following the Reaction Commerce tutuorials. https://docs.reactioncommerce.com/
Could you please help me to create a custom theme and plugin, I just want a basic idea for how to integrate it. The doc of RC is feel complex to me.
@hrath2015
hrath2015
@hrath2015
Jun 22 2017 12:53
please take it in steps. Please try to run exampleplugin as it is as per tutorial before adding your changes.
Daniel Honig
@dhonig
Jun 22 2017 15:23
@prakashcubet is your trouble customizing the home page
or do you really want a route named home?
hrath2015
@hrath2015
Jun 22 2017 16:09
@prakashcubet in the registry do this template: "productsLanding", reset will see the landing page
rhaix
@rhaix
Jun 22 2017 16:52
Hey, I'm trying to change the checkout steps boxes, to move the credit card form to look more like the shipping one, I'm doing this within a payment-provider that I'm adding in, is it just overwriting the css for checkout form steps? or is there some other way to modify that layout?
Kenneth Beartusk
@beartusk
Jun 22 2017 21:02
@zenweasel I would like to alter the Authorize.net plugin to work with NMI Gateway. NMI has an emulator of Authnet to make this easy. But, I need to change the POST URLs within the Authnet plugin to the NMI URLs. Where does Reaction call the POST URL within the Authnet plugin. I have not been able to locate it within the entire Reaction project.
rhaix
@rhaix
Jun 22 2017 21:23
@beartusk I'm no expert but this is probably handled in the node_modules>authorize-net>lib>AuthorizeNetGateway.js file, at line 29 the endpoint is set, maybe check that out?
node_modules>@reactioncommerce>authorize-net>lib>AuthorizeNetGateway.js *
Brent Hoover
@zenweasel
Jun 22 2017 21:30
Yes, the actual calls are handles by the library
bebob1
@bebob1
Jun 22 2017 22:10
Bildschirmfoto 2017-06-23 um 00.11.03.png
Hello. I set up my custom theme on basis of the example theme. There you guys registered the aboutUs page like this
but how do I add a header and footer template?
within "layout:" it works well, but how do I set it on static pages like about us?
Kenneth Beartusk
@beartusk
Jun 22 2017 22:20
@rhaix @zenweasel Ah yes, you guys were correct. Unfortunately authorize-net seems to use an XML API. The NMI Gateway emulator unfortunately does not support XML =(. I am going to try to modify the Payment-Example plugin to work with the NMI Gateway API. One more question though, does the Example plugin use an SSL connection to POST?
Brent Hoover
@zenweasel
Jun 22 2017 22:21
It doesn't use an actual gateway, so there's nothing to be SSL
Kenneth Beartusk
@beartusk
Jun 22 2017 22:24
Understood. I need to look at it more to really understand what it's doing. Thanks!
ereyes97
@ereyes97
Jun 22 2017 22:56
Hello. How can I start rc automatically in ubuntu?
Curran
@curranabell
Jun 22 2017 23:31
This will allow you to have an ssl certificiate
ereyes97
@ereyes97
Jun 22 2017 23:41
@curranabell thanks
rhaix
@rhaix
Jun 22 2017 23:47
@zenweasel How can I change the checkout page css within a payment provider plugin? I want the payment form to be displayed differently in the page, I did it by modifying the css from the core but I'd like to be able to do it from within the plugin