This project is read-only.

Installation of CyberPlus Payment Provider for NB_Store   v1.0.0
----------------------------------------------------

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

Step2 - Update the "gatewayproviders.xml" found in you NB_Store BackOffice>Settings. or as a file in the "/DesktopModules/NB_Store" directory.

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


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

<root>
  <ButtonImageURL>/Desktopmodules/NB_Store_GatewayCyberPlus/cyberplus.png</ButtonImageURL>
  <paymentURL>https://systempay.cyberpluspaiement.com/vads-payment/</paymentURL>
  <signature_fields>vads_action_mode,vads_amount,vads_ctx_mode,vads_currency,vads_language,vads_order_id,vads_order_info,vads_order_info2,vads_page_action,vads_payment_config,vads_return_mode,vads_site_id,vads_trans_date,vads_trans_id,vads_url_return,vads_version</signature_fields>
  <certificate>#Your cyberplus certificate#</certificate>
  <postfields>
    <vads_version>V2</vads_version>
    <vads_page_action>PAYMENT</vads_page_action>
    <vads_action_mode>INTERACTIVE</vads_action_mode>
    <vads_payment_config>SINGLE</vads_payment_config>
    <vads_site_id>#Your CyberPlus siteid#</vads_site_id>
    <vads_ctx_mode>TEST</vads_ctx_mode>
    <vads_trans_id>[TRANSID]</vads_trans_id>
    <vads_trans_date>[YEAR][MONTH][DAY][HOUR][MINUTE][SECOND]</vads_trans_date>
    <vads_amount>[AMOUNT]</vads_amount>
    <vads_currency>978</vads_currency>
    <vads_return_mode>POST</vads_return_mode>
    <vads_order_id>[ORDERID]</vads_order_id>
    <vads_order_info>[LANG]</vads_order_info>
    <vads_order_info2>[CARTID]</vads_order_info2>
    <vads_language>[LANGCODE]</vads_language>
    <vads_url_return>http://www.mywebsite.com/Panier/tabid/56/stg/5/Default.aspx</vads_url_return>
    <signature>[SIGNATURE]</signature>
  </postfields>
</root>

     
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.


NOTE: In your cyberpay account,

1 - Setup Server to Server notification in your settings.

 http://www.mywebsite.com/tabid/56/stg/4/Default.aspx

 Change the url as required so it points at your checkout module. (stg/4 param must be included for the server to server notification)
 





Last edited Jul 27, 2012 at 3:27 PM by leedavi, version 1

Comments

No comments yet.