Installation of CMCIC 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. If your using NB_Store v2.1 or above the "gatewayproviders.xml" is found in the backOffice>Settings.

Add xml Reference Node of:    
  <gateway ref="CMCIC">
    <name>CMCIC</name>
    <assembly>NEvoweb.DNN.Modules.NB_Store.GatewayCMCIC</assembly> 
    <class>NEvoWeb.Modules.NB_Store.Gateway.GatewayCMCIC</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="CMCIC">     
   <name>CMCIC</name>     
   <assembly>NEvoweb.DNN.Modules.NB_Store.GatewayCMCIC</assembly>
   <class>NEvoWeb.Modules.NB_Store.Gateway.GatewayCMCIC</class>   
</gateway> 
</gateways>
</root>

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

Example:-

<root> 
<ButtonImageURL>/Desktopmodules/NB_Store_GatewayCMCIC/cic.jpg</ButtonImageURL>  <CMCIC_VERSION>3.0</CMCIC_VERSION> 
<CMCIC_TPE>xxxxxx</CMCIC_TPE> 
<CMCIC_CODESOCIETE>xx</CMCIC_CODESOCIETE>  <CMCIC_CLE>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</CMCIC_CLE>  <CMCIC_SERVEUR>https://paiement.creditmutuel.fr/test/</CMCIC_SERVEUR>  <CMCIC_URLOK>http://www.mywebsite.com/Panier/tabid/xx/stg/5/ordID/[ORDERID]/Lang/[LANG]/CMCICExit/RETURN/Default.aspx</CMCIC_URLOK>  <CMCIC_URLKO>http://www.mywebsite.com/Panier/tabid/xx/stg/5/ordID/[ORDERID]/Lang/[LANG]/CMCICExit/CANCEL/Default.aspx</CMCIC_URLKO>  <sDevise>EUR</sDevise>
</root>

LIVE:   <CMCIC_SERVEUR>https://paiement.creditmutuel.fr/</CMCIC_SERVEUR>
URL to use for notification dialog with the bank: www.mywebsite.com/DesktopModules/NB_Store_GatewayCMCIC/CMCICNotifyProvider.ashx

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

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 Jul 3, 2012 at 2:58 PM by pieropuglia, version 2

Comments

No comments yet.