Add Fpt/Stripe-Bundle (#1406)

This commit is contained in:
Fabien Papet
2022-05-13 11:56:20 +02:00
committed by GitHub
parent f47abd46d8
commit 68ec7bc80d
3 changed files with 23 additions and 0 deletions

View File

@@ -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)%"

View File

@@ -0,0 +1,2 @@
stripe_webhooks:
resource: "@FptStripeBundle/Resources/config/routes.php"

View File

@@ -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_***"
}
}