Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 15 17:35
    nnnnat transferred #6084
  • Jan 15 15:51
    nnnnat closed #4284
  • Jan 13 18:34
    HarisSpahija added as member
  • Jan 13 18:34
    loan-laux added as member
  • Jan 13 18:34
    janus-reith added as member
  • Jan 12 13:25
    aboelela924 commented #6277
  • Jan 12 13:02
    aboelela924 commented #6277
  • Jan 10 07:59
    excisionhd closed #6316
  • Jan 10 07:59
    excisionhd commented #6316
  • Jan 09 19:21
    Eduard-Hasa commented #6316
  • Jan 08 09:00
    excisionhd edited #6316
  • Jan 08 08:57
    excisionhd opened #6316
  • Jan 08 08:57
    excisionhd labeled #6316
  • Jan 08 08:57
    excisionhd labeled #6316
  • Jan 06 09:51
    loan-laux commented #6249
  • Jan 05 18:37
    aldeed commented #6249
  • Jan 05 06:50
    loan-laux commented #6249
  • Jan 05 02:32
    delagroove commented #6249
  • Jan 05 02:25
    delagroove commented #6314
  • Jan 04 19:59
    MohanNarayana assigned #6084
mabujaber
@mabujaber
thats for me ?
I just saw it
it works perfectly
Eduard-Hasa
@Eduard-Hasa
The reaction docs and blog posts talk about building the reaction platform on top of kafka streams. Is this something that has already been implemented or is it something that is yet to be done? I am trying to grasp on the approach one would take to develop a plugin that for example listen for kafka order placed kafka stream events but not finding any information regarding anything kafka & reaction related.
3 replies
Howard
@how2945ard
Hi forks
Wondering what is the best way / recommended way to implement this: automatically applying free shipment for all users by default when the order is great than say 100 USD.
MitchellWT
@MitchellWT
Hey all, just to quickly check, has anyone developed or attempted to develope a visual builder for reaction commerce?
Eduard-Hasa
@Eduard-Hasa
I wouldn't expect anything like that but you never know. If you cant custom code the layout you probably shouldnt be on reaction commerce to begin with as it is designed for enterprise businesses. Shopify is tailored for entry level drag and drop ecommerce.
Olusola Ajayi
@ebzeal
Hi, what is the best way to edit/redesign a file like CartSummary . The file is in @reactioncommerce/components/CartSummary/v1 and I don't know how to access that.
2 replies
Ahmed Aboelela
@aboelela924
Hi, I was searching on the how to enable hot reloading for docker while applying modification on example-storefront
Eduard-Hasa
@Eduard-Hasa
@aboelela924 read the documentation of the reaction development platform. You can use the make unit-dev command to create a project in development mode which essentially just means that the docker containers volume is synced with your local reaction project folder. When you save code locally docker volume picks it up in the running container as well
Alvaro Bueno
@delagroove
@ebzeal clone the repository and publish your component library, that way you can change the reference in package.json, make the changes to your plugin, you can even test it locally without publishing.
please refer to this guide: https://docs.reactioncommerce.com/docs/next/core-plugins-developing in the section: Developing API Plugins
5 replies
rajbachu6
@rajbachu6
Hi Guys,
I am looking for the search functionality, observed that it was available before and been removed (reactioncommerce/reaction#5053) Is their any other plugin which can help me for the search functionalities.
rajbachu6
@rajbachu6
I see the search-mongo and ui-search plugins under the 3.7 (documentationhttps://docs.reactioncommerce.com/docs/3.7.0/packages-search#search-mongo-plugin) as well and search is one of the key features Is these plugins were moved? whats the alternative solution for this?
Sebastien
@fatal69100
hi
I am wondering if there is a blogging plateform with reaction
Igor Romanovsky
@IgorRomanvsky
Hey guys. I'm creating a custom plugin with a custom mutation. In order to use this mutation you don't have to be authenticated but inside the mutation I would like to use some other functions that requires authentication (e.g publish product), is there any suggestion how can use those functions inside the API code without being authenticated ?
Thanks
4 replies
Mikhail Yermolayev
@MikeYermolayev

Hello,

Has anyone tried to integrate new Stripe API to reaction? Looks like it can't be applied to current payments concept

ihalton
@ihalton
Hi, Community Team. I run development platform, I found a very strange issue, when I create the shop and some other collections. It works well. But after some days, I lost all data in Mongo DB, and I can not find the database: reaction. Who know why about the issue?
Thanks, Thanks for any responses . The issue is confusing me...
Igor Romanovsky
@IgorRomanvsky

Hey guys.
I've created a custom plugin and now I would like to build a new image with the new plugin. For development I've installed my plugin by adding this to the package.json file:

"my-plugin": "file:./api-plugins/my-plugin",

And inside the plugins.json:
"my-plugin": "my-plugin"

But now how can I build a new image with my custom plugin?

Thanks

1 reply
Eduard-Hasa
@Eduard-Hasa
Is that how Kafka gets it’s events through graphql. Subscriptions?
I always wondered how reaction feeds data into Kafka as the documentation doesn’t talk about it
2 replies
Igor Romanovsky
@IgorRomanvsky

I've a question regarding the payment. As I understand the payment being done when submitting an order,
a plugin will executed according to the selected payment method, but what will be the flow when a user pays with paypal for example?
or some kind an external provider via iframe or any other scenario that you have to verify the payment before submitting the actual order?

Thanks

1 reply
Sagar Siwakoti
@sagar-siwakoti

Hi,I am new to reaction commerce . I cloned reaction-commerce-development-platform and opened reaction admin in my IDE, when i runned npm run start:dev to start in developer mode a error arises,
Error msg:
Running command: meteor run --port 3000 --no-lint --no-release-check --raw-logs
'REACTION_METEOR_APP_COMMAND_START_TIME' is not recognized as an internal or external command,
operable program or batch file.
Error: Command failed: REACTION_METEOR_APP_COMMAND_START_TIME=1610541668868 meteor run --port 3000 --no-lint --no-release-check --raw-logs
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:652:15)
at run (file:///E:/HAMRO%20PATRO(INTERN)/reaction-development-platform/reaction-admin/.reaction/scripts/run.mjs:21:18)
at file:///E:/HAMRO%20PATRO(INTERN)/reaction-development-platform/reaction-admin/.reaction/scripts/run.mjs:29:1
at ModuleJob.run (internal/modules/esm/module_job.js:152:23)
at async Loader.import (internal/modules/esm/loader.js:166:24)
at async Object.loadESM (internal/process/esm_loader.js:68:5) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 20360,
stdout: null,
stderr: null
}

Error: App failed to start
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reaction-admin@3.0.0-beta.11 start:dev: node --experimental-modules ./.reaction/scripts/run.mjs
npm ERR! Exit status 1
npm ERR! reaction-admin@3.0.0-beta.11 start:dev: node --experimental-modules ./.reaction/sc ripts/run.mjs
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reaction-admin@3.0.0-beta.11 start:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Omen\AppData\Roaming\npm-cache_logs\2021-01-13T12_41_09_082Z-debug.log

stevekwokdev
@stevekwokdev
hi im getting reaction Cloning into 'reaction'... fatal: Remote branch master not found in upstream origin
Error: Unable to clone from Github. Exiting.
Loan Laux
@loan-laux
@stevekwokdev The master branch is long gone. It’s been replaced by trunk. How are you trying to clone Reaction?
@sagar-siwakoti That’s on Windows, right? Are you using Docker or not at all?
lapphan
@lapphan
Does Reaction Commerce support login with Facebook or OpenID Connect protocol like Keycloak?
Loan Laux
@loan-laux
Hey @lapphan. Reaction doesn’t support these out of the box, but the Hydra implementation is rather easy to swap out for other authentication methods. For example, we at out:grow frequently implement AWS Cognito for our clients, and it’s a pretty straightforward process. We’ve done Facebook Login and other OAuth providers too and it wasn’t much of an issue either.
lapphan
@lapphan
Thanks @loan-laux. Do you have any guides or a starting point to replace Hydra with Keycloak?
Loan Laux
@loan-laux
@lapphan Unfortunately no, sorry about that. You’ll have to get familiar with the codebase.
thanhthao150
@thanhthao150

Hi everyone, I'm new to reaction commerce, i already installed the platform, below is my docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
284d648b7cf5 reactioncommerce/admin:3.0.0-beta.11 "docker-entrypoint.s…" 2 hours ago Up 2 hours 0.0.0.0:4080->4080/tcp, 0.0.0.0:9231->9229/tcp reaction-admin_reaction-admin_1
5ffc5f6f07aa reactioncommerce/identity:3.3.0 "docker-entrypoint.s…" 2 hours ago Up 2 hours 0.0.0.0:4100->4100/tcp reaction-identity_identity_1
904c1c7f0228 reactioncommerce/reaction:3.11.0 "docker-entrypoint.s…" 2 hours ago Up 2 hours 0.0.0.0:3000->3000/tcp reaction_api_1
5ccd507da76a mongo:4.2.0 "docker-entrypoint.s…" 2 hours ago Up 2 hours 0.0.0.0:27017->27017/tcp reaction_mongo_1
dd79845d5913 oryd/hydra:v1.0.8 "hydra serve all --d…" 2 hours ago Up 2 hours 0.0.0.0:4444-4445->4444-4445/tcp, 0.0.0.0:5555->5555/tcp reaction-hydra_hydra_1
bdcc61055038 postgres:10.3 "docker-entrypoint.s…" 2 hours ago Up 2 hours 0.0.0.0:49162->5432/tcp reaction-hydra_postgres_1

i followed the instruction on example-storefront, and tried to "yarn start:dev" it, i got:
yarn run v1.22.5
$ yarn run create-hydra-client && NODE_ENV=development next dev -p 4000

$ node createHydraClientIfNecessary.js

Missing environment variables:
CANONICAL_URL: undefined
BUILD_GRAPHQL_URL: undefined
EXTERNAL_GRAPHQL_URL: undefined
INTERNAL_GRAPHQL_URL: undefined
OAUTH2_ADMIN_URL: undefined
OAUTH2_AUTH_URL: undefined
OAUTH2_CLIENT_ID: undefined
OAUTH2_CLIENT_SECRET: undefined
OAUTH2_IDP_PUBLIC_CHANGE_PASSWORD_URL: undefined
OAUTH2_IDP_HOST_URL: undefined
OAUTH2_PUBLIC_LOGOUT_URL: undefined
OAUTH2_TOKEN_URL: undefined
SESSION_SECRET: undefined

Exiting with error code 1

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

so i configured the file "config.js" and fix line 49, i tried: doEnvPath: ".env.example" , then : doEnvPath: ".env". Both return me:
yarn run v1.22.5
$ yarn run create-hydra-client && NODE_ENV=development next dev -p 4000
$ node createHydraClientIfNecessary.js
(node:14996) UnhandledPromiseRejectionWarning: FetchError: request to http://hydra.reaction.localhost:4445/clients/example-storefront failed, reason: getaddrinfo ENOTFOUND hydra.reaction.localhost
at ClientRequest.<anonymous> (D:\Project\tla-fashion-product\reaction-development-platform\example-storefront\node_modules\isomorphic-unfetch\node_modules\node-fetch\lib\index.js:1461:11)
at ClientRequest.emit (events.js:315:20)
at Socket.socketErrorListener (_http_client.js:469:9)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use node --trace-warnings ... to show where the warning was created)
(node:14996) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which
was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:14996) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate t

