Membership plugin conflict with shopp ecommerce plugin

Hi i just found a javascript conflict with shopp plugin. Hope this helps to improve an already excellent plugin.

The problem can be recreated by going to the shopp config -> payment setup, when the membership plugin is activated the add payment option pulldown will be empty whem membership is deactivated the pull down will be populated.

By inspecting chrome’s console you will find this error “Uncaught SyntaxError: Unexpected token > at admin.php line 267”

Bellow is the code, the error is located near the end where it says

“Fatal error: Cannot re”


<script type=”text/javascript”>

/* < ![CDATA[ */

var SHOPP_PAYMENT_OPTION = “Opciu00f3n”,

SHOPP_DELETE_PAYMENT_OPTION = “Are you sure you want to delete this payment option?”,

SHOPP_GATEWAY_MENU_PROMPT = “Select a payment system…”,


SHOPP_SELECT_ALL = “Seleccionar todo”,

gateways = [“pages”,”db_version”,”shopp_setup”,”maintenance”,”db_updates”,”image_storage”,”product_storage”];

jQuery(document).ready( function() {

var $=jqnc(),

handlers = new CallbackRegistry();

handlers.options = {};

handlers.enabled = [];

handlers.register = function (name,object) {

this.callbacks[name] = function () {object();}

this.options[name] = object;

} = function(name,arg1,arg2,arg3) {


var module = this.options[name];



<b>Fatal error: Cannot re</script><script type=”text/javascript”>

//< ![CDATA[

window.__CF=window.__CF||{};window.__CF.u=”/cdn-cgi/async/cf/uri/”;window.__CF.p=”fc/a90faa7367a4d7ca8dfba752b22871″;window.__CF.o=1;window.__CF.c=0;(function(){var a=document,b=a.createElement(“script”:wink:;b.src=”//”;b.setAttribute(“async”,”true”:wink:;a=a.getElementsByTagName(“script”:wink:;a=a[a.length-1];a.parentNode.insertBefore(b,a)})();