The relevant part of my code looks like this.
try
{
  $customer = \Stripe\Customer::create(array(
    'email' => $_POST['custEmail'],
    'source'  => $_POST['stripeToken'],
    'plan' => 'my_plan'
  ));
 header("Location:https://something.com"); 
  exit;
}
catch(Exception $e)
{
  //header('Location:oops.html');
    echo "no work";
  error_log("unable to sign up customer:" . $_POST['custEmail'].
    ", error:" . $e->getMessage());
}
The response from my PHP file includes this:
HTTP/1.1 302 Found
Date: Sun, 31 Jul 2016 21:13:52 GMT
Server: Apache/2.4.23 (Amazon) OpenSSL/1.0.1k-fips PHP/5.6.22
X-Powered-By: PHP/5.6.22
Location: https://something.com
Content-Length: 0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
So, the message is coming back (I guess), but my browser doesn't redirect. What am I missing?
 
    