Stripe is not working with Nginx
i am using this code
include("sprite/lib/Stripe.php");
Stripe::setApiKey("sk_test_pQ4qpg5n0CzoIyWkpVjgyNj b");
$error = '';
$success = '';
try {
if (!isset($_POST['stripeToken']))
throw new Exception("The Stripe Token was not generated correctly");
Stripe_Customer::create(
array(
"description" => "abcs",
"email" => "abc@gmail.com",
"card" => $_POST['stripeToken']
)
);
header("location: thankyou.php?account=$account");
}
catch (Exception $e) {
$error = $e->getMessage();
}
token is creating successfully but facing some problem with php code, same code is working in my Apache server.
Please help me soon
-
kaufenpreis Banned-
Thanks
{{ DiscussionBoard.errors[9184044].message }} -