File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
app/code/Magento/Paypal/Controller/Express/AbstractExpress Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ public function execute()
31
31
->unsLastSuccessQuoteId ()
32
32
->unsLastOrderId ()
33
33
->unsLastRealOrderId ();
34
+ $ this ->_getSession ()->unsQuoteId (); // clean quote from session that was set in OnAuthorization
34
35
$ this ->messageManager ->addSuccessMessage (
35
36
__ ('Express Checkout and Order have been canceled. ' )
36
37
);
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ public function execute()
127
127
return ;
128
128
}
129
129
$ this ->_initToken (false ); // no need in token anymore
130
+ $ this ->_getSession ()->unsQuoteId (); // clean quote from session that was set in OnAuthorization
130
131
$ this ->_redirect ('checkout/onepage/success ' );
131
132
return ;
132
133
} catch (ApiProcessableException $ e ) {
You can’t perform that action at this time.
0 commit comments