Witty and insightful observations on the world? Sorry to disappoint, this is a techie blog purely for self reference - published online in the hope it will help others!

Sagepay – Magento – Armed Forces – INVALID. 3139 : The DeliveryState format is invalid.

The title says it all. Magento installation with failed transactions using Sagepay fail when the delivery address is Armed Forces Middle East, Armed Forces Africa or Armed Forces Canada. It's for a good reason - Magento itself sets the region ID for these options as 'AM', 'AF' and 'AC' respectively; Which is dandy until you realise that these region codes don't actually exist anywhere. As you can see from this instructional on stamps.com, Middle east and Africa should be designated as 'AE' whilst Canada is part of America and should be designated 'AA'; This is all fine when your payment ... Read more

Categories