-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmanifest.xml
66 lines (64 loc) · 2.71 KB
/
manifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/platform/trunk/src/Core/Framework/App/Manifest/Schema/manifest-2.0.xsd">
<meta>
<name>Foo</name>
<label>Foo</label>
<label lang="de-DE">Foo</label>
<description></description>
<description lang="de-DE"></description>
<author>Your Company</author>
<copyright>(c) by Your Company</copyright>
<version>1.0.0</version>
<icon>Resources/config/plugin.png</icon>
<license>MIT</license>
</meta>
<setup>
<registrationUrl>http://localhost:6001/register/authorize</registrationUrl>
<secret>test</secret>
</setup>
<admin>
<action-button action="detail" entity="product" view="detail" url="http://localhost:6001/action/product">
<label>Do something</label>
</action-button>
<module name="LOL" parent="sw-marketing" position="0" source="http://localhost:6001/module/test">
<label>LOL</label>
</module>
</admin>
<tax>
<tax-provider>
<identifier>foo</identifier>
<name>foo</name>
<priority>0</priority>
<process-url>http://localhost:6001/tax/process</process-url>
</tax-provider>
</tax>
<payments>
<payment-method>
<name>Payment Sync</name>
<identifier>sync</identifier>
<pay-url>http://localhost:6001/payment/pay</pay-url>
</payment-method>
<payment-method>
<name>Payment Async</name>
<identifier>async</identifier>
<pay-url>http://localhost:6001/payment/async-pay</pay-url>
<finalize-url>http://localhost:6001/payment/finalize</finalize-url>
</payment-method>
<payment-method>
<name>Payment Prepared</name>
<identifier>prepared</identifier>
<validate-url>http://localhost:6001/payment/validate</validate-url>
<capture-url>http://localhost:6001/payment/capture</capture-url>
</payment-method>
</payments>
<webhooks>
<webhook name="productWritten" url="http://localhost:6001/webhook/product.written" event="product.written"/>
<webhook name="appDeleted" url="http://localhost:6001/webhook/app.deleted" event="app.deleted"/>
<webhook name="appActivated" url="http://localhost:6001/webhook/app.activated" event="app.activated"/>
<webhook name="appDeactivated" url="http://localhost:6001/webhook/app.deactivated" event="app.deactivated"/>
</webhooks>
<permissions>
<read>product</read>
</permissions>
</manifest>