These are chat archives for reactioncommerce/reaction

16th
Aug 2018
Abhishek
@thegtagamer
Aug 16 2018 07:21

Tried Creating a Custom Shipping Rate Plugin : Getting This error in the hook.js
Error: Shipping ShopId is required in Shipping insert

Any suggestions ?

Abhishek
@thegtagamer
Aug 16 2018 07:44
although im sending the shopId as an attribute
Kenneth McCullers
@kennethmccullers
Aug 16 2018 10:27
Does anyone here know how to make a blog for the reaction website?
William Moss
@willmoss1000
Aug 16 2018 10:28
@thegtagamer @pnewell4_twitter same issue here. Cheers for the fix, please do let them know!
@pnewell4_twitter do you think will this be an issue in marketplace - am I going to have to add the domain for every existing shop?
William Moss
@willmoss1000
Aug 16 2018 13:18
In 1.4.1 I'm creating a new shop, and none of the packages show in the right hand dashboard - anyone experiencing the same issue?
Kenneth McCullers
@kennethmccullers
Aug 16 2018 13:28
Never had that problem before @willmoss1000
William Moss
@willmoss1000
Aug 16 2018 13:31
@kennethmccullers cheers. Are you on 1.4.1? I just upgraded. Just want to identify if it's an issue with the version or my customisations
William Moss
@willmoss1000
Aug 16 2018 13:47
Strange - this issue has suddenly disappeared when I put some console.logs in...
Kenneth McCullers
@kennethmccullers
Aug 16 2018 13:48
That is strange
William Moss
@willmoss1000
Aug 16 2018 13:57
I know. Bizarre.
rohit-elevar
@rohit-elevar
Aug 16 2018 14:13

I was using the payments-cod plugin till now, which was working fine. I recently updated to version 1.14.1. And then updated the paths according to the change log.
After which the payment option doesn't show up. There is just a spinner in its place

Does any have an idea why this is happening? Or maybe can direct me in the right direction with this

Abhishek
@thegtagamer
Aug 16 2018 14:42
@rohit-elevar some methods might have to be updated, check example payment providers
Patrick Newell
@pnewell4_twitter
Aug 16 2018 14:56
@willmoss1000 if your marketplace all lives on a single domain, as long as your Primary Shop has its domains property set to include that domain, you will be fine.
does that answer your question?
lastly, a PR was merged recently which will fall back to the Primary Shop if no shop matches the current domain. This will eliminate the need to set the domains property for marketplaces which live on a single domain
Abhishek
@thegtagamer
Aug 16 2018 15:03

Error: $MONGO_OPLOG_URL must be set to the 'local' database of a Mongo replica set
at OplogHandle._startTailing (packages/mongo/oplog_tailing.js:218:13)
at new OplogHandle (packages/mongo/oplog_tailing.js:77:8)
at new MongoConnection (packages/mongo/mongo_driver.js:217:25)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10)
at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
at new Collection (packages/mongo/collection.js:97:40)
at new AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
at server_main.js (packages/accounts-base/server_main.js:9:12)
at fileEvaluate (packages/modules-runtime.js:339:7)
at require (packages/modules-runtime.js:238:16)
at /home/webapp/asort-rc/.meteor/local/build/programs/server/packages/accounts-base.js:2012:15
at /home/webapp/asort-rc/.meteor/local/build/programs/server/packages/accounts-base.js:2019:3
at /home/webapp/asort-rc/.meteor/local/build/programs/server/boot.js:411:36
at Array.forEach (<anonymous>)

On deployment getting this error, anyone has any clue ??

Kenneth McCullers
@kennethmccullers
Aug 16 2018 15:03
Gotten that error before actually I forgot how I fixed it though
William Moss
@willmoss1000
Aug 16 2018 16:14
@pnewell4_twitter great. Thanks!
@zenweasel with the new pricing object - will the openexchange rates job generate pricing for the selected currencies for a given shop? And, does this mean that in future the customer will be charged in their preferred currency?
*Sorry that's not very clear. Actually I'd like to know how the pricing object works in marketplace / is planned to work. I could not find any relevant documentation
Brent Hoover
@zenweasel
Aug 16 2018 22:17
@willmoss1000 Transaction always happen in the shops primary currency. Right now the marketplace shops and the primary shop need to all the have the same currency.