Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Issue | Client reports that they are receiving errors when running job to process subscriptions #78

Open
chrismshea opened this issue Feb 20, 2024 · 0 comments
Labels

Comments

@chrismshea
Copy link
Contributor

A client reports that while running the processOrderSubscriptions job they receive an error:

Caused by: [script3.org.mozilla.javascript.JavaScriptException](http://script3.org.mozilla.javascript.javascriptexception/): Error: Module "*/cartridge/scripts/util/collections" not found. (int_subscribe_pro_sfra/cartridge/scripts/subpro/helpers/paymentsHelper.js#8)

To resolve the error for the job to complete they move the offending line 8 of int_subscribe_pro_sfra/cartridge/scripts/subpro/helpers/paymentsHelper.js to line 330 moving the variable initialization for collections to be inside the getPaymentInstrumentById function.

SFCC_PaymentsHelper

This was recently added in this commit: da81017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant