Cloudfront & User Agent
-
Hello,
We currently use your plugin but we recently updated our CDN to Cloudfront. Cloudfront caches based on a number of things but the one extra thing it does do is change the user-agent to “Amazon Cloudfront” for all requests.
This causes the webhook to return a 400 code after line 93 of /includes/class-wc-stripe-webhook-handler.php.
As a work around I have commented out lines 93-95 within your plugin.
Please can we have a check within the plugin that allows for this issue that is specific to those using the Cloudfront CDN?
Looking forward to your reply.
Shane.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Cloudfront & User Agent’ is closed to new replies.