jucedupp Posted August 24, 2015 Share Posted August 24, 2015 (edited) I am building a payment gateway module based on the Authorize.net (aim) module. The issue is that after 3DSecure validation, it redirects back to the website, but the cart is not in context, I think. Before I am redirecting, I am saving the cart id to the session.It throws the following error:"Cart cannot be loaded or an order has already been placed using this cart"This is triggered by: if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) on line 188 of classes/PaymentModule.phpHow can I load/reload the cart correctly? ThanksJacques Edited August 24, 2015 by jucedupp (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now