From c4b9540b2c894a9bb5f7cb428b6b8bebb3f9101a Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 19 Oct 2025 21:20:02 +0000 Subject: [PATCH] Edit create-payment-intent.php via Editor --- create-payment-intent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);