Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->getOnepage()->getQuote()->save();
- /**
- * when there is redirect to third party, we don't want to save order yet.
- * we will save the order in return action.
- */
- if (isset($redirectUrl)) {
- $result['redirect'] = $redirectUrl;
- }
- $this->getOnepage()->saveOrder();
- $redirectUrl = $this->getOnepage()->getCheckout()->getRedirectUrl();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement