Skip to content

Commit

Permalink
PayPal Insights Integration, ref #904
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Nov 14, 2017
1 parent 8b9e298 commit 57929aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/wc-gateway-paypal-express-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function display_notice_and_disable_marketing_solution() {
jQuery('.reset_paypal_marketing_solutions').on('click', function (event) {
event.preventDefault();
jQuery('<input>').attr({ type: 'hidden', id: 'reset', value: 'reset', name: 'reset'}).appendTo('form');
jQuery('#woocommerce_paypal_express_paypal_marketing_solutions_cid_production').val('reset');
jQuery('#woocommerce_paypal_express_paypal_marketing_solutions_cid_production').val('');
jQuery('#woocommerce_paypal_express_paypal_marketing_solutions_enabled').prop('checked', false);
jQuery("form").submit();
});
Expand Down

0 comments on commit 57929aa

Please sign in to comment.