Hi Richard,

Ive had a chance to test re the direct setup, I used . in the fields for the encryption key and test mode encryption key. Im using a proper sagepay account set to test mode and override card dets for testing. I seem to be getting errors when trying to clear line items off the cart page - Error
The website encountered an unexpected error. Please try again later. Checked the log and got this DatabaseTransactionOutOfOrderException: in DatabaseConnection->rollback() (line 1058 of /mnt/web/www/sites/hswalsh/html/includes/database/database.inc). - which may not be connected at all? Same issue if I try and go past the checkout screen.

Just noticed you have updated the module so I'll update. Im testing by switching off the previous sagepay direct module and switching yours on - not sure if this is the best way or if Im better off uninstalling the old one?

Latest Drupal core and commerce 1.5

Thx - Kevin

EDIT:
Ive updated to latest dev and cleared out old order history. I can now go right through checkout and then select credit card (server) option [should this say direct?] but when I hit complete button I get:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete

This problem can sometimes be caused by disabling or refusing to accept cookies.

URL: http://mywebsite.com/checkout/750/payment

Error log:
Notice: Undefined variable: server_url in commerce_sagepay_server_redirect_form() (line 77 of /mnt/web/www/sites/xxxx/html/sites/all/modules/contrib/commerce_sagepay/includes/commerce_sagepay_server.inc).

Comments

kevster’s picture

Issue summary: View changes

edit

ikos’s picture

Status: Active » Postponed (maintainer needs more info)

Hi Kev,

The error you are seeing suggests that there is no saved value for the transaction mode you are in and therefore an appropriate $server_url is not selected. Assuming the old versions are all completely uninstalled, can you go back to the settings page, expand all the sections and make sure you have values where necessary - especially the transaction mode radios.

The root cause of this is probably a clash between the old and new versions of the module.

let me know how you get on.

kind regards

Richard

ikos’s picture

Hi Kev,

Doing an issue queue clean up... any more on this one or can we close?

many thanks

Richard

ikos’s picture

Issue summary: View changes

edit

kevster’s picture

Hi Richard - sorry didnt see this one come through - all good to clear off.

many thanks - Kevin

ikos’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)