This project is read-only.
Installation of DIBS Payment Provider for NB_Store
------------------------------------------------

Step1 - Install Gateway Provider Install package as a normal module in DNN.

Step2 - Update the "gatewayproviders.xml" found in the "/DesktopModules/NB_Store" directory.

Add xml Reference Node of:

<gateway ref="DIBS">
<name>DIBS</name>
<assembly>NEvoweb.DNN.Modules.NB_Store.GatewayDIBS</assembly>
<class>NEvoWeb.Modules.NB_Store.Gateway.GatewayDIBS</class>
</gateway>

Example:-

<?xml version="1.0" encoding="utf-8" ?>
<root>
<gateways>
<gateway ref="SIPS">
<name>SIPS</name>
<assembly>NEvoweb.DNN.Modules.NB_Store.GatewaySIPS</assembly>
<class>NEvoWeb.Modules.NB_Store.Gateway.GatewaySIPS</class>
</gateway>
<gateway ref="Paypal">
<name>Paypal</name>
<assembly>NEvoweb.DNN.Modules.NB_Store.GatewayPayPal</assembly>
<class>NEvoWeb.Modules.NB_Store.Gateway.GatewayPayPal</class>
</gateway>
<gateway ref="DIBS">
<name>DIBS</name>
<assembly>NEvoweb.DNN.Modules.NB_Store.GatewayDIBS</assembly>
<class>NEvoWeb.Modules.NB_Store.Gateway.GatewayDIBS</class>
</gateway>
</gateways>
</root>


Step 3 - Create a payment gateway setting call "DIBS.gateway" and enter the settings needed.

Example:-


<root>
<ButtonImageURL>/Desktopmodules/NBStoreGatewayDIBS/DIBS.jpg</ButtonImageURL>
<paymentURL>https://payment.architrade.com/paymentweb/start.action</paymentURL>
<params>
<merchant>12345678</merchant>
<currency>978</currency>
<accepturl>http://www.mywebsite.com/Panier/tabid/56/stg/5/DIBSAction/RETURN/ordID/ORDERID/cartid/CARTID/Default.aspx</accepturl>
<cancelurl>http://www.mywebsite.com/Panier/tabid/56/stg/5/DIBSAction/CANCEL/ordID/ORDERID/cartid/CARTID/Default.aspx</cancelurl>
<callbackurl>http://www.mywebsite.com/Panier/tabid/56/stg/4/ordID/ORDERID/cartid/CARTID/Default.aspx</callbackurl>
<test>yes</test>
<lang>LANG</lang>
</params>
</root>


OR if you wish to display certain payment types on your website:-

<root>
<ButtonImageURL>/Desktopmodules/NBStoreGatewayDIBS/DIBS.jpg</ButtonImageURL>
<paymentURL>https://payment.architrade.com/paymentweb/start.action</paymentURL>
<buttons>
<button src="/Desktopmodules/NBStoreGatewayDIBS/visa.gif">VISA</button>
<button src="/Desktopmodules/NBStoreGatewayDIBS/mc.gif">MC</button>
</buttons>
<params>
<merchant>12345678</merchant>
<currency>978</currency>
<accepturl>http://www.mywebsite.com/Panier/tabid/56/stg/5/DIBSAction/RETURN/ordID/ORDERID/cartid/CARTID/Default.aspx</accepturl>
<cancelurl>http://www.mywebsite.com/Panier/tabid/56/stg/5/DIBSAction/CANCEL/ordID/ORDERID/cartid/CARTID/Default.aspx</cancelurl>
<callbackurl>http://www.mywebsite.com/Panier/tabid/56/stg/4/ordID/ORDERID/cartid/CARTID/Default.aspx</callbackurl>
<test>yes</test>
<lang>LANG</lang>
</params>
</root>

When editing the return URLs you only need to change the "www.mywebsite.com/Panier/tabid/56" values to your cart tab on your website.


Any parameters needed to be sent to the DIBS gateways can be specified in the "root/param" node.
NOTE: Amount and orderid params are automatically created and therefore don't need to be specifed in the "root/param" node.

Step 4 - Select the Payment Provider in the Checkout module settings.

Step 5 - In the DNN menu "Host>Host Settings", click on "Restart Application". This will clear the cache and ensure the new provider is used.








Last edited Mar 13, 2013 at 7:55 AM by leedavi, version 1

Comments

No comments yet.