i don't know if this error came from my hydra or not, since my Hydra is running and did not catch any errors.
Loan Laux
@loan-laux
Hey @thanhthao150. What’s your setup? Can you tell me a bit more about the context here? Which OS are you running on? Did you use reaction-development-platform and run make, or did you set it up another way?
hrhosni
@hrhosni
Hello,

This link talks about using `customPublishedProductFields` to easily update the Product Hash when publishing custom fields to the Catalog: docs.reactioncommerce.com/docs/how-to-extend-product.https://docs.reactioncommerce.com/docs/how-to-extend-product

I tried it and it didn't work. Any idea why? @loan-laux
Loan Laux
@loan-laux
@hrhosni customPublishedProductFields is wrong. The docs should be updated. publishedProductFields and publishedProductVariantFields should be under the catalog key. customPublishedProductFields is declared local to the file and exported. The variables you need to declare on catalog to be pushed to that array are in Line 11. See https://github.com/reactioncommerce/api-plugin-catalogs/blob/16fd5c1d54f1aa019fefebcf46e694fe3b276151/src/registration.js#L11.
Karbal
@karbal

Hello All Friends , @loan-laux , @rondlite , @aldeed : For Simpl-Schema how can i do something like on typescript

const sschema = new SimplSchema({
  "ANYTHING_FIELD:BUT_MUST_BE_STRING" : String
});

