I have enabled this module and added the vendor name etc... but when the payment is put through instead of going to the sagepay page it jumps back to my own checkout page.

Does anybody have any solutions for this?

Comments

aireworth’s picture

Have you checked the error logs? They usually tell you where to look in these cases. Under "administration->reports"

Colin

dwigglesworth’s picture

I have a similar situation to the issue above. When I look in the error logs I can see:
Sagepay Server sent a not OK response.Array ( [VPSProtocol] => 2.23 [Status] => INVALID [StatusDetail] => The data in the DeliveryCountry field you supplied is an Invalid format. Must be an ISO 3166-1 country code.)
None of my products are deliverable. Will look into this the DeliveryCountry field must be empty.

dwigglesworth’s picture

I can see that uc_sagepayserver_checkout_form_submit() checks if the delivery country is set and otherwise uses the billing country code.

dwigglesworth’s picture

Solved. $order->delivery_country is set as US (840) and I had removed the United States country format because my site will only work in UK - which meant:
$delivery_country_iso_code = $country_data[0]["country_iso_code_2"];
Could not be set, causing the error. Which is to do with the configuration of Ubercart rather than this module itself.

leo pitt’s picture

Status: Active » Closed (works as designed)

Closing