Browse Source

chore: 🌐 localization

IceToast 2 years ago
parent
commit
128015f0fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Extensions/PaymentGateways/PayPal/index.php

+ 1 - 1
app/Extensions/PaymentGateways/PayPal/index.php

@@ -102,7 +102,7 @@ function PaypalPay(Request $request)
         Log::error('PayPal Payment: ' . $ex->getMessage());
         $payment->delete();
 
-        Redirect::route('store.index')->with('error', 'Payment failed')->send();
+        Redirect::route('store.index')->with('error', __('Payment failed'))->send();
         return;
     }
 }