#849 ✓review
Jamie Heckford


Reported by Jamie Heckford | February 10th, 2011 @ 04:16 PM | in Add-on Modules

There is a problem with the 3D secure response in Sagepay on the live system, it does not appear to be calling the function to process the response properly.

The module works all the way up to being diverted back from the external 3D secure URL, it sends the following as the URL to return to: [TermUrl] => https://dev.whites-premium.com/shop/confirm-order/?rmtpay=process

Upon successfully completing the 3D secure authentication using my credit card I am returned to the confirm order screen. I dumped the response back to a text file and the PaRes, MD and PaReq fields are all received back ok from the 3D secure transaction.

In the sagepay module the following actions are registered:

function actions () {

And in core/flow/Flow.php in the transactions() function we have:

            if (!empty($_REQUEST['rmtpay'])) {
                    return do_action('shopp_remote_payment');

which I have confirmed is being called ok.

I would of thought that the function _3dsresponse is then called to process the response but it never is, the confirm order page is displayed and if clicking confirm you are returned to the checkout page again.

are the actions in this module correct?


No errors

Steps to Repeat
  1. Modify _3dsfunction to indicate in logs etc. when called OK
  2. Perform 3D secure card payment through Sagepay
  3. Observe
Relevant Code

                if (!empty($_REQUEST['rmtpay'])) {
                        return do_action('shopp_remote_payment');


    function actions () {

Web Browser: IE7/IE8/FF3/Safari5/Opera10
Server OS: FreeBSD
Web Server: Apache2
PHP version: 5.3.2
WordPress Version: 3.0.4
Shopp Version: 1.1.6

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Plugin e-commerce for WordPress

Shared Ticket Bins