Hi @ryanhungate
thanks for coming back. I tried it.After the update: Now I get a fatal error at the same stage. Reason: wp_remote_post() returns now a WP_Error (“Too many redirects”), while the plugin does not check, if the response is a WP_Error. I tried quickly just to raise the number of allowed redirects to 100, but it still runs into the same problem.
> but it might have something to do with the wp_remote_post altering the METHOD
I tested it now locally too, where I do have the same problem:
Basically this is the response I am getting:
HTTP/1.1 302 Found
Server: nginx
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Cache-Control: no-cache, private
Date: Fri, 01 Nov 2019 07:36:56 GMT
Location: https://woocommerce.mailchimpapp.com/api/finish
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET
Access-Control-Allow-Headers: Content-Type, Authorization
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="0;url=https://woocommerce.mailchimpapp.com/api/finish" />
<title>Redirecting to https://woocommerce.mailchimpapp.com/api/finish</title>
</head>
<body>
Redirecting to <a href="https://woocommerce.mailchimpapp.com/api/finish">https://woocommerce.mailchimpapp.com/api/finish</a>.
</body>
</html>
Using xDebug, as far as I can see it I am doing a post request as I stop here: https://github.com/WordPress/WordPress/blob/3caaa40fc6aa67a655d8bf714717901a8ab8373e/wp-includes/Requests/Transport/cURL.php#L335
The redirects then of course are GET-Requests.
I hope this helps you. To me the question seems to be why the server responses with this redirect instead of returning the requested data.