Skip to content

Commit

Permalink
Merge commit 'd38cadc96417671ef847978246f5e6afe0bba69f' into OFBiz-po…
Browse files Browse the repository at this point in the history
…stAnt

clean-up
rework the implementation.md document
  • Loading branch information
PierreSmits committed Nov 5, 2021
2 parents c52ec9b + d38cadc commit 6ec61d4
Show file tree
Hide file tree
Showing 42 changed files with 3,252 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IMPLEMENTATION.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1. Put the component in your plugins folder
2. Build the component with ./gradlew build in the root folder of your implementation
3. Start your implementation
4. Import the appropriate data elements from the data folder into your implementation via the webtools/import functions
37 changes: 37 additions & 0 deletions config/ConfigurationUiLabels.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.
-->
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">

<property key="Configuration">
<value xml:lang="en">Configuration</value>
<value xml:lang="nl">Configuratie</value>
</property>
<property key="Gateway">
<value xml:lang="en">Gateway</value>
</property>
<property key="SystemProperty">
<value xml:lang="en">System Property</value>
<value xml:lang="nl">Configuratie-element</value>
</property>
<property key="SystemProperties">
<value xml:lang="en">System Properties</value>
<value xml:lang="nl">Configuratie-elementen</value>
</property>
<property key="NewSystemProperty">
<value xml:lang="en">New System Property</value>
<value xml:lang="nl">Nieuw configuratie-element </value>
</property>


</resource>
127 changes: 127 additions & 0 deletions config/oadyen-ErrorUiLabels.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.
-->
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
<property key="1000">
<value xml:lang="en">Unknown message type</value>
</property>
<property key="1001">
<value xml:lang="en">Invalid amount</value>
</property>
<property key="1002">
<value xml:lang="en">Invalid currency</value>
</property>
<property key="1003">
<value xml:lang="en">Merchant account ID invalid</value>
</property>
<property key="1004">
<value xml:lang="en">Merchant Site ID invalid</value>
</property>
<property key="1005">
<value xml:lang="en">Merchant site security code invalid</value>
</property>
<property key="1006">
<value xml:lang="en">Transaction ID invalid</value>
</property>
<property key="1007">
<value xml:lang="en">IP-address invalid</value>
</property>
<property key="1008">
<value xml:lang="en">Invalid description</value>
</property>
<property key="1010">
<value xml:lang="en">Invalid variable</value>
</property>
<property key="1011">
<value xml:lang="en">Customer Account ID invalid</value>
</property>
<property key="1012">
<value xml:lang="en">Customer Security Code invalid</value>
</property>
<property key="1013">
<value xml:lang="en">Signature invalid</value>
</property>
<property key="1014">
<value xml:lang="en">Unspecified error</value>
</property>
<property key="1015">
<value xml:lang="en">Unknown account</value>
</property>
<property key="1016">
<value xml:lang="en">Missing data</value>
</property>
<property key="1017">
<value xml:lang="en">Insufficient funds</value>
</property>
<property key="1018">
<value xml:lang="en">Invalid country code</value>
</property>
<property key="1019">
<value xml:lang="en">Site is not active</value>
</property>
<property key="1020">
<value xml:lang="en">Account is blocked</value>
</property>
<property key="1021">
<value xml:lang="en">Cannot create transaction</value>
</property>
<property key="1022">
<value xml:lang="en">Cannot start a transaction</value>
</property>
<property key="1023">
<value xml:lang="en">No gateway (Payment method) available</value>
</property>
<property key="1024">
<value xml:lang="en">Transaction refused</value>
</property>
<property key="1025">
<value xml:lang="en">Only one currency allowed in shopping cart</value>
</property>
<property key="1026">
<value xml:lang="en">Cart currency must equal transaction currency</value>
</property>
<property key="1027">
<value xml:lang="en">Cart amount must equal transaction amount</value>
</property>
<property key="1028">
<value xml:lang="en">Incorrect tax rate in rule</value>
</property>
<property key="1029">
<value xml:lang="en">Incorrect tax rate for a product</value>
</property>
<property key="1030">
<value xml:lang="en">Incorrect currency for a product</value>
</property>
<property key="1031">
<value xml:lang="en">Incorrect price for a product</value>
</property>
<property key="1032">
<value xml:lang="en">Invalid API key</value>
</property>
<property key="1033">
<value xml:lang="en">Error fetching refund info</value>
</property>
<property key="1034">
<value xml:lang="en">Cannot refund transaction</value>
</property>
<property key="1035">
<value xml:lang="en">Invalid signature</value>
</property>
<property key="1036">
<value xml:lang="en">Invalid iDEAL issuer ID</value>
</property>
<property key="9999">
<value xml:lang="en">Unknown error</value>
</property>
</resource>
27 changes: 27 additions & 0 deletions config/oadyen-UiLabels.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.
-->
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd">
<property key="oadyenApplication">
<value xml:lang="en">ADYEN Integration</value>
</property>
<property key="oadyenCompanyName">
<value xml:lang="en">ORRTIZ: oadyen</value>
</property>
<property key="oadyenCompanySubtitle">
<value xml:lang="en">----</value>
</property>
<property key="oadyenViewPermissionError">
<value xml:lang="en">You are not allowed to view this page.</value>
</property>
</resource>
23 changes: 23 additions & 0 deletions data/helpdata/oadyen-HelpData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.
-->

