I’m attempting to fix a site that had been working as of approximately a month ago.
Using: Paypal Payments Pro 2.7 and Paypal Checkout 2.0
error states "undefined is not an object, evaluating r.replace in o.setPayPalScriptSrc below.
site is: General Donations – Friends of Realms
submit button has vanished
o.setPayPalScriptSrc = function(t) {
var e = n('script[data-identifier="gform_ppcp_js_sdk"]'),
r = e.attr("src");
r = r.replace("&intent=authorize", "").replace("&intent=subscription", "").replace("&vault=true", "").replace("&intent=capture", ""),