Plugin Directory

Changeset 2961072


Ignore:
Timestamp:
08/31/2023 10:15:03 AM (3 years ago)
Author:
binancepay
Message:

remove BUSD, change the default currency to USDT

Location:
binance-pay/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • binance-pay/trunk/class-wc-gateway-binancepay.php

    r2940706 r2961072  
    8080                    'custom_attributes' => array('required' => 'required'),
    8181                    'options' => array(
    82                         'BUSD' => 'BUSD',
    8382                        'USDT' => 'USDT',
    8483                        'USD' => 'USD',
     
    156155            );
    157156            $currency = $this->transaction_currency;
    158             if (empty($currency)) {
    159                 $currency = 'BUSD';
    160             }
    161             if ($currency == 'BUSD' || $currency == 'USDT') {
     157            if (empty($currency) || $currency == 'BUSD') {
     158                $currency = 'USDT';
     159            }
     160            if ($currency == 'USDT') {
    162161                $req['orderAmount'] = $order->get_total();
    163162                $req['currency'] = $currency;
  • binance-pay/trunk/readme.txt

    r2940706 r2961072  
    5252= 1.1.0 =
    5353* Support the configuration of fiat currency, with fiat selection, your customers will pay you with equivalent USDT, and your settlement currency will be in USDT as well.
     54= 1.1.1 =
     55* Remove the BUSD, and change the default currency to USDT
Note: See TracChangeset for help on using the changeset viewer.