mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-03-13 08:18:14 -04:00
Update StripeAlipay.php
This commit is contained in:
parent
2e08328ec1
commit
454a169944
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user