Would you have any updates on this?
It still appears in the source code of the live environment:
<script type="rocketlazyloadscript">
window.wc_ga_pro = {};
window.wc_ga_pro.ajax_url = 'https://www.website.nl/wp-admin/admin-ajax.php';
window.wc_ga_pro.available_gateways = {"mollie_wc_gateway_ideal":"iDEAL","ppcp-gateway":"PayPal","mollie_wc_gateway_bancontact":"Bancontact","mollie_wc_gateway_banktransfer":"Bankoverdracht","mollie_wc_gateway_klarnapaylater":"Achteraf betalen (+\u20ac1)","mollie_wc_gateway_creditcard":"Creditcard (+\u20ac1)","mollie_wc_gateway_applepay":"Apple Pay","mollie_wc_gateway_belfius":"Belfius Direct Net","mollie_wc_gateway_sofort":"SOFORT Banking"};
// interpolate json by replacing placeholders with variables
window.wc_ga_pro.interpolate_json = function( object, variables ) {
if ( ! variables ) {
return object;
}
var j = JSON.stringify( object );
for ( var k in variables ) {
j = j.split( '{$' + k + '}' ).join( variables[ k ] );
}
return JSON.parse( j );
};
// return the title for a payment gateway
window.wc_ga_pro.get_payment_method_title = function( payment_method ) {
return window.wc_ga_pro.available_gateways[ payment_method ] || payment_method;
};
// check if an email is valid
window.wc_ga_pro.is_valid_email = function( email ) {
return /[^\s@]+@[^\s@]+\.[^\s@]+/.test( email );
};
</script>
-
This reply was modified 2 years, 2 months ago by
sanderrrrr.
-
This reply was modified 2 years, 2 months ago by
sanderrrrr.