These are chat archives for reactioncommerce/reaction

21st
Jul 2016
hrath2015
@hrath2015
Jul 21 2016 02:56
:clap:
congrats for achieiving a major milestone :thumbsup:
3Maestros
@3Maestros
Jul 21 2016 04:39
When will the marketplace be available as described here reactioncommerce/reaction#357 ?
Excited to hear the news about hitting a new milestone!
Aaron Judd
@aaronjudd
Jul 21 2016 06:01
@3Maestros I can’t really give a timeline on that, we’ve been working the marketplace as part of overall product design, not a specific feature. We’ll be focusing a lot of attention on the ui elements now that we’re past 0.14 though so we should make progress. @ScyDev has submitted some marketplace PR’s, if we could get some help reviewing them and bringing them up to speed with the 0.14 codebase that also might be a good start and give a boost on getting marketplace completed.
we’re excited to get 0.14 out though, it’s a bit of a new beginning :boom:
Lukas Sägesser
@ScyDev
Jul 21 2016 08:41
@3Maestros I'm in the process of refactoring my marketplace packages to make them compatible with Reaction HEAD. Help is more than welcome :)
catherine123
@catherine123
Jul 21 2016 11:54
anyone know why I could not create admin account
thanks a lot
Brent Hoover
@zenweasel
Jul 21 2016 11:55
@catherine123 What problem are you running into?
catherine123
@catherine123
Jul 21 2016 11:59
Do I have to type it into the file?
@zenweasel
Brent Hoover
@zenweasel
Jul 21 2016 12:00
The default admin and password are created automatically on first start
catherine123
@catherine123
Jul 21 2016 12:00
The first account I created is a guest account.
Brent Hoover
@zenweasel
Jul 21 2016 12:01
Not sure what you mean
Are you logged into the dashboard and creating users?
catherine123
@catherine123
Jul 21 2016 12:02
11:48:56.666Z WARN Reaction: loadSettings reaction.json not loaded. [Error: Unknown asset: settings/reaction.json]
that is shown on the terminal
Brent Hoover
@zenweasel
Jul 21 2016 12:02
You can put user information in that file, but you don’t need to
Did you get the default admin user that was automatically created?
catherine123
@catherine123
Jul 21 2016 12:03
no
I can not
I do not know why
Brent Hoover
@zenweasel
Jul 21 2016 12:04
I don’t know what you mean when you say you cannot. On first start the admin user/password is displayed in the terminal like in the picture I sent
catherine123
@catherine123
Jul 21 2016 12:08
I will google the problem to see what happened
thanks a lot @zenweasel
Brent Hoover
@zenweasel
Jul 21 2016 12:08
Alright then
Tzelon Machluf
@TzelonMachluf_twitter
Jul 21 2016 13:19
Hey,
After running reaction pull I'm getting error on reaction@0.14.0 postinstall: `.reaction/scripts/postinstall.sh
Im running on windows using git bash. my node is version 6.3.0
Tzelon Machluf
@TzelonMachluf_twitter
Jul 21 2016 14:10

another thing when running reaction init its tack at

fibers@1.0.13 install D:\Javascript\nuriya\node_modules\fibers
node build.js || nodejs build.js

stuck*
Aaron Judd
@aaronjudd
Jul 21 2016 14:35
@TzelonMachluf_twitter I created reactioncommerce/reaction-cli#3 to track the warn error. We did test on windows and weren’t seeing that error, but we are able to replicate on some linux flavors.
Jeremy Shimko
@jshimko
Jul 21 2016 14:36
I fixed it, but it opened a can of worms for something else. Hope to be done soon.
Aaron Judd
@aaronjudd
Jul 21 2016 14:37
cool, whack-a-warning.
Jeremy Shimko
@jshimko
Jul 21 2016 14:57
@TzelonMachluf_twitter That warn issue should be fixed in 0.3.8 of the CLI. Try updating and let me know.
Tzelon Machluf
@TzelonMachluf_twitter
Jul 21 2016 15:00
@aaronjudd regarding to the issue you opened, I solved it by restart my computer as meteor need it after the fist install

My second problem is when reaction init stuck on

fibers@1.0.13 install D:\Javascript\nuriya\node_modules\fibers
node build.js || nodejs build.js
I can't resolved this issue

