Changeset 2961072
- Timestamp:
- 08/31/2023 10:15:03 AM (3 years ago)
- Location:
- binance-pay/trunk
- Files:
-
- 2 edited
-
class-wc-gateway-binancepay.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
binance-pay/trunk/class-wc-gateway-binancepay.php
r2940706 r2961072 80 80 'custom_attributes' => array('required' => 'required'), 81 81 'options' => array( 82 'BUSD' => 'BUSD',83 82 'USDT' => 'USDT', 84 83 'USD' => 'USD', … … 156 155 ); 157 156 $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') { 162 161 $req['orderAmount'] = $order->get_total(); 163 162 $req['currency'] = $currency; -
binance-pay/trunk/readme.txt
r2940706 r2961072 52 52 = 1.1.0 = 53 53 * 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.