Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.demandware.com/xml/impex/metadata/2006-10-31">
<type-extension type-id="SitePreferences">
<custom-attribute-definitions>
<attribute-definition attribute-id="marketpayPassword">
<display-name xml:lang="x-default">Marketpay Password</display-name>
<description xml:lang="x-default">This field is used to store the password of the market pay terminals.</description>
<type>string</type>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<min-length>0</min-length>
</attribute-definition>
<attribute-definition attribute-id="marketpayUsername">
<display-name xml:lang="x-default">Marketpay Username</display-name>
<description xml:lang="x-default">This field is used to store the username of the market pay terminals.</description>
<type>string</type>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<min-length>0</min-length>
</attribute-definition>
<attribute-definition attribute-id="organizationId">
<display-name xml:lang="x-default">Organization ID</display-name>
<description xml:lang="x-default">This field is used to store the organization ID.</description>
<type>string</type>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<min-length>0</min-length>
</attribute-definition>
<attribute-definition attribute-id="organizationShortCode">
<display-name xml:lang="x-default">Organization Short Code</display-name>
<description xml:lang="x-default">This field is used to store the organization's short code.</description>
<type>string</type>
<mandatory-flag>false</mandatory-flag>
<externally-managed-flag>false</externally-managed-flag>
<min-length>0</min-length>
</attribute-definition>
</custom-attribute-definitions>
<group-definitions>
<attribute-group group-id="Marketpay">
<display-name xml:lang="x-default">Marketpay</display-name>
<attribute attribute-id="marketpayUsername"/>
<attribute attribute-id="marketpayPassword"/>
<attribute attribute-id="organizationShortCode"/>
<attribute attribute-id="organizationId"/>
</attribute-group>
</group-definitions>
</type-extension>
</metadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<services xmlns="http://www.demandware.com/xml/impex/services/2014-09-26">
<service-credential service-credential-id="int.maketpay.auth">
<url>Service URL</url>
<user-id/>
<password encrypted="true" encryption-type="common.export">*****************************************</password>
</service-credential>

<service-credential service-credential-id="int.marketpay.session">
<url>Service URL</url>
<user-id/>
<password encrypted="true" encryption-type="common.export">*****************************************</password>
</service-credential>

<service-profile service-profile-id="int.maketpay.auth">
<timeout-millis>1000</timeout-millis>
<rate-limit-enabled>false</rate-limit-enabled>
<rate-limit-calls>0</rate-limit-calls>
<rate-limit-millis>0</rate-limit-millis>
<cb-enabled>true</cb-enabled>
<cb-calls>0</cb-calls>
<cb-millis>0</cb-millis>
</service-profile>

<service-profile service-profile-id="int.marketpay.session">
<timeout-millis>1000</timeout-millis>
<rate-limit-enabled>false</rate-limit-enabled>
<rate-limit-calls>0</rate-limit-calls>
<rate-limit-millis>0</rate-limit-millis>
<cb-enabled>true</cb-enabled>
<cb-calls>0</cb-calls>
<cb-millis>0</cb-millis>
</service-profile>

<service service-id="int.marketpay.auth">
<service-type>HTTP</service-type>
<enabled>true</enabled>
<log-prefix>marketpay</log-prefix>
<comm-log-enabled>true</comm-log-enabled>
<force-prd-enabled>true</force-prd-enabled>
<mock-mode-enabled>false</mock-mode-enabled>
<profile-id>int.maketpay.auth</profile-id>
<credential-id>int.maketpay.auth</credential-id>
</service>

<service service-id="int.marketpay.session">
<service-type>HTTP</service-type>
<enabled>true</enabled>
<log-prefix>marketpay</log-prefix>
<comm-log-enabled>true</comm-log-enabled>
<force-prd-enabled>true</force-prd-enabled>
<mock-mode-enabled>false</mock-mode-enabled>
<profile-id>int.marketpay.session</profile-id>
<credential-id>int.marketpay.session</credential-id>
</service>

</services>