This project is read-only.

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

Add xml Reference Node of:
<gateway ref="eWay">
<name>eWay</name>
<assembly>NBrightStore.eWayGateway</assembly>
<class>Nevoweb.NBrightStore.Gateway.EWay</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="eWay">
<name>eWay</name>
<assembly>NBrightStore.eWayGateway</assembly>
<class>Nevoweb.NBrightStore.Gateway.EWay</class>
</gateway>
</gateways>
</root>

Step 3 - Create a payment gateway setting call "eway.gateway" as a multipleline textbox and enter the settings needed.

Example:-

<root>
<CustomerID>87654321</CustomerID>
<UserName>TestAccount</UserName>
<Currency>AUD</Currency>
<PageTitle>eWay TEST</PageTitle>
<PageDescription></PageDescription>
<PageFooter></PageFooter>
<CompanyName></CompanyName>
<InvoiceDescription></InvoiceDescription>
<MerchantReference></MerchantReference>
<MerchantInvoice></MerchantInvoice>
<MerchantOption2></MerchantOption2>
<MerchantOption3></MerchantOption3>
<PageBanner></PageBanner>
<CompanyLogo></CompanyLogo>
<ModifiableCustomerDetails></ModifiableCustomerDetails>
<returncancelurl>http://www.testsite.com/tabid/xx/stg/5/ewayexit/cancel/ordid/[ORDERID]/Default.aspx</returncancelurl>
<returnurl>http://www.testsite.com/tabid/xx/stg/5/ewayexit/return/ordid/[ORDERID]/Default.aspx</returnurl>
<PaymentGatewayAddr>https://au.ewaygateway.com</PaymentGatewayAddr>
<buttonimageurl>/DesktopModules/NBStoreGatewayEWay/eway.png</buttonimageurl>
</root>



When editing the return URLs you only need to change the "www.testsite.com/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 Oct 24, 2012 at 10:22 AM by leedavi, version 2

Comments

leedavi Nov 4, 2012 at 11:34 AM 
OK Richard,

Email me directly on this. I'm away from the office at the moment, but because this is a sponsored project I will make sure it's working correctly when I get back. I know the code for sending the client email is included and tested on my dev system, so it might be an issue with setup which we need to confirm.

richardclough Oct 26, 2012 at 1:16 AM 
Hi I've installed the update as per the above steps and can confirm that it's been applied ok as the UI in the purchase process has changed slightly. But I checked with eWay and the email address is still not getting passed through, which I think is why this update was made, and hence the purchaser is still not getting sent the receipt email. eWay said it's nothing to do with their end, but is there anything you can suggest I can test/check at my end? PS I work with Beau who you made the update for originally, he hasn't applied it yet to his site.
Thanks,
Richard.