• Resolved JSP0421

    (@jsp0421)


    When I first activated the plugin I received the following error when going to the “Orders” page.

    Fatal error: Can’t use method return value in write context in /home/drcolbertau/public_html/wp-content/plugins/manual-credit-card-processing-for-woocommerce/classes/MWC_CC_Processing.php on line 74

    I commented out lines 73-80 of MWC_CC_Processing.php to get around this.

    Now when I click “Collect Payment” I receive the following in my javascript console:

    Uncaught TypeError: Cannot read property ‘replace’ of undefined
    at Function.m.template (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable,underscore,backbone,wp-util,&load[]=plupload&ver=3ac0d315a54ffaf1a2ddcf608e172337:59)
    at load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable,underscore,backbone,wp-util,&load[]=plupload&ver=3ac0d315a54ffaf1a2ddcf608e172337:63
    at n.render (backbone-modal.min.js?ver=3.1.0:1)
    at n.initialize (backbone-modal.min.js?ver=3.1.0:1)
    at n.e.View (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable,underscore,backbone,wp-util,&load[]=plupload&ver=3ac0d315a54ffaf1a2ddcf608e172337:61)
    at new n (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable,underscore,backbone,wp-util,&load[]=plupload&ver=3ac0d315a54ffaf1a2ddcf608e172337:61)
    at new e.WCBackboneModal (backbone-modal.min.js?ver=3.1.0:1)
    at HTMLButtonElement.<anonymous> (backbone-modal.min.js?ver=3.1.0:1)
    at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable,underscore,backbone,wp-util,&load[]=plupload&ver=3ac0d315a54ffaf1a2ddcf608e172337:2)
    at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable,underscore,backbone,wp-util,&load[]=plupload&ver=3ac0d315a54ffaf1a2ddcf608e172337:2)

    – load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,utils,jquery-ui-sortable,underscore,backbone,wp-util,&load[]=plupload&ver=3ac0d315a54ffaf1a2ddcf608e172337:59

    I am using Braintree Hosted Fields.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author James

    (@volcommky)

    Currently the plugin does not work with hosted fields. It is something that is in the pipeline, but not implemented as of the current version.

    If you disabled hosted fields and try again, that should show better results. Otherwise if you would like to keep the hosted fields turned on (which I would never object to), I would only disable when processing something manually or wait until it is supported.

    Plugin Author WooDev

    (@woodev)

    No response, marking resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple Issues – Doesn’t Work’ is closed to new replies.