Skip to content

Commit

Permalink
Fix metadata typo and obsolete composer autoload line
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Boulanger committed Oct 27, 2023
1 parent b446281 commit e1cdec8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

- Execute the following command:

<code>composer require oxid-esales/stripe-module</code>
<code>composer require oxid-esales/stripe-module</code>
<code>composer require stripe/stripe-php</code>


Expand All @@ -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.
Payment methods can be then activated as any other Oxid payment method.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
},
"autoload": {
"psr-4": {
"OxidSolutionCatalysts\\Stripe\\": "./",
"Stripe\\": "./lib/stripe-php/lib/"
"OxidSolutionCatalysts\\Stripe\\": "./"
}
}
}
22 changes: 11 additions & 11 deletions metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e1cdec8

Please sign in to comment.