-
-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add sylius/paypal-plugin:1.7 recipe * Revert "Remove sylius/refund-plugin:0.4 recipe" This reverts commit 4870325. * Correct sylius/invoicing-plugin:1.0 recipe * Correct sylius/paypal 2.0gs recipe * Correct sylius/refund-plugin:2.0 recipe * Remove sylius/refund-plugin:2.0 recipe
- Loading branch information
Showing
12 changed files
with
42 additions
and
47 deletions.
There are no files selected for viewing
11 changes: 2 additions & 9 deletions
11
sylius/invoicing-plugin/1.0/config/routes/sylius_invoicing.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
sylius_invoicing_admin: | ||
resource: "@SyliusInvoicingPlugin/config/admin_routes.yaml" | ||
prefix: /admin | ||
|
||
sylius_invoicing_shop: | ||
resource: "@SyliusInvoicingPlugin/config/shop_routes.yaml" | ||
prefix: /{_locale} | ||
requirements: | ||
_locale: ^[a-z]{2}(?:_[A-Z]{2})?$ | ||
sylius_invoicing: | ||
resource: "@SyliusInvoicingPlugin/config/routes.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
imports: | ||
- { resource: "@SyliusPayPalPlugin/Resources/config/config.yaml" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
sylius_paypal_admin: | ||
resource: "@SyliusPayPalPlugin/Resources/config/admin_routing.yml" | ||
prefix: /%sylius_admin.path_name% | ||
|
||
sylius_paypal_shop: | ||
resource: "@SyliusPayPalPlugin/Resources/config/shop_routing.yaml" | ||
prefix: /{_locale} | ||
requirements: | ||
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$ | ||
|
||
sylius_paypal_webhook: | ||
resource: "@SyliusPayPalPlugin/Resources/config/webhook_routing.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"bundles": { | ||
"Sylius\\PayPalPlugin\\SyliusPayPalPlugin": ["all"] | ||
}, | ||
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/" | ||
} | ||
} |
14 changes: 1 addition & 13 deletions
14
sylius/paypal-plugin/2.0/config/packages/sylius_paypal.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,2 @@ | ||
imports: | ||
- { resource: "@SyliusInvoicingPlugin/config/config.yaml" } | ||
|
||
fos_rest: | ||
exception: true | ||
view: | ||
formats: | ||
json: true | ||
xml: true | ||
empty_content: 204 | ||
format_listener: | ||
rules: | ||
- { path: '^/api/.*', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: true } | ||
- { path: '^/', stop: true } | ||
- { resource: "@SyliusPayPalPlugin/config/config.yaml" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
sylius_paypal_admin: | ||
resource: "@SyliusPayPalPlugin/config/admin_routes.yaml" | ||
prefix: /admin | ||
|
||
sylius_paypal_shop: | ||
resource: "@SyliusPayPalPlugin/config/shop_routes.yaml" | ||
prefix: /{_locale} | ||
requirements: | ||
_locale: ^[a-z]{2}(?:_[A-Z]{2})?$ | ||
|
||
sylius_paypal_plugin_webhook_refund_order: | ||
resource: "@SyliusPayPalPlugin/config/webhook_routes.yaml" | ||
sylius_paypal: | ||
resource: "@SyliusPayPalPlugin/config/routes.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
{ | ||
"bundles": { | ||
"Sylius\\InvoicingPlugin\\SyliusInvoicingPlugin": ["all"] | ||
"Sylius\\PayPalPlugin\\SyliusPayPalPlugin": ["all"] | ||
}, | ||
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/" | ||
} | ||
}, | ||
"add-lines": [ | ||
{ | ||
"file": "config/packages/fos_rest.yaml", | ||
"position": "after_target", | ||
"warn_if_missing": true, | ||
"target": "fos_rest:", | ||
"content": " ###> sylius/paypal-plugin ###\n exception: true\n view:\n formats:\n json: true\n xml: true\n empty_content: 204\n format_listener:\n rules:\n - { path: '^/api/.*', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: true }\n - { path: '^/', stop: true }\n ###< sylius/paypal-plugin ###\n" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
imports: | ||
- { resource: "@SyliusRefundPlugin/Resources/config/app/config.yml" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sylius_refund: | ||
resource: "@SyliusRefundPlugin/Resources/config/routing.yml" |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.