From 891efaa81e6e5361427e9ccd8ea4f76977fbce68 Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Mon, 26 Oct 2020 15:37:39 +0100 Subject: [PATCH 1/4] Add flux-se/sylius-payum-stripe-plugin recipe --- flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json diff --git a/flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json b/flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json new file mode 100644 index 00000000..b7d69f60 --- /dev/null +++ b/flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json @@ -0,0 +1,5 @@ +{ + "bundles": { + "FluxSE\\SyliusPayumStripePlugin\\FluxSESyliusPayumStripePlugin::class": ["all"] + } +} From 98d002655460a28816467fb33da32461fd271969 Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Mon, 26 Oct 2020 15:55:58 +0100 Subject: [PATCH 2/4] Add default config with comments --- .../1.2/config/packages/flux_se_sylius_payum_stripe.yaml | 8 ++++++++ .../{1.2.0 => 1.2}/manifest.json | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml rename flux-se/sylius-payum-stripe-plugin/{1.2.0 => 1.2}/manifest.json (63%) diff --git a/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml b/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml new file mode 100644 index 00000000..54de04bd --- /dev/null +++ b/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml @@ -0,0 +1,8 @@ +flux_se_sylius_payum_stripe: + line_item_image: + # This is the imagine filter use to get the image displayed on Stripe Checkout Session + # (default: the filter uses into `@ShopBundle/Product/Show/_images.html.twig`) + imagine_filter: 'sylius_shop_product_original' + # Fallback image used when no image is set on a product and also when you test this plugin + # from a private web server (ex: from localhost) + fallback_image: 'https://placehold.it/400x300' \ No newline at end of file diff --git a/flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json b/flux-se/sylius-payum-stripe-plugin/1.2/manifest.json similarity index 63% rename from flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json rename to flux-se/sylius-payum-stripe-plugin/1.2/manifest.json index b7d69f60..47d70781 100644 --- a/flux-se/sylius-payum-stripe-plugin/1.2.0/manifest.json +++ b/flux-se/sylius-payum-stripe-plugin/1.2/manifest.json @@ -1,5 +1,8 @@ { "bundles": { "FluxSE\\SyliusPayumStripePlugin\\FluxSESyliusPayumStripePlugin::class": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" } } From 6b4fa47135917e4980e66e9dadcde08e10a13d8c Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Mon, 26 Oct 2020 15:57:15 +0100 Subject: [PATCH 3/4] Fix new line --- .../1.2/config/packages/flux_se_sylius_payum_stripe.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml b/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml index 54de04bd..1b97cc74 100644 --- a/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml +++ b/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml @@ -5,4 +5,4 @@ flux_se_sylius_payum_stripe: imagine_filter: 'sylius_shop_product_original' # Fallback image used when no image is set on a product and also when you test this plugin # from a private web server (ex: from localhost) - fallback_image: 'https://placehold.it/400x300' \ No newline at end of file + fallback_image: 'https://placehold.it/400x300' From 12c5ec01ec61efd603d29dba2405278ff1aae8d8 Mon Sep 17 00:00:00 2001 From: Francis Hilaire Date: Mon, 16 Nov 2020 11:10:50 +0100 Subject: [PATCH 4/4] Fix wrong class declaration --- flux-se/sylius-payum-stripe-plugin/1.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flux-se/sylius-payum-stripe-plugin/1.2/manifest.json b/flux-se/sylius-payum-stripe-plugin/1.2/manifest.json index 47d70781..3b487b82 100644 --- a/flux-se/sylius-payum-stripe-plugin/1.2/manifest.json +++ b/flux-se/sylius-payum-stripe-plugin/1.2/manifest.json @@ -1,6 +1,6 @@ { "bundles": { - "FluxSE\\SyliusPayumStripePlugin\\FluxSESyliusPayumStripePlugin::class": ["all"] + "FluxSE\\SyliusPayumStripePlugin\\FluxSESyliusPayumStripePlugin": ["all"] }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/"