These are chat archives for reactioncommerce/reaction

23rd
Jul 2018
Amit Saxena
@amit-deligence
Jul 23 2018 06:41
how do i customize tab text
liveljack
@liveljack
Jul 23 2018 09:46
@loanlaux hi Loan, I wanna test a Meteor method API (added by me), is there any way beside the --full-app test? since it will added all the app-test files, is any way I could specify just one app-test.js?
Patrick Newell
@pnewell4_twitter
Jul 23 2018 09:48
@liveljack describe.only will run a single group of tests
and it.only will run a single test
liveljack
@liveljack
Jul 23 2018 09:49
thanks Patrick, but could it be specified from the cli, or I may have several files to test~~
Patrick Newell
@pnewell4_twitter
Jul 23 2018 09:50
you can have several .only groups/tests, then you just run the whole suite
but good q on the cli. I'm sure there's an option, but I'm not sure what it is off the top of my head
Loan Laux
@loanlaux
Jul 23 2018 09:51
Not sure either @liveljack. However here are the docs for exclusive tests using Mocha's API. Hope that's useful. https://mochajs.org/#exclusive-tests
liveljack
@liveljack
Jul 23 2018 09:53
got it, thank you both very much~
:D
Janus Reith
@janus-reith
Jul 23 2018 10:39

For anyone interrested, I started implementing a Paypal Express Payment Plugin using the new api, will probably push it to github soon.
The existing plugin using the depreacted API refused to work for some customers, without a way for me to reproduce.

Initially it only supports instant capture, which is what most people probably use anyway.
Still needs some love though, and proper error handling.
Would love If someone here would like to help get this done faster

Loan Laux
@loanlaux
Jul 23 2018 11:41
Thanks @janus-reith! It would probably be a good idea to replace the one at reaction-contrib by yours once it's tested
Brent Hoover
@zenweasel
Jul 23 2018 11:57
Just a caveat that most people in the US don't use instant capture
For legal reasons
Loan Laux
@loanlaux
Jul 23 2018 11:58
Of course, there had to be an if in the US
(joking but curious why)
Janus Reith
@janus-reith
Jul 23 2018 14:15
oh, ok
Brent Hoover
@zenweasel
Jul 23 2018 14:16
+
You have to ship within 24 hours after collecting funds
You can only do an authorize until you are ready to ship. You can't just sit on the money
Loan Laux
@loanlaux
Jul 23 2018 14:22
Good to know
Janus Reith
@janus-reith
Jul 23 2018 14:28
Yeah, first time that I heard about this law.
Will put a big warning in the readme when I publish this.
I think the plugin code may still be valuable, as it implements the new api and paypal smart buttons in a react component, fetching the paypal js using react-async-script-loader.
Shouldn't be hard to extend it to do the capture later in the order component, like other plugins do.
weput
@weput
Jul 23 2018 16:13
Hi.
i have a small question...
is there a 2checkout-reactioncommerce integration atm?
or it has to be developed?
Loan Laux
@loanlaux
Jul 23 2018 16:15
What is 2Checkout, @weput?
payment processor...
if you ask.. then there is not.
Loan Laux
@loanlaux
Jul 23 2018 16:17
Correct. Most community-maintained plugins are listed in github.com/reaction-contrib. Feel free to work on your own integration to have it listed there.
Build a payment processor integration is generally pretty straightforward in Reaction, so you shouldn't run into much trouble
weput
@weput
Jul 23 2018 16:20
well
I'll have to read and make the project.
thank you
by the way...
(not that im tryng to trow you a sales pitch)
I'm having a 10% discount code on my coffee offers...
coupon code: coffeecoffee
you are welcome to buy some :)
Loan Laux
@loanlaux
Jul 23 2018 16:21
Which website?
panamanian.coffee
(sorry, i was away from my desk)
Loan Laux
@loanlaux
Jul 23 2018 17:20
Good to know!
Daniel Honig
@dhonig
Jul 23 2018 21:38
@weput panamanian coffee is good
weput
@weput
Jul 23 2018 23:02
yup
thats why i decided to open the webstore.
I didn't know better until i went to a starbucks in florida that our coffee was way better.
fancy marketing naming is what they do.
as far as i know, they offer guatemalan coffee... which is ok
Brent Hoover
@zenweasel
Jul 23 2018 23:04
you can buy coffee from pretty much anywhere at Starbucks. And it’s all pretty okay