Be aware (unless DPS has changed) that your "Success" page will potentially
be hit more than once.

DPS will redirect the user to your success page AND in the background send a
request to your success page. (This is done in the instance where users see
the "Success, click here to return to the site" and just close the window.


On 17 June 2010 12:25, Martyn Seddon <[email protected]> wrote:

> Thanks guys - found what I was looking for - I needed to include a URL for
> a success and failure page - all good now.
>
>
> On Thu, Jun 17, 2010 at 11:45 AM, Jay <[email protected]> wrote:
>
>> Hi you create DPS code base on PxPay_Sample_OpenSSL.php,
>>
>> Please add update database and send email code between
>>     if (!isProcessed($TxnId))
>>     {
>>         # Send emails, generate invoices, update order status etc.
>>     }
>>
>> J
>>
>>
>>
>> On Thu, Jun 17, 2010 at 8:12 AM, Martyn Seddon 
>> <[email protected]>wrote:
>>
>>> 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]<nzphpug%[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]<nzphpug%[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]<nzphpug%[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