Stripe live operatiu i descompte d stock al Google Sheet

This commit is contained in:
2026-04-09 09:46:07 +02:00
parent 70a20938ac
commit cd9633dfab
4 changed files with 87 additions and 4 deletions
+5 -2
View File
@@ -3,10 +3,10 @@ declare(strict_types=1);
return [
// Clau secreta real de Stripe. NO la posis mai al HTML.
'stripe_secret_key' => 'sk_test_51IvGaFHRV8rA2XwsDiGII0rVfot2HabnvF862L8G6rYIzUscZDMkM4WlVAV6GbYSMZsFEDF44PEppdJaLdGo0idB00UyabGh0u',
'stripe_secret_key' => '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',
// Secret del webhook de Stripe (Signing secret)
'stripe_webhook_secret' => 'whsec_wBJZjwPIhPclM1i4bKUtnQqol26caq5L',
'stripe_webhook_secret' => 'whsec_8FTXIXPWBSzFjJNQWuzetQF6LoNKv9sg',
// Moneda
'currency' => 'eur',
@@ -17,4 +17,7 @@ return [
// URLs públiques
'success_url' => 'https://kapvoe-portfoli.treblarella.org/checkout/payment-success.php',
'cancel_url' => 'https://kapvoe-portfoli.treblarella.org/checkout/payment-cancel.php',
'stock_sync_url' => 'https://script.google.com/macros/s/AKfycbyH6PuQPR342mwSiKCkYZ1lOnn1VccqzFO-ScbhwjvJoABU3LqVNJcS3gtPE5ZuT0JyvQ/exec',
'stock_sync_token' => 'kapvoe_stock_2026_x7F9mQpL2vN8rT4sZ1kW',
];