Edit create-payment-intent.php via Editor
This commit is contained in:
parent
f03532c201
commit
c4b9540b2c
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user