From 68ec7bc80d353695d4f5bb5fc7d064584a08684f Mon Sep 17 00:00:00 2001 From: Fabien Papet Date: Fri, 13 May 2022 11:56:20 +0200 Subject: [PATCH] Add Fpt/Stripe-Bundle (#1406) --- fpt/stripe-bundle/0.5/config/packages/stripe.yaml | 7 +++++++ fpt/stripe-bundle/0.5/config/routes/stripe.yaml | 2 ++ fpt/stripe-bundle/0.5/manifest.json | 14 ++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 fpt/stripe-bundle/0.5/config/packages/stripe.yaml create mode 100644 fpt/stripe-bundle/0.5/config/routes/stripe.yaml create mode 100644 fpt/stripe-bundle/0.5/manifest.json diff --git a/fpt/stripe-bundle/0.5/config/packages/stripe.yaml b/fpt/stripe-bundle/0.5/config/packages/stripe.yaml new file mode 100644 index 00000000..dcec751d --- /dev/null +++ b/fpt/stripe-bundle/0.5/config/packages/stripe.yaml @@ -0,0 +1,7 @@ +fpt_stripe: + credentials: + publishable_key: "%env(STRIPE_PUBLISHABLE_KEY)%" + secret_key: "%env(STRIPE_SECRET_KEY)%" + webhook: + check_signature: true + signature_key: "%env(STRIPE_WEBHOOK_SIGNATURE_KEY)%" diff --git a/fpt/stripe-bundle/0.5/config/routes/stripe.yaml b/fpt/stripe-bundle/0.5/config/routes/stripe.yaml new file mode 100644 index 00000000..cf6ee9ae --- /dev/null +++ b/fpt/stripe-bundle/0.5/config/routes/stripe.yaml @@ -0,0 +1,2 @@ +stripe_webhooks: + resource: "@FptStripeBundle/Resources/config/routes.php" diff --git a/fpt/stripe-bundle/0.5/manifest.json b/fpt/stripe-bundle/0.5/manifest.json new file mode 100644 index 00000000..638eff20 --- /dev/null +++ b/fpt/stripe-bundle/0.5/manifest.json @@ -0,0 +1,14 @@ +{ + "bundles": { + "Fpt\\StripeBundle\\FptStripeBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "STRIPE_PUBLISHABLE_KEY": "pk_***", + "STRIPE_SECRET_KEY": "sk_***", + "STRIPE_WEBHOOK_SIGNATURE_KEY": "wh_***" + } +} +