on typescript we do

interface sschema{
  [fieldName:string]: string
}

Thanks.

5 replies
Ahmed Aboelela
@aboelela924
Hi, I have been trying to start example store front in the development mode but I didn't have any luck with that I tried the commands provided in the GitHub repo but once I start it the image always fails. also I tried to share files between docker and the host system but change doesn't reflect on the browser
Moe Elsharif
@Moejoe90
Hey I'd like to know if I can set different owners for each shop,
1 reply
Is that possible?
thanhthao150
@thanhthao150

Hey @thanhthao150. What’s your setup? Can you tell me a bit more about the context here? Which OS are you running on? Did you use reaction-development-platform and run make, or did you set it up another way?

yes, i use "reaction-development-platform" on Window and "make" by Git Bash, i followed this instruction: https://docs.reactioncommerce.com/docs/installation-reaction-platform

Loan Laux
@loan-laux
@thanhthao150 The set-up on Windows isn’t as straightforward as that, unfortunately. If you run Docker inside WSL, however, it should make your life easier. Have you tried that?
thanhthao150
@thanhthao150
i'm trying that
thanhthao150
@thanhthao150
image.png

@thanhthao150 The set-up on Windows isn’t as straightforward as that, unfortunately. If you run Docker inside WSL, however, it should make your life easier. Have you tried that?

i got same error when running in wsl

Loan Laux
@loan-laux
Looks like something’s already using port 4000
thanhthao150
@thanhthao150

Looks like something’s already using port 4000

omg, thank you, i got the error now, the steps i followed in "Example Storefront" still hold the localhost:4000 so i have to remove it. I also did the same current solution in Window and still got error, i guess Ubuntu does make my life easier

but these lines still show up, will it affects my connection to apis?
image.png