Skip to main content

Hello guys,

I planning to convert this extension to connector structure 

https://github.com/CyberSource/cybersource-plugins-commercetools/tree/master

I tried that, Follow below URL for reference. But getting issue when we tried installing in commercetools dashboard

https://github.com/yogesh-khandekar/cybersource-plugins-commercetools

Below errors I am able to see. In localhost everything works fine.

 

Hi ​@Yogesh Khandekar Thanks for looking into Connect, we are sure that Cybersource customers will appreciate this effort.
Regarding your issue, do we understand correctly that the Connector works fine locally but fails once deployed as a preview in Connect?
Is there any special npm configuration you have in your local environment ?
We are trying it ourselves and will get back to you.

 


Hi ​@Yogesh Khandekar 
The team has been reviewing more in detail the issues your repository could be having.
We see that there is a specific Node JS version locked in the package.json file, we would advise against this as in fact we are not yet supporting this version https://docs.commercetools.com/connect/supported-runtimes#javascripttypescript

  "engines": {    "node": "=20.8.0",    "npm": "=10.9.1"  },  "files": ,

Also, when running npm run test we where required to provide input

Need to install the following packages:
run@1.5.0
Ok to proceed? (y) y

 

This probably means that validation fails because it will only run npm run test and cannot be run interactively answering questions.

 

Also npm run test will watch files and never exit so when validation runs it it will likely time out and fail

Watching /home/me/dev/tmp/cybersource-plugins-commercetools/cybersource-service and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles.

 

Reply