News:

Looking for documentation? Take a look on our wiki

Main Menu

DPS Payment Module PXPAY - NZ and Australia

Started by sampipe, May 28, 2011, 14:18:32 PM

Previous topic - Next topic

sampipe

Hi All,

Back in 2006 I posted a couple of payment modules for DPS.  One for the PXPOST interface and one for the PXAccess interface.  DPS now have a PXPay interface that they promote for php instead of the PXAccess one.  Lots of people have modified and change the PXAccess module and got it working with PXPay, but over the years, with joomla and virtuemart versions changing, more issues have popped up... and more emails have come to me searching for help   ;)

See forum: http://forum.virtuemart.net/index.php?topic=15269.0

So.. finally I've got my A into G and created an PXPay module for the Joomla 1.5 and Virtuemart 1.1.8... There has been a small amount of testing but I'd like to get it out there as I do not have a live shop to use it on..

Hope this helps some people out there  ::)  Read the README file!

Let me know if you have issues or changes and I can update the package and re-post.

Sam...


[attachment cleanup by admin]

bobby_38

thank sampipe will test later..! really appreciate :)
Try harder, one error today is the success of tomorrow

http://www.tech2cool.com

BearShop

Hi Sampipe,
I have installed your module and am currently waiting for DPS to come back to me with my user id and key.
How can I tell if libcrypt is installed?

sampipe

Just create a php page in your web root called say phpinfo.php and put the following code in it.


<?php 
  phpinfo
();
?>



Hit it in a browser and search for libmcrypt.

w_d_o_a

 ;D Hi Sampipe, been a while. I don't know if I even have a copy of the working original anymore, sadly my websites had to go a few years back, and I lost interest. I am in Brisbane now. I am happy to help again with this if I can. Will take some time to get up to speed with the new code :-).... I still owe you a whisky lol

kmedri

Hi Sampipe,

Thank you for updating this module. Works great in my test environment using joomla 1.5.23 and VM 1.1.9.

I just wondered is there a way to wrapper the DPS part into the site so it does not look as though you leave the website when the transaction is taking place.

Thank you.

sampipe

Hi kmedri,

If you wanted to host the actual payment page on your site (i.e. you put the CC details into a form on your shop page) you would have to use a different DPS service called PXPost (http://www.paymentexpress.com/technical_resources/ecommerce_nonhosted/pxpost.html).  I created a payment module for this years back (i.e. the first post in http://forum.virtuemart.net/index.php?topic=15269.0), but I'm not sure how compatible it is now with the latest versions of virtuemart.. as I said.. haven't touched it for years. ... with this though you have to have all your security SSL certs set up, DPS logos, terms and conditions, etc, before DPS will let you go live..

Other than that, you could try and do something tricky with iframes... would be completely non-standard though and kind of experimental.

good luck..

jp-30

Thanks Sampipe.

Does this update take into account the new DPS Urls that will be coming online next week?

http://www.paymentexpress.com/migration.html#PxPay

Regards,
JP

sampipe

Hi JP...

The attached package doesn't.. but you can change the URL configuration via the virtualmart admin under payment modules without cchanging the code.

Sam

arakris

Just incase other people experienced issues getting to the payment page, make sure the DPS PxPay URL is set to "https://sec.paymentexpress.com/pxpay/pxaccess.aspx"

krazeguy

#10
Nice work, PM me your paypal and I'll donate a little bit of cash :)

Small problem on my shopping cart however, when an order goes through I get this error after the payment approved [Next] screen from DPS;

Failure An error occured while processing your transaction. The status of your order could not be updated.

A confirmation email has been sent to:

Follow this link to view the Order Details.


And if I click the 'Follow this link ...' link it takes me to the payment express page to make payment again. So we end up with people paying twice :(

Any ideas on this one?

Linux (LAMP) Server
Joomla Version 1.5.12
Virtuemart 1.1.3

sampipe

Hi krazeguy,

No worries.. appreciate the offer, but no need ... its just good to see people using it.

Unfortunately I haven't seen that issue before.. There is an option in the payment module to turn debug on (under the payment module in the virtuemart admin) which will show you the variables that are being passed over to dps and the variables that are coming back on return.  This may point you to what is missing.  From memory, the order number needs to come back so that the order can be updated.  I would put an order through, and when you atre at the DPS page, open the shop admin and verify that an order at a status of pending has actually been created.  If it hasn't there is an issue there before you go to DPS.. if there is an order at a pending state, you need to then verify that on return to the shop, the correct order number is coming back allowing the shop to update the order from pending to complete.

Hope this helps..   if you find the issue please post it so others can learn ;-)

Sam

ufo_hk

Hi,

Hope someone can help, we just upgraded a site with this version of the DPS payment module after payement express changed their URLs.

The payment process works up to the point where purchaser is directed to the DPS payment gateway and makes their payment.
However once payment is accepted and they are redirected back to the site. They get a blank page.
Also in the order details page forthat order, the payment log details are empty. I.e no Transaction status / authcode / DPS response are not shown.

I have turned debug on and can confirm the transaction response details are sent back from DPS. They just do not appear on the payment log of the order details page.

Would appreciate any assistance on this issue.

danielwinter

Has anyone developed a version for VirtueMart 2.0.0? I am in urgent need of this!  :D

http://docdrop.me

PatrickVisser

#14
I'm also in need of this module for Virtuemart 2.0

Please provide download link.

Many Thanks,
Patrick