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

Andrew

  • Jr. Member
  • **
  • Posts: 128
    • Shriek Design
Re: DPS Payment Module - NZ and Australia
« Reply #60 on: January 19, 2010, 11:43:44 am »
I got it going no probs in Joomla 1.5 and an old 1.0 site just using the instructions in this thread. I get a security cert though. Don't bother using a shared one. That created all sorts of probs.

Spionred

  • Beginner
  • *
  • Posts: 5
Re: DPS Payment Module - NZ and Australia
« Reply #61 on: June 09, 2010, 12:22:31 pm »
Hi,

I am a bit confused. Module I assume is targeted to work on Joomla which is PHP/My SQL based. Your documentation says it uses PX Access but the DPS site says PX Access is for Windows based systems and PX Pay should be used for non windows based platforms.

Can you clarify if I can use this in Joomla. I have tried to set it up with my PX Pay information but I get the following error:

pxaccess.aspx: Error. This page accepts only HTTP POST's.

Any help would be wonderful

Kind Regards,
Kevin.

jp-30

  • Beginner
  • *
  • Posts: 19
Re: DPS Payment Module - NZ and Australia
« Reply #62 on: June 23, 2010, 00:12:41 am »
Thanks for this, it's great.


jp-30

  • Beginner
  • *
  • Posts: 19
Re: DPS Payment Module - NZ and Australia
« Reply #63 on: June 23, 2010, 01:34:58 am »
OK, ignore the above. I didn't need to add that extra code.

Anyone else using these files, you also need to change the text 'SCOTTS TEST' in checkout.dpsax_result.php to 'Successful transaction' or similar.


webuser

  • Jr. Member
  • **
  • Posts: 72
Re: DPS Payment Module - NZ and Australia
« Reply #64 on: September 01, 2010, 02:49:30 am »
Made some changes to this including putting in a hack in components/com_virtuemart/themes/templates/list_payment_methods.tpl.php to force CVV code - would be good if this was an option in the config to select it there - mastercard was complaining that no CVV was entered. No time to update the proper module.

Also we were getting an error saying Error: Unknown SSL protocol error in connection to www.paymentexpress.com:443 the guys at DPS advised it was because of SSL version and advised the following change.

Open file "ps_dps.php" and edit around 224
 
curl_setopt($CR, CURLOPT_SSLVERSION, 2);
 
Change the value '2' to '3'
 
i.e.
curl_setopt($CR, CURLOPT_SSLVERSION, 2); to curl_setopt($CR, CURLOPT_SSLVERSION, 3);

Still got more issues I'll report back on anything I find
http://www.webcircle.com.au - Gold Coast Web Design
http://awebsitedesigner.com.au - Website Design

brendonm

  • Beginner
  • *
  • Posts: 7
Re: DPS Payment Module - NZ and Australia
« Reply #65 on: September 07, 2010, 07:16:44 am »
any tips welcome with this I have followed the instructions, can get the money drawing from the credit card just fine but get this error instead of a confirmation page:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/virtual/mydomain.co.nz/public_html/administrator/components/com_virtuemart/classes/payment/../../../../../../../configuration.php) is not within the allowed path(s): (/virtual/mydomain.co.nz:/tmp:/usr/share/php) in /virtual/mydomain.co.nz/public_html/administrator/components/com_virtuemart/classes/payment/ps_dpsax_notify.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /virtual/mydomain.co.nz/public_html/administrator/components/com_virtuemart/classes/payment/ps_dpsax_notify.php:15) in /virtual/mydomain.co.nz/public_html/administrator/components/com_virtuemart/classes/payment/ps_dpsax_notify.php on line 48


any help much appreciated.

webuser

  • Jr. Member
  • **
  • Posts: 72
Re: DPS Payment Module - NZ and Australia
« Reply #66 on: September 08, 2010, 05:45:54 am »
Further to my email above I also had to put this line of code in at around 235 where it builds the XML because it doesn't pick up the currency - and DPS seems to assume its NZD.

                     "<InputCurrency>".$vendor_currency."</InputCurrency>\n".
