I'm finding I'm unable to proceed beyond the 3D Secure Verification page. When the 3D Secure form is submitted, the results of the 3D Secure check are being correctly passed through to SagePay. However, at the user end, the 3D Secure iFrame simply reloads, and the order remains in the "3D Secure check" checkout state.

Comments

kingandy’s picture

Looks like the order status is what's at fault - the module needs to update the order status to the next stage of the Checkout, or Commerce will simply redirect the browser from checkout/%/complete to checkout/%/[current_state]...

kingandy’s picture

Looking at the module, it seems that it will move the order onto the next step if it doesn't find an "extra_authorisation" element in the order's data array. I can't find anywhere in the code that this gets unset, and nowhere that otherwise updates the cart status.

I have however noticed that the sagepay_direct module includes a "3D Secure Callback" (commerce_sagepay_direct/3d_secure_callback/%). If this is intended to be called by the remote server, this could be the root of my problem - our server is not yet live to the internet. On the other hand, as I say, I can't see anything in that callback that explicitly moves the order away from the checkout_3d_secure state.

I'm going to mark this as "postponed" until the domain goes live and we have the chance to test properly.

kingandy’s picture

Status: Active » Postponed
craigbailey’s picture

Priority: Normal » Major
Status: Postponed » Active

I'm having the same issue on a live system. I've debugged the module the best I can and can't seem to find a solution. It seems like it gets to commerce_3d_secure_clear_iframe fine, but on the redirect it just doesn't work and brings the iframe back up.

It's also worth nothing that the payment appears in SagePay, so it seems like they are authorizing fine. It just doesn't redirect to the correct pages after. It also does not create the order in Drupal Commerce.

Can we re-open this issue? It's vital for the e-commerce store I'm working on which is why I'm spending so much time trying to resolve it. I've tried it on a couple of sites now with the same result each time.

kevster’s picture

Looks like we have the same problem - any card that needs to go through 3D secure the order status gets stuck on checkout > 3D secure authentication. The order does go through sagepay correctly and the customer gets charged but they dont get moved on from the 3D secure screen.

Not sure if a rule is needed to move them on to the next status? Ive switched this off for now...

Happy to test this once its been updated..

Thx - Kevin

ikos’s picture

Thanks Kevin,

I am going to set up a test system this week and see if I can move this and the Direct module to a stable release.

kind regards

Richard

axel pressbutton’s picture

Hi Richard,

We're also having the same issue where any test card (Netbanx) that requires 3D Secure authentication repeatedly returns the 3D Secure form on submission.

The order status is changed to "Checkout: 3D Secure Authentication" and the basket emptied.

kevster’s picture

Hi Richard - that would be great, let me know if you need any testing done, we can put some live testing through.

Thx - Kevin

ikos’s picture

Status: Active » Closed (duplicate)

Hi,

I finally found some time to dig into this issue and have located the route cause is in the SagePay Direct implementation of the call back not this module.

I will cross post the issue to the queue over there and mark this as a duplicate.

See: http://drupal.org/node/1679828