diff --git a/app/Payments/StripeCheckout.php b/app/Payments/StripeCheckout.php index cd0688e5..096b7339 100644 --- a/app/Payments/StripeCheckout.php +++ b/app/Payments/StripeCheckout.php @@ -133,7 +133,7 @@ public function notify($params) private function exchange($from, $to) { - $result = file_get_contents('https://api.exchangerate.host/latest?symbols=' . $to . '&base=' . $from); + $result = file_get_contents('https://api.vatcomply.com/rates?base='. $from); $result = json_decode($result, true); return $result['rates'][$to]; }