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

wildweasel007

  • Beginner
  • *
  • Posts: 4
Re: DPS Payment Module - NZ and Australia
« Reply #30 on: August 25, 2006, 11:38:38 am »
Hi,

I have installed the payment module, made the changes to the files listed on this forum and establsihed a test account via DPS with ID's etc.  I am using a hosted payments page from them.

However when trying to order a product via VirtueMart as a test it all goes fine up to the checkout.  Once it goes to the hosted dps page I get the following error.

This is an unexpected token. The expected token is 'EndElement'. Line 1, position 2.

Does anyone have any ideas as to what this is.  Unfortunalty I'm not a php coder, but in theory apart from the forum updates, nothing has changed to the zip files.

Any help would be appreciated.

Cheers

sampipe

  • Beginner
  • *
  • Posts: 14
Re: DPS Payment Module - NZ and Australia
« Reply #31 on: September 09, 2006, 12:39:37 pm »
Hi All,

Sorry this has taken soo long but I've finally got around to tidying up the half finished code that I posted a while back.... judging by the number of people who I've helped out getting it the half finished version running it sure could have come sooner !  ;D

Therefore, please see the attached DPS PXAccess Virtuemart module.. This should be a working model now!..

Let me know if anyone has success.... or improvements that can be made.

thanks!
Sam

[attachment cleanup by admin]

GollumX

  • Beginner
  • *
  • Posts: 41
  • DOH!
Re: DPS Payment Module - NZ and Australia
« Reply #32 on: September 10, 2006, 02:30:39 am »
Sam

Jus downloaded this... if it works ... you're a bloody hero

**bows down in respect**

**scoots off to test new module**

Don Gould

  • Beginner
  • *
  • Posts: 7
Re: DPS Payment Module - NZ and Australia
« Reply #33 on: September 19, 2006, 01:58:15 am »
This goes double for me!  You're a local hero!

I've got a client who's been stitched up with some propiratry asp crap that we can't even modifiy to look half decent!

This is going to let me swap him over to GPL platform with none of the crap!

Thank you very much!

Please let us know who we should be supporting?

Cheers Don


Don Gould

  • Beginner
  • *
  • Posts: 7
Re: DPS Payment Module - NZ and Australia
« Reply #34 on: September 21, 2006, 12:40:25 pm »
TIP
---
To make VirtueMart accept a test 4111111111111111 credit card number change the following file:
   ps_checkout.php
   search for the words 'VISA Testnumber'
   
   Change the false to true
   Code:
   if (!$this->validate_payment_method($d, true)) { //Change false to true to Let the user play with the VISA Tes
   


The function validate_payment_method appears more than once in the file ps_checkout.php

I changed it as recommended and still had problems.

I then found the second use of validate_payment_method and changed that call as well and I was then able to use the DPS module just fine!

Thanks to all for a fantastic bit of work!!!

Cheers Don

sampipe

  • Beginner
  • *
  • Posts: 14
Re: DPS Payment Module - NZ and Australia
« Reply #35 on: September 21, 2006, 22:05:52 pm »
Hey Don...

Glad to hear it worked!... I think that you actually have to change both instances of the validate_payment_method calls for it to accept the 411111111111111 number.. ... but its been a little while since I looked at it so I could be wrong...

Hope it helps you with your cart conversions!..

Cheers..
Sam

Don Gould

  • Beginner
  • *
  • Posts: 7
Re: DPS Payment Module - NZ and Australia
« Reply #36 on: September 22, 2006, 01:12:25 am »
Hi Sam,

Yes you do have to change both instances.  I posted here to help the next person.  Your instructions in your download don't tell people to look for 2.  You actually have to search on the function name and not the info provided in your instructions. :)

It's all good!  My client was a little supprised when I called him at 10:30 last night to gloat that I got it going for him!

Cheers Don

w_d_o_a

  • Jr. Member
  • **
  • Posts: 75
Re: DPS Payment Module - NZ and Australia
« Reply #37 on: September 22, 2006, 04:47:54 am »
Hey Don...

Glad to hear it worked!... I think that you actually have to change both instances of the validate_payment_method calls for it to accept the 411111111111111 number.. ... but its been a little while since I looked at it so I could be wrong...

Hope it helps you with your cart conversions!..

Cheers..
Sam


I still owe you a bottle of whisky  ;)

