diff --git a/app/Payments/StripeAlipay.php b/app/Payments/StripeAlipay.php index ec2bc9a..d95e0b1 100644 --- a/app/Payments/StripeAlipay.php +++ b/app/Payments/StripeAlipay.php @@ -111,7 +111,7 @@ class StripeAlipay { 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]; }