The current version of the WooCommerce Click & Pledge Gateway WordPress plugin breaks admin-ajax checkout processing.
If a browser sends an admin-ajax purchase request to WooCommerce using javascript, the Click & Pledge gateway is loaded to process the purchase. The plugin's initialization process outputs a style tag. When WooCommerce attempts to return a JSON response with the result of the checkout, this style tag breaks processing and can cause WC to treat the transaction as a failure.
See line 205 of the gateway-clickandpledge.php file's init_form_fields method.
We locally modified our copy of the plugin to remove this style tag and fix the checkout process. Please remove the style tag output from the plugin and release an update.
If a browser sends an admin-ajax purchase request to WooCommerce using javascript, the Click & Pledge gateway is loaded to process the purchase. The plugin's initialization process outputs a style tag. When WooCommerce attempts to return a JSON response with the result of the checkout, this style tag breaks processing and can cause WC to treat the transaction as a failure.
See line 205 of the gateway-clickandpledge.php file's init_form_fields method.
We locally modified our copy of the plugin to remove this style tag and fix the checkout process. Please remove the style tag output from the plugin and release an update.
Comment