diff --git a/create-payment-intent.php b/create-payment-intent.php index 2ff8b32..69c46df 100644 --- a/create-payment-intent.php +++ b/create-payment-intent.php @@ -12,7 +12,7 @@ if (!isset($_SESSION['user_id'])) { // It is not recommended to store the secret key directly in the code. // It should be stored in an environment variable or a secure configuration file. -$stripeSecretKey = 'sk_live_51SJvpVAgq1ywLQy0jBRZsARLf9VGKH8LOW2l9GVHRXJ2KiG5dqYYRMFOw1DT'; +$stripeSecretKey = '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'; \Stripe\Stripe::setApiKey($stripeSecretKey);