Author Topic: DPS Payment Module PXPAY - NZ and Australia  (Read 13359 times)

sampipe

  • Beginner
  • *
  • Posts: 14
DPS Payment Module PXPAY - NZ and Australia
« on: May 28, 2011, 14:18:32 pm »
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

  • Beginner
  • *
  • Posts: 19
    • Best IT store
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #1 on: June 04, 2011, 16:35:30 pm »
thank sampipe will test later..! really appreciate :)
Try harder, one error today is the success of tomorrow

http://www.tech2cool.com

BearShop

  • Beginner
  • *
  • Posts: 2
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #2 on: June 13, 2011, 10:46:56 am »
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

  • Beginner
  • *
  • Posts: 14
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #3 on: June 13, 2011, 13:48:40 pm »
Just create a php page in your web root called say phpinfo.php and put the following code in it.

Code: [Select]
<?php 
  phpinfo
();
?>


Hit it in a browser and search for libmcrypt.

w_d_o_a

  • Jr. Member
  • **
  • Posts: 75
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #4 on: July 05, 2011, 11:39:11 am »
 ;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

  • Beginner
  • *
  • Posts: 17
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #5 on: July 14, 2011, 01:59:01 am »
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

  • Beginner
  • *
  • Posts: 14
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #6 on: July 14, 2011, 08:14:10 am »
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

  • Beginner
  • *
  • Posts: 19
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #7 on: August 26, 2011, 03:46:05 am »
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

  • Beginner
  • *
  • Posts: 14
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #8 on: August 26, 2011, 03:48:39 am »
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

  • Beginner
  • *
  • Posts: 1
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #9 on: August 29, 2011, 04:45:04 am »
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

  • Beginner
  • *
  • Posts: 10
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #10 on: September 12, 2011, 06:22:37 am »
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

  • Beginner
  • *
  • Posts: 14
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #11 on: September 13, 2011, 12:17:21 pm »
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

  • Jr. Member
  • **
  • Posts: 77
    • 4success Ltd
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #12 on: December 08, 2011, 00:25:51 am »
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

  • Beginner
  • *
  • Posts: 4
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #13 on: January 17, 2012, 00:36:53 am »
Has anyone developed a version for VirtueMart 2.0.0? I am in urgent need of this!  :D

http://docdrop.me

PatrickVisser

  • Beginner
  • *
  • Posts: 13
Re: DPS Payment Module PXPAY - NZ and Australia
« Reply #14 on: March 21, 2012, 03:55:36 am »
I'm also in need of this module for Virtuemart 2.0

Please provide download link.

Many Thanks,
Patrick