<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5.0"
xmlns:xl="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
<title>oadyen Overview</title>
<para>The oadyen Help file template.</para>
</section>

38 changes: 38 additions & 0 deletions data/oadyen-DemoData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.
-->
<entity-engine-xml>

<GlAccount
glAccountId="122500"
accountCode="122500"
parentGlAccountId="122000"
glAccountClassId="CURRENT_ASSET"
glAccountTypeId="MRCH_STLMNT_ACCOUNT"
glResourceTypeId="MONEY"
accountName="ACCOUNTS RECEIVABLE - ADYEN"
description=""/>

<PaymentMethodTypeGlAccount
organizationPartyId="Company"
paymentMethodTypeId="EXT_oadyen"
glAccountId="122500"/>

<ProductStorePaymentSetting
applyToAllProducts="Y"
paymentGatewayConfigId="oadyen"
paymentMethodTypeId="EXT_oadyen"
paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL"
productStoreId="9000"/>

</entity-engine-xml>
18 changes: 18 additions & 0 deletions data/oadyen-SecurityGroupDemoData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.tations under the License.
-->

<entity-engine-xml>
<SecurityGroupPermission groupId="FULLADMIN" permissionId="oadyen_ADMIN" fromDate="2001-01-01 00:00:00.0"/>
</entity-engine-xml>
23 changes: 23 additions & 0 deletions data/oadyen-SecurityPermissionSeedData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.itations under the License.
-->
<entity-engine-xml>
<SecurityPermission description="View operations in the oadyen Component." permissionId="oadyen_VIEW"/>
<SecurityPermission description="Create operations in the oadyen Component." permissionId="oadyen_CREATE"/>
<SecurityPermission description="Update operations in the oadyen Component." permissionId="oadyen_UPDATE"/>
<SecurityPermission description="Delete operations in the oadyen Component." permissionId="oadyen_DELETE"/>
<SecurityPermission description="ALL operations in the oadyen Component." permissionId="oadyen_ADMIN"/>

<SecurityGroupPermission groupId="SUPER" permissionId="oadyen_ADMIN" fromDate="2001-01-01 00:00:00.0"/>

</entity-engine-xml>
40 changes: 40 additions & 0 deletions data/oadyen-SeedData.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the file 'LICENSE',
which is part of this (source code) package.
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
See the License for the specific language governing permissions and limitations
under the License.
-->
<entity-engine-xml>

<Enumeration description="Payment Notification Page" enumCode="PAY_NOTIFY" enumId="PRDS_PAY_NOTIFY" enumTypeId="PRDS_EMAIL" sequenceId="21"/>
<Enumeration description="Payment Redirect Page" enumCode="PAY_REDIRECT" enumId="PRDS_PAY_REDIRECT" enumTypeId="PRDS_EMAIL" sequenceId="22"/>
<Enumeration description="Payment Cancel Page" enumCode="PAY_CANCEL" enumId="PRDS_PAY_CANCEL" enumTypeId="PRDS_EMAIL" sequenceId="23"/>

<PaymentMethodType description="ADYEN (EXT)"
paymentMethodTypeId="EXT_oadyen"/>

<PaymentGatewayConfigType
paymentGatewayConfigTypeId="EXT"
hasTable="N"
description="External Gateway Configuration"/>

<PaymentGatewayConfigType
paymentGatewayConfigTypeId="oadyen"
hasTable="N"
parentTypeId="EXT"
description="ADYEN Payment Gateway Configuration"/>

<PaymentGatewayConfig
paymentGatewayConfigId="oadyen"
paymentGatewayConfigTypeId="oadyen"
description="ADYEN Config"/>


</entity-engine-xml>
Loading

0 comments on commit 6ec61d4

Please sign in to comment.