include_once 'vendor/stripe/stripe-php/init.php';
include_once 'core_config.php';
// Set your secret key. Remember to switch to your live secret key in production!
// See your keys here: https://dashboard.stripe.com/account/apikeys
//\Stripe\Stripe::setApiKey('sk_test_51Hr86WIeGE3wPflGcmnCkK3HEIQ30sNshKcEFR5o09KTHm38GflFNqCYaZVMyPf32LngaFfVY4IQvknoS4VtZO5e00SuFRK6Nu');
\Stripe\Stripe::setApiKey('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');
$intent = \Stripe\PaymentIntent::create([
'amount' => 19900,
'description' => 'Coaching 3 mois',
'currency' => 'eur',
// Verify your integration in this guide by including this parameter
'metadata' => ['integration_check' => 'accept_a_payment'],
]);
?>