You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Len Shein <ls...@verizon.net> on 2012/05/08 20:06:53 UTC

Payment gateway Config SagePay - Protocol Version 2.23

I am using Ofbiz 10.04 which is configured with SagePay Pyament Gateway
Protocol Version 2.22.

Has anyone configured this gateway to use Protocol Version 2.23?

 

There are comments in the code which reference the 2.23 version, however
they do not seem to be implemented and in my testing are not the same. For
example the 'billingAddress' parameter is now 'billingAddress1' when posting
to SagePay.

 

Form the service_sagepay.xml file:

        <!-- All the Billing* & Delivery* fields are not mandatory in
version 2.22, 

        but mandatory in version 2.23, hence making them as optional -->

 

        <attribute name="billingSurname" type="String" mode="IN"
optional="true"/>

        <attribute name="billingFirstnames" type="String" mode="IN"
optional="true"/>

        <attribute name="billingAddress" type="String" mode="IN"
optional="false"/>

        <attribute name="billingAddress2" type="String" mode="IN"
optional="true"/>

        <attribute name="billingCity" type="String" mode="IN"
optional="true"/>

        <attribute name="billingPostCode" type="String" mode="IN"
optional="false"/>

        <attribute name="billingCountry" type="String" mode="IN"
optional="true"/>

        <attribute name="billingState" type="String" mode="IN"
optional="true"/>

        <attribute name="billingPhone" type="String" mode="IN"
optional="true"/>

        

        <attribute name="isBillingSameAsDelivery" type="Boolean" mode="IN"
optional="true"/>

 

        <attribute name="deliverySurname" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryFirstnames" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryAddress" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryAddress2" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryCity" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryPostCode" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryCountry" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryState" type="String" mode="IN"
optional="true"/>

        <attribute name="deliveryPhone" type="String" mode="IN"
optional="true"/>

 

 

Thank You

 

Len Shein

 

lshein@salmonllc.com

lshein@verizon.net

 

516.742.7888 ext.225

732.333.4303