What happens on your page when the process is returned to it? For example,
is a javascript function called which looks at what comes back from DPS and
decides whether to display a transaction accepted or transaction rejected
message?

Once you know what you page is doing with what DPS returns and how, you can
then expand on that functionality to pass the required data back to PHP via
javascript so your database can be updated and letters sent.

Cheers

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Martyn Seddon
Sent: Thursday, 17 June 2010 8:13 a.m.
To: NZ PHP Users Group
Subject: [phpug] Using DPS

Hi all,

I'm new to php and this group and have a question.

I've build an application for a friend and now he would like to accept
credit card transactions - he's signed up for DPS and I can get the gateway
to work using it's test page. I've now built the gateway into my application
and the process works to a degree. The process so far is a person purchases
an item and then decides if they want to pay cash, account or credit. if
credit then I send the details to DPS and I get presented with their credit
card details page. I complete the test credit card details etc and then the
process gets returned to the page that sent it - I really want it to
continue with an update to my database and send some confirmation e-mails.
Any assistance would be greatly appreciated.

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected] To unsubscribe, send email
to
[email protected]

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to