Skip to content

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

Description

@chrismshea

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions