Skip to content

Commit

Permalink
Added explicit redirect code
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeLeber committed Jan 17, 2017
1 parent 1e8d265 commit 3b6aa16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected function _handleCallErrors($response) {
/// Redirect the user back to PayPal
case self::API_UNABLE_TRANSACTION_COMPLETE:
Mage::app()->getFrontController()->getResponse()
->setRedirect(Mage::getUrl('paypal/express/edit'))
->setRedirect(Mage::getUrl('paypal/express/edit'), static::HTTP_TEMPORARY_REDIRECT)
->sendResponse();
exit;

Expand Down

0 comments on commit 3b6aa16

Please sign in to comment.