When paying with SagePay, the order is temporarily stored in the cache as the session is not available at the point of order creation. This means that the gateway is not on the session. In this instance, it will default to the primary gateway, rather than passing NULL to the payment.gateway.edit class, which threw an error.
When paying with SagePay, the order is temporarily stored in the cache as the session is not available at the point of order creation. This means that the gateway is not on the session. In this instance, it will default to the primary gateway, rather than passing
NULL
to thepayment.gateway.edit
class, which threw an error.See https://github.com/mothership-ec/cog-mothership-ecommerce/issues/268