File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Paypal/Controller/Express/AbstractExpress Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ protected function _processPaypalApiError($exception)
142
142
$ this ->_redirectSameToken ();
143
143
break ;
144
144
case ApiProcessableException::API_ADDRESS_MATCH_FAIL :
145
- $ this ->_redirectToOrderReviewPageAndShowError ($ exception ->getUserMessage ());
145
+ $ this ->redirectToOrderReviewPageAndShowError ($ exception ->getUserMessage ());
146
146
break ;
147
147
case ApiProcessableException::API_UNABLE_TRANSACTION_COMPLETE :
148
148
if ($ this ->_config ->getPaymentAction () == \Magento \Payment \Model \Method \AbstractMethod::ACTION_ORDER ) {
@@ -191,7 +191,7 @@ protected function _redirectToCartAndShowError($errorMessage)
191
191
* @param string $errorMessage
192
192
* @return void
193
193
*/
194
- protected function _redirectToOrderReviewPageAndShowError ($ errorMessage )
194
+ private function redirectToOrderReviewPageAndShowError ($ errorMessage )
195
195
{
196
196
$ this ->messageManager ->addErrorMessage ($ errorMessage );
197
197
$ this ->_redirect ('*/*/review ' );
You can’t perform that action at this time.
0 commit comments