Skip to content

Commit 943cf50

Browse files
committed
Add sylius/paypal-plugin:2.0 recipe
1 parent 8bdbd82 commit 943cf50

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
imports:
2+
- { resource: "@SyliusInvoicingPlugin/config/config.yaml" }
3+
4+
fos_rest:
5+
exception: true
6+
view:
7+
formats:
8+
json: true
9+
xml: true
10+
empty_content: 204
11+
format_listener:
12+
rules:
13+
- { path: '^/api/.*', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: true }
14+
- { path: '^/', stop: true }
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
sylius_paypal_admin:
2+
resource: "@SyliusPayPalPlugin/config/admin_routes.yaml"
3+
prefix: /admin
4+
5+
sylius_paypal_shop:
6+
resource: "@SyliusPayPalPlugin/config/shop_routes.yaml"
7+
prefix: /{_locale}
8+
requirements:
9+
_locale: ^[a-z]{2}(?:_[A-Z]{2})?$
10+
11+
sylius_paypal_plugin_webhook_refund_order:
12+
resource: "@SyliusPayPalPlugin/config/webhook_routes.yaml"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Sylius\\InvoicingPlugin\\SyliusInvoicingPlugin": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}

0 commit comments

Comments
 (0)