From e1cdec879e77f048b64499c8af41fd31b33879b9 Mon Sep 17 00:00:00 2001 From: Vincent Boulanger Date: Fri, 27 Oct 2023 12:36:42 +0200 Subject: [PATCH] Fix metadata typo and obsolete composer autoload line --- README.md | 4 ++-- composer.json | 3 +-- metadata.php | 22 +++++++++++----------- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 8da0569..a7347ac 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ - Execute the following command: - composer require oxid-esales/stripe-module + composer require oxid-esales/stripe-module composer require stripe/stripe-php @@ -33,4 +33,4 @@ Save config at that point. - Status Mapping, Cronjob and other unmentioned configuration are optional and self-explanatory. -Payment methods can be then activated as any other Oxid payment method. \ No newline at end of file +Payment methods can be then activated as any other Oxid payment method. diff --git a/composer.json b/composer.json index cb46d2b..c6faa52 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,7 @@ }, "autoload": { "psr-4": { - "OxidSolutionCatalysts\\Stripe\\": "./", - "Stripe\\": "./lib/stripe-php/lib/" + "OxidSolutionCatalysts\\Stripe\\": "./" } } } diff --git a/metadata.php b/metadata.php index 503b44c..b2ddafc 100644 --- a/metadata.php +++ b/metadata.php @@ -50,17 +50,17 @@ 'StripeConnect' => \OxidSolutionCatalysts\Stripe\Application\Controller\Admin\StripeConnect::class, ], 'templates' => [ - 'stripewebhook.tpl' => 'fc/stripe/Application/views/hook/tpl/stripewebhook.tpl', - 'stripe_issuers.tpl' => 'fc/stripe/Application/views/frontend/tpl/stripe_issuers.tpl', - 'stripeideal.tpl' => 'fc/stripe/Application/views/frontend/tpl/stripeideal.tpl', - 'stripesofort.tpl' => 'fc/stripe/Application/views/frontend/tpl/stripesofort.tpl', - 'stripeeps.tpl' => 'fc/stripe/Application/views/frontend/tpl/stripeeps.tpl', - 'stripep24.tpl' => 'fc/stripe/Application/views/frontend/tpl/stripep24.tpl', - 'stripecreditcard.tpl' => 'fc/stripe/Application/views/frontend/tpl/stripecreditcard.tpl', - 'stripe_order_refund.tpl' => 'fc/stripe/Application/views/admin/tpl/stripe_order_refund.tpl', - 'stripe_second_chance.tpl' => 'fc/stripe/Application/views/email/tpl/stripe_second_chance.tpl', - 'stripe_module_main.tpl' => 'fc/stripe/Application/views/admin/tpl/stripe_module_main.tpl', - 'stripe_connect.tpl' => 'fc/stripe/Application/views/admin/tpl/stripe_connect.tpl', + 'stripewebhook.tpl' => 'osc/stripe/Application/views/hook/tpl/stripewebhook.tpl', + 'stripe_issuers.tpl' => 'osc/stripe/Application/views/frontend/tpl/stripe_issuers.tpl', + 'stripeideal.tpl' => 'osc/stripe/Application/views/frontend/tpl/stripeideal.tpl', + 'stripesofort.tpl' => 'osc/stripe/Application/views/frontend/tpl/stripesofort.tpl', + 'stripeeps.tpl' => 'osc/stripe/Application/views/frontend/tpl/stripeeps.tpl', + 'stripep24.tpl' => 'osc/stripe/Application/views/frontend/tpl/stripep24.tpl', + 'stripecreditcard.tpl' => 'osc/stripe/Application/views/frontend/tpl/stripecreditcard.tpl', + 'stripe_order_refund.tpl' => 'osc/stripe/Application/views/admin/tpl/stripe_order_refund.tpl', + 'stripe_second_chance.tpl' => 'osc/stripe/Application/views/email/tpl/stripe_second_chance.tpl', + 'stripe_module_main.tpl' => 'osc/stripe/Application/views/admin/tpl/stripe_module_main.tpl', + 'stripe_connect.tpl' => 'osc/stripe/Application/views/admin/tpl/stripe_connect.tpl', ], 'events' => [ 'onActivate' => \OxidSolutionCatalysts\Stripe\Core\Events::class.'::onActivate',