http://www.webcircle.com.au - Gold Coast Web Design
http://awebsitedesigner.com.au - Website Design

jp-30

  • Beginner
  • *
  • Posts: 19
Re: DPS Payment Module - NZ and Australia
« Reply #67 on: September 22, 2010, 00:13:21 am »
On my other payment methods as soon as the cart is submitted, the customer and the site admin get the standard virtuemart  invoice/purchase order type email.

But using this module that email is not generated - though the customer does get an order status change email upon completion of the transaction.

Anyone else encountered this an fixed it?


saucery

  • Beginner
  • *
  • Posts: 2
Re: DPS Payment Module - NZ and Australia
« Reply #68 on: September 22, 2010, 09:22:50 am »
Hi Dude,

I have come across this before. Try and send the emails as plain text instead of HTML..

Also has anyone figured out how to make the status change the order status in Virtuemart once the DPS payment has been completed?

Mine is staying as 'Pending'. need it to change to confirmed or Declined depending on the result....

saucery

  • Beginner
  • *
  • Posts: 2
Re: DPS Payment Module - NZ and Australia
« Reply #69 on: September 22, 2010, 23:55:41 pm »
im using DPS PXPAY system. Currently all is working as per the orders going through. however it looks like nothing is being decrypted in the _result.php file. I put in an update query to see what variables are being returned and from what i can see its only getting the $request variable and is not decrypting correctly....

anyone come accross this... basically all is working, im just trying to send the result of the transaction back to the site... and nothing is coming through...

need to update order_status depending on outcome.

anyone got working php files for PXPay system?

jp-30

  • Beginner
  • *
  • Posts: 19
Re: DPS Payment Module - NZ and Australia
« Reply #70 on: September 23, 2010, 07:11:47 am »
Yeah, I found out it works for plain text emails - though the client wants HTML emails. Argh!

As for changing pending etc - I overlooked this for a while, maybe you have too. On the configuration tab of the payment module, ensure "Order Status for successful transactions" is set to Confirmed.

kiwigal

  • Beginner
  • *
  • Posts: 41
Re: DPS Payment Module - NZ and Australia
« Reply #71 on: January 27, 2011, 04:41:36 am »
HI guys, I'm trying to use this but I get a Direct Access to this location is not allowed. when trying to set up the file.

Any ideas ?

kiwigal

  • Beginner
  • *
  • Posts: 41
Re: DPS Payment Module - NZ and Australia
« Reply #72 on: January 27, 2011, 05:01:48 am »
for anyone else that has encountered the "Direct Access to this location is not allowed" and are running 1.5 you have to enable legacy mode in Plugins to be able to access it.

jesses_mum

  • Beginner
  • *
  • Posts: 9
Re: DPS Payment Module - NZ and Australia
« Reply #73 on: January 29, 2011, 02:29:48 am »
Quote
Hi,

I am a bit confused. Module I assume is targeted to work on Joomla which is PHP/My SQL based. Your documentation says it uses PX Access but the DPS site says PX Access is for Windows based systems and PX Pay should be used for non windows based platforms.

Can you clarify if I can use this in Joomla. I have tried to set it up with my PX Pay information but I get the following error:

pxaccess.aspx: Error. This page accepts only HTTP POST's.

Any help would be wonderful

Kind Regards,
Kevin.

This question by Kevin some time ago doesn't appear to have been answered, and I am having the exact same problem. Can anybody help please??

jesses_mum

  • Beginner
  • *
  • Posts: 9
Re: DPS Payment Module - NZ and Australia
« Reply #74 on: February 03, 2011, 04:21:53 am »
Ok I fixed that by putting url https://sec2.paymentexpress.com/pxpay/pxpay.aspx in the configuration. Now it redirects fine to DPS, and approves a transaction using the test credit card number, but when I return to my site it says "Failure (Order not found)" - any clues anyone?