High volume of ajax requests
-
We’re being told by WPEngine that this Stripe Payments plugin is generating a high volume of ajax requests, and as a result, our site has been moved off a production server and onto a temporary host until it is resolved. Notes below are from the WPEngine techs:
“Monitoring the ajax calls being made on the site, the action I see being rapidly repeated is asp_pp_req_token.”
wp-content/plugins/stripe-payments/includes/class-asp-pp-handler.php
31: add_action( 'wp_ajax_asp_pp_req_token', array( $this, 'handle_request_token' ) ); 32: add_action( 'wp_ajax_nopriv_asp_pp_req_token', array( $this, 'handle_request_token' ) );
wp-content/plugins/stripe-payments/public/assets/js/pp-handler.js
843: var reqStr = 'action=asp_pp_req_token&amount=' + vars.data.amount + '&curr=' + vars.data.currency + '&product_id=' + vars.data.product_id;
“We ask that this function be looked into since it appears to be causing a high amount of uncached requests to be generated on the site.”
Has anyone seen anything like this? Appreciate any help that can be offered.
Thank you.
- The topic ‘High volume of ajax requests’ is closed to new replies.