PxPay problem

Dec 16, 2009 at 9:06 PM

Hello guys,

I still have the problem with the posting page, when I click in the Px button it goes to a blank page. And it doesnt look to be getting any data what so ever. 

 

Cheers,

Klaus

Coordinator
Dec 16, 2009 at 9:23 PM

Hi Klaus,

Are you able to post more information about it, such as the actual configuration, whether you have and are using a developer key, and also check the logs in the LogFiles folder in your portal folder for futher information.

Rob

Dec 16, 2009 at 9:39 PM

Hi Rob,

I am running NB_Store_02.00.07 and DNN 5.

could you please take a look on this
http://bayaudiology.paros.uni5.net/dotnetnuke/BuyBatteries.aspx

 

Cheers,

Klaus 

Dec 17, 2009 at 7:30 AM

and I cannot install the PxPay module thru the module admin, I need to upload the files manually. it gives me this message: 

 

If you have reached this page it is because the installer needs to gather some more information, before proceeding.
Error reading the zip package - see below

StartJob Reading Installation Manifest file
Info Reading Package Manifest - Module - NB_Store_GatewayPxPay
Info Reading Component Manifest - Module
Info Module Manifest read successfully
Info Reading Component Manifest - Assembly
Failure File specified in the dnn could not be found in the zip file: - E:\web\specterconz\htdocs\Install\Temp\2swp2h1h\bin\NEvoweb.DNN.Modules.NB_Store.GatewayPxPay.dll
Info Reading Component Manifest - File
Info Found valid path () for readme.txt.
Info Found valid path () for PxPay.jpg.
Info Found valid path () for PxPay210.png.
Coordinator
Dec 17, 2009 at 8:33 AM

Hi,

I've found the problem,. the dnn4 package was uploaded with the DNN5 manefesto.

I've fixed it now and you can download the new version from codeplex.

Dave.

Dec 17, 2009 at 8:50 AM

Hi Dave, 

Thanks so much for your attention. I could install the module and it went really smooth. But when I click in the DPS button, it gives me this Exception.

Error: NB_Store_Checkout is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at NEvoWeb.Modules.NB_Store.Gateway.GatewayPxPay.SetBankRemotePost(Int32 PortalID, Int32 OrderID, String Lang, HttpRequest Request) at NEvoWeb.Modules.NB_Store.CheckOut.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

Cheers,
Klaus 

Coordinator
Dec 17, 2009 at 9:05 AM

Hi,

I've just tried it and I get a download prompt....I seem to recall this before and think it may be link to the setting....can't remember what!!

The first this to do with the payment providers it to always restart the dnn application when you change them to make the cache clear.

if you list your settings I'll have a look (remove any personal data, before posting.)

Dave.

Dec 17, 2009 at 9:08 AM
Edited Dec 17, 2009 at 4:16 PM

What settings are we looking for? DDN? NB_Store? where should I get it?

This is the Pxpay.gateway

<root>
<paymentURL>https://www.paymentexpress.com/pxpay/pxaccess.aspx</paymentURL> <PaymentExpress.PxPay>https://www.paymentexpress.com/pxpay/pxaccess.aspx</PaymentExpress.PxPay>
<PxPayUserId>XXXXXXXXX</PxPayUserId>
<PxPayKey>XXXXXXXX</PxPayKey>
<ButtonImageURL>/Desktopmodules/NB_Store_GatewayPxPay/pxpay.jpg</ButtonImageURL> <ReturnURL>http://XXXXXXXXXXXX.net/BuyBatteries/Checkout/tabid/149/stg/5/PxPayExit/RETURN/Default.aspx</ReturnURL> <ReturnCancelURL>http://XXXXXXXXXXXX.net/BuyBatteries/Checkout/tabid/149/stg/5/PxPayExit/CANCEL/Default.aspx</ReturnCancelURL> <MerchantLanguage>en</MerchantLanguage>
<InputCurrency>NZD</InputCurrency>
<TxnType>Purchase</TxnType>
<MerchantReference>Test Transaction</MerchantReference>
</root> 

BTW, I am having the exact same problem on both servers, the second one is a brand new setup.

Dec 17, 2009 at 4:16 PM

detail: it all happen in the http://XXXXXXXXXXXX.net/BuyBatteries/Checkout/tabid/149/stg/3/Default.aspx (same page as the DPS button on checkout)

Dec 17, 2009 at 6:53 PM

Hi Dave (or anyone who have it),

could you please send me the NEvoweb.DNN.Modules.NB_Store.GatewayPxPay.dll source so I can have this working asap.

Cheers,

Klaus

Coordinator
Dec 17, 2009 at 9:25 PM

Dave will have the source, his timezone is opposite to ours however so you'll have to wait until this evening.

I'm comparing your settings to mine and they look correct to me. (I've had to take my site offline until January, but I put up a test product just to compare briefly, and it still works.) I've also compared the page source and it looks identical. 

Here's my gateway code:

<root>
<paymentURL>https://www.paymentexpress.com/pxpay/pxaccess.aspx</paymentURL>
<PaymentExpress.PxPay>https://www.paymentexpress.com/pxpay/pxaccess.aspx</PaymentExpress.PxPay>
<PxPayUserId>xxxxxxxx</PxPayUserId>
<PxPayKey>xxxxxxxx</PxPayKey>
<ButtonImageURL>/Desktopmodules/NB_Store_GatewayPxPay/pxpay.jpg</ButtonImageURL>
<ReturnURL>http://www.xxxxxxxx.co.nz/Checkout/tabid/1467/stg/5/PxPayExit/RETURN/Default.aspx</ReturnURL>
<ReturnCancelURL>http://www.xxxxxxxx.co.nz/Checkout/tabid/1467/stg/5/PxPayExit/CANCEL/Default.aspx</ReturnCancelURL>
<MerchantLanguage>en</MerchantLanguage>
<InputCurrency>NZD</InputCurrency>
<TxnType>Purchase</TxnType>
<MerchantReference>xxxxxxxxPurchase</MerchantReference>
</root>

I'm running this on DNN 4.9.5 - that's possibly the only difference... but it shouldn't matter.

Actually.. it looks like you're running DNN in a subfolder rather than at root.. that's another difference that I have seen cause problems or require special attention. Let's wait and see what Dave says.

Rob

Dec 17, 2009 at 9:32 PM

Hey Rob,

I re-did the instalation on another server, where it is running on the root and it gives me the same error, on both servers.

I also try to leave the PxPay.gateway blanck and see if I would get another error message and it looks like it doesn't even load it to post.
If I change to the paypal method it works perfectly. I run out of options here, the only thing I can think of is something with the  NEvoweb.DNN.Modules.NB_Store.GatewayPxPay.dll file.

 

Lets see how it goes.

Cheers,
Klaus 

Coordinator
Dec 18, 2009 at 8:40 AM

Hi Klaus,

I think I've found the problem, both Rob and my test account has the "gatewayexpiremins" setting set.  If this is not set then an error occurs!

I've uploaded a new version on codeplex, try that and let me know how you get on.

If you still want the code email me through codeplex and I'll send it to you.

Regards,

Dave.