Title: Multiple Issues &#8211; Doesn&#8217;t Work
Last modified: October 25, 2017

---

# Multiple Issues – Doesn’t Work

 *  Resolved [JSP0421](https://wordpress.org/support/users/jsp0421/)
 * (@jsp0421)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/multiple-issues-doesnt-work/)
 * 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](https://wordpress.org/support/users/volcommky/)
 * (@volcommky)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/multiple-issues-doesnt-work/#post-9621254)
 * **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](https://wordpress.org/support/users/woodev/)
 * (@woodev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/multiple-issues-doesnt-work/#post-9671307)
 * 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.

 * ![](https://ps.w.org/manual-credit-card-processing-for-woocommerce/assets/icon-
   256x256.png?rev=1663385)
 * [Manual Credit Card Processing for WooCommerce](https://wordpress.org/plugins/manual-credit-card-processing-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/manual-credit-card-processing-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/manual-credit-card-processing-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/manual-credit-card-processing-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/manual-credit-card-processing-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/manual-credit-card-processing-for-woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [WooDev](https://wordpress.org/support/users/woodev/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/multiple-issues-doesnt-work/#post-9671307)
 * Status: resolved