feat: update recipit
This commit is contained in:
@@ -37,7 +37,9 @@ class ItPayClient(IItPayService):
|
||||
'usdt_exchange_rate': str(order.usdt_exchange_rate) if order.usdt_exchange_rate is not None else None,
|
||||
'gas_fee': str(order.gas_fee) if order.gas_fee is not None else None,
|
||||
'service_fee': str(order.service_fee) if order.service_fee is not None else None,
|
||||
'agent_fee': str(order.service_fee) if order.service_fee is not None else None,
|
||||
'amount': amount_str,
|
||||
'total_amount': amount_str,
|
||||
}
|
||||
if order.total_price is not None and order.service_fee is not None:
|
||||
principal = (Decimal(str(order.total_price)) - Decimal(str(order.service_fee))).quantize(Decimal('0.01'))
|
||||
|
||||
Reference in New Issue
Block a user