Tyrone

  • Beginner
  • *
  • Posts: 16
Re: DPS Payment Module - NZ and Australia
« Reply #38 on: February 07, 2007, 21:54:42 pm »
Hi Guys,

Having a bit of a problem when returning from the DPS page using PXaccess module.

If the user is logged in when making the purchase the order confirmation page displays.

If the user is not logged in i.e the user for my shop does not have to validate user registration. Once they return from the DPS they get the following error "Failure in Processing the Payment (Order not found)"
I have tried all sorts and searched through the forum, nothing found. It's still in testing mode so please feel free to test it with the testing credit card number 4111111111111111. url http://www.bagsandluggage.co.nz/index.php

Cheers Guys

Haylee

  • Beginner
  • *
  • Posts: 3
Re: DPS Payment Module - NZ and Australia
« Reply #39 on: August 29, 2007, 05:16:32 am »
Hi - just wondering if anyone knows how to set up the DPS transaction status notification to send to both the customer and the vendor? It currently just sends this notification to the customer, but my client wants a copy of this too.

Thanks so much :-)
Great module!!!

w_d_o_a

  • Jr. Member
  • **
  • Posts: 75
Re: DPS Payment Module - NZ and Australia
« Reply #40 on: December 05, 2007, 04:19:22 am »
I will have a look first chance i get :-)

Moofaster

  • Beginner
  • *
  • Posts: 3
Re: DPS Payment Module - NZ and Australia
« Reply #41 on: February 27, 2008, 06:22:10 am »
Hey Guys just changed server and have had client say when the make payment and it goes through no problem but when the click next to take them back to the site , which tells virtual mart that the order is a yes or nor it is give them a server error please contact server administrator and the email .  have had no problem up till changing , is there something the server is missing or a write directory problem happen

Kaela

  • Beginner
  • *
  • Posts: 1
Re: DPS Payment Module - NZ and Australia
« Reply #42 on: December 19, 2008, 22:39:24 pm »
Hi everyone,

I realise this is an old thread but I am wondering if anyone can shed some light on a DPS issue.

I have just tested our website and it worked fine until I clicked to go back to my website after making a successful payment with DPS's Payment site. 

I then received this error message "Failure  Failure in Processing the Payment (Order not found)".

I logged into DPS and noticed that both my failed and successful URL's are http://ourwebsite.co.nz/administrator/components/com_virtuemart/classes/payment/ps_dpsax_notify.php and both bring up the same error.  I checked and the payment was made with DPS!

Before this happended I had logged into Virtuemart and picked the item I wanted to purchase, when I clicked my shopping cart it had unlogged me.  I logged back on and the item was then in my shopping cart and I could proceed with my purchase. 

Any help given would be greatly appreciated!
Michaela

AndyNZL

  • Beginner
  • *
  • Posts: 32
    • IPO Digital Design
Re: DPS Payment Module - NZ and Australia
« Reply #43 on: March 07, 2009, 11:41:32 am »
Is this script OK to use (its been 2 years since it was written) and was wondering if Westpac or DPS, or VM had changed stuff since then?
When I tried creating the payment type with these files I got ... Direct Access to this location is not allowed .. error, so I assume VM is alot tighter than it used to be?? Any Help greatly appreciated.

JonathanNZ

  • Jr. Member
  • **
  • Posts: 66
Re: DPS Payment Module - NZ and Australia
« Reply #44 on: March 07, 2009, 23:46:44 pm »
Is this script OK to use (its been 2 years since it was written) and was wondering if Westpac or DPS, or VM had changed stuff since then?
When I tried creating the payment type with these files I got ... Direct Access to this location is not allowed .. error, so I assume VM is alot tighter than it used to be?? Any Help greatly appreciated.
How funny that two Kiwis are looking into this somewhat old payment module today.
I am also wondering if this still works?
A status update would be great. A few people above mentioned issues with returning to the VM site after a successful payment with DPS.

DPS refer people from their website to this thread for VM payment module... hence my suggestion that a status update would be a good idea.

Cheers,
Jonathan