Jeremy Shimko
@jshimko
Jul 21 2016 15:02
Try running meteor npm install
in the app folder
which should exist (or you wouldn’t have gotten that far with the CLI)
Aaron Judd
@aaronjudd
Jul 21 2016 15:12
isn’t that a meteor dependency that is installed on meteor startup, so that might just be a network issue, the npm install should do the trick I’d think
Tzelon Machluf
@TzelonMachluf_twitter
Jul 21 2016 15:19
Can you tell me what postinstall.sh is doing ?
I still getting error when running npm install
Jeremy Shimko
@jshimko
Jul 21 2016 15:27
The NPM install is your issue. The CLI is just doing that under the hood
So I suspect there are build tools missing for binary modules
I’ve never used Meteor with Windows though, so I’m not sure what the requirements are. I do know build tools are a necessary separate install on OS X and Fibers definitely requires them to build.
hrath2015
@hrath2015
Jul 21 2016 16:54
yes it is because of build tools missing for binary modules as pointed by @jshimko
@TzelonMachluf_twitter please complete window specific installation first
Tzelon Machluf
@TzelonMachluf_twitter
Jul 21 2016 17:29
I will do it and update.
Thank you
Bryan Wu
@cooloney
Jul 21 2016 22:19
Hello, I have a question about paypal payflow pro. The integration support from PayPal told me their paypal-node-sdk using REST API doesn't support PayPal Payflow Pro.
Then how can we support that in our reaction-paypal which is based on that node sdk
Brent Hoover
@zenweasel
Jul 21 2016 22:20
Their documentation clearly states that the REST API supports Payflow Pro
Bryan Wu
@cooloney
Jul 21 2016 22:21
and currently our paypal pro transaction was treated as PayPal Here in paypal account
oh, I failed to find that document.
Brent Hoover
@zenweasel
Jul 21 2016 22:22
I just spent last week working with the SDK team, and I can assure you that whoever told you that doesn’t know what they are talking about
Payflow Pro can work with either a Paypal account or an existing merchant account depending on how you have it set up
Bryan Wu
@cooloney
Jul 21 2016 22:24
currently, our pro transaction was treated as Paypal Here then we got 2000USD per month limitation.
Brent Hoover
@zenweasel
Jul 21 2016 22:24
You need to configure your account to be tied to a merchant account then
Bryan Wu
@cooloney
Jul 21 2016 22:24
Any document or code to setup Payflow Pro
ok
you mean manager.paypal.com
then link to our normal paypal account?
Brent Hoover
@zenweasel
Jul 21 2016 22:25
I don’t know exactly where you would do that, sorry
Bryan Wu
@cooloney
Jul 21 2016 22:26
ok, I need some document to argue with that guy.
Brent Hoover
@zenweasel
Jul 21 2016 22:38
Well, their documentation is possibly the worst documentation ever created. So I can’t find anything there
Bryan Wu
@cooloney
Jul 21 2016 22:39
hmm, the problem on our side is our app use reaction which has reaction-paypal.
Brent Hoover
@zenweasel
Jul 21 2016 22:39
Also, there are so many similarly-named products
Bryan Wu
@cooloney
Jul 21 2016 22:39
And we enabled paypal payflow pro for credit card payment.
in our account those payflow pro payment were marked as PayPal Here which is for something else not a online payment.
and PayPal Here has some limitation, if our payment is over 2000USD per month, they will start to hold the money for 30 days.
that's really bad.
Brent Hoover
@zenweasel
Jul 21 2016 22:41
so which product are you signed up for, because according to their docs, Payflow Pro is a legacy product
Bryan Wu
@cooloney
Jul 21 2016 22:41
Then I asked tech guy, they say as long as I'm using paypal-node-sdk REST API it will be PayPal Here
Brent Hoover
@zenweasel
Jul 21 2016 22:41
Hmmm, then what does he say you should be doing?
Bryan Wu
@cooloney
Jul 21 2016 22:42
We signed up for pro and pay 30USD per month for that
Brent Hoover
@zenweasel
Jul 21 2016 22:42
Ok, “pro” doesn’t tell me much, what is the exact product you are using
Bryan Wu
@cooloney
Jul 21 2016 22:42
they say we should use Paypal Payflow Pro SDK not Node JS SDK
this is the document they give to me
<style>
html{margin-left:10px;}
.strings{font-family: Consolas,monospace; font-size: 12px;}
.left{text-align: right; padding-top: 10px;}
.right{padding-top: 10px; padding-left: 5px;}
.title{text-align: center; font-weight: bold; font-size: 175%; border-top: 5px solid black; border-bottom: 5px solid black; margin-bottom: 10px;}
li{list-style: none; float: left; margin-right: 30px; margin-bottom: 30px; border: 5px solid black; padding: 10px; display: inline-block; width:335; word-wrap: break-word;}
.none{font-size:12px;margin-top: -25px; padding: 10px;} 
</style>
<body>
<div class="container">
<ul>
<li class='item'>
<form method="post">
    <table>
          <tr><td class='left'>Credit card: </td><td class='right'><input type="text" name="CREDITCARD" value="5105105105105100"/></td></tr>
          <tr><td class='left'>Expiration date: </td><td class='right'><select name="EXPDATE1">
              <option value="01">January</option>
              <option value="02">February</option>
              <option value="03">March</option>
              <option value="04">April</option>
              <option value="05">May</option>
              <option value="06">June</option>
              <option value="07">July</option>
              <option value="08">August</option>
              <option value="09">September</option>
              <option value="10">October</option>
              <option value="11">November</option>
              <option value="12">December</option>
            </select>
            <select name="EXPDATE2" value="2020">
              <option value="16">2016</option>
              <option value="17">2017</option>
              <option value="18">2018</option>
              <option value="19">2019</option>
              <option value="20">2020</option>
              <option value="21">2021</option>
              <option value="22">2022</option>
              <option value="23">2023</option>
              <option value="24">2024</option>
              <option value="25">2025</option>
              <option value="26">2026</option>
            </select></td></tr>
          <tr><td class='left'>Card security code: </td><td class='right'><input type="text" name="CVV2" value="123"/></td></tr>
          <tr><td class='left'>First name: </td><td class='right'><input type="text" name="BILLTOFIRSTNAME" value="John"/></td></tr>
          <tr><td class='left'>Last name: </td><td class='right'><input type="text" name="BILLTOLASTNAME" value="Doe"/></td></tr>
          <tr><td class='left'>Address: </td><td class='right'><input type="text" name="BILLTOSTREET" value="123 Main St."/></td></tr>
          <tr><td class='left'>City: </td><td class='right'><input type="text" name="BILLTOCITY" value="San Jose"/></td></tr>
          <tr><td class='left'>State: </td><td class='right'><input type="text" name="BILLTOSTATE" value="CA"/></td></tr>
          <tr><td class='left'>Zip: </td><td class='right'><input type="text" name="BILLTOZIP" value="95101"/></td></tr>
          <tr><td class='left'>Country: </td><td class='right'><input type="text" name="BILLTOCOUNTRY" value="US"/></td></tr>
          <tr><td class='left'>Amount: </td><td class='right'><input type="text" name="AMT" value="1"/></td></tr>
          <tr><td colspan="2"><center><br><input type="submit" value="Pay Now"/></center></td></tr>
    </table>
</form>
<?php 

if($_POST){

    // Combines EXPDATE into proper format
    $EXPDATE1 = $_POST['EXPDATE1'];
    $EXPDATE2 = $_POST['EXPDATE2'];
    $EXPDATE = "$EXPDATE1$EXPDATE2";

$url = "https://pilot-payflowpro.paypal.com"; // test mode
//$url = "https://payflowpro.paypal.com"; //live mode

$nvp = array(
    //USERNAME
    'USER'    => 'apiuser',
    //MANAGER LOGIN
    'VENDOR'    => 'marshalintegration',
    //PAYPAL
    'PARTNER' => 'PayPal',
    //PASSWORD
    'PWD' => 'Demo1234',

    //S = Create Sale, A = Create Authorization
    'TRXTYPE' => 'A',
    //C = CREDIT, P = PAYPAL
    'TENDER' => 'C',

    //CC NUM
    'ACCT' => $_POST['CREDITCARD'],
    //EXP MMDD
    'EXPDATE' => $EXPDATE,
    //CVV2
    'CVV2' => $_POST['CVV2'],
    //AMT
    'AMT' => $_POST['AMT'],

    //NAME
    'FIRSTNAME' => $_POST['BILLTOFIRSTNAME'],
    'LASTNAME' => $_POST['BILLTOLASTNAME'],

    //ADDRESS (BILLING)
    'STREET' => $_POST['BILLTOSTREET'],
    'CITY' => $_POST['BILLTOCITY'],
    'STATE' => $_POST['BILLTOSTATE'],
    'ZIP' => $
this is the PHP sample code they give to me
url for test/live mode are different from REST API
and content of array is different
Brent Hoover
@zenweasel
Jul 21 2016 22:45
So where is the Payflow Pro SDK?
There is nothing about that in the docs, as I said, the docs say that Payflow Pro is a legacy product
Bryan Wu
@cooloney
Jul 21 2016 22:46
I think they mean this kind of API in the sample code.
Brent Hoover
@zenweasel
Jul 21 2016 22:46
so not an SDK at all?
Bryan Wu
@cooloney
Jul 21 2016 22:46
I didn't find any useful information in the document
just don't know how to do such Payflow Pro stuff
Brent Hoover
@zenweasel
Jul 21 2016 22:49
So this thing about the dollar limitation is new to me
I don’t see that anywhere in their documentation
and that’s just crazy that you can run orders through and then have a limit like that
Bryan Wu
@cooloney
Jul 21 2016 22:51
yeah, we failed to find such information either.
Brent Hoover
@zenweasel
Jul 21 2016 22:51
is there a reason you don’t use Stripe?
Bryan Wu
@cooloney
Jul 21 2016 22:51
how come a node js sdk transaction become a PayPal Here and has dollar limitation
Oh, stripe is another bad story.
we got big lost on Stripe about 20000USD
Brent Hoover
@zenweasel
Jul 21 2016 22:52
Or even Braintree
Bryan Wu
@cooloney
Jul 21 2016 22:52
Some bad guy or group of bad guy placed the fraud order on our website
then we shipped out products
the original credit card holder disputed all the transaction
stripe took all the money back
and we lost our products
so we moved to paypal pro
Brent Hoover
@zenweasel
Jul 21 2016 22:53
yeah, that’s how credit card transactions work according to US law
Bryan Wu
@cooloney
Jul 21 2016 22:53
but now got this stupid integration stuff.
Brent Hoover
@zenweasel
Jul 21 2016 22:54
The only integration we have built now is the Payflow integration using the NodeSDK
Bryan Wu
@cooloney
Jul 21 2016 22:54
I got it.
I'm using PayPal express checkout, which is good
Brent Hoover
@zenweasel
Jul 21 2016 22:55
The only reason we have Paypal at all is for Express
Bryan Wu
@cooloney
Jul 21 2016 22:55
now Paypal Pro is also working but got that PayPal Here and dollar limitation
let me talk with PayPal guy again.
Brent Hoover
@zenweasel
Jul 21 2016 22:56
Yeah, that’s ridiculous
Either support it or don't
Having a surprise dollar limit is asinine
Bryan Wu
@cooloney
Jul 21 2016 22:57
you guys can try that.
every transaction will be marked as PayPal Here
then got dollar limitation
even our account is PayPal Pro
If it’s a simple REST API it may not be too hard to build out the implementation, but I don’t know how much more time we want to spend on Paypal
Bryan Wu
@cooloney
Jul 21 2016 23:03
stripe refused to provide service for us now, we don't have many choice
Brent Hoover
@zenweasel
Jul 21 2016 23:04
What about Braintree?
Bryan Wu
@cooloney
Jul 21 2016 23:04
do we support that?
fully tested?
Brent Hoover
@zenweasel
Jul 21 2016 23:04
Reaction Commerce does yes
Well, we can’t test for limitations on your account
Bryan Wu
@cooloney
Jul 21 2016 23:05
sure,
I will give it to try.
Actually the reaction commerce code we are using is very old one. like 0.9.6
and we don't have any plan to upgrade.
Brent Hoover
@zenweasel
Jul 21 2016 23:05
Oh
Bryan Wu
@cooloney
Jul 21 2016 23:06
that's a huge gap.
Brent Hoover
@zenweasel
Jul 21 2016 23:06
Yes it is
Bryan Wu
@cooloney
Jul 21 2016 23:08
Is Braintree a paypal company?
Brent Hoover
@zenweasel
Jul 21 2016 23:08
Yes
They bought them in the last year or so
Bryan Wu
@cooloney
Jul 21 2016 23:10
Got you
Thanks Brent.
Brent Hoover
@zenweasel
Jul 21 2016 23:11
My last job we were doing close to a million dollars a day with Braintree
Bryan Wu
@cooloney
Jul 21 2016 23:11
cool.
Brent Hoover
@zenweasel
Jul 21 2016 23:11
then we dumped them and went to Stripe ;)
Bryan Wu
@cooloney
Jul 21 2016 23:12
no more stripe for me