|
|
@@ -168,7 +168,7 @@ class PayManager : IPayManager, IPayListener, BaseFrame<IListener>() {
|
|
|
orderProductType = productInfo.productType,
|
|
|
channel = productInfo.channel,
|
|
|
currencyCode = productInfo.priceCurrencyCode,
|
|
|
- price = String.format("%.2f", productInfo.priceAmountCents.toFloat() / 100)
|
|
|
+ price = String.format(Locale.US,"%.2f", productInfo.priceAmountCents.toFloat() / 100)
|
|
|
.toFloatOrNull()
|
|
|
)
|
|
|
)
|
|
|
@@ -337,7 +337,8 @@ class PayManager : IPayManager, IPayListener, BaseFrame<IListener>() {
|
|
|
channel = productInfo.channel,
|
|
|
skuId = productInfo.skuId,
|
|
|
currency = productInfo.priceCurrencyCode,
|
|
|
- amount = productInfo.priceAmountCents.toDouble() / 100
|
|
|
+ amount = String.format(Locale.US, "%.2f", productInfo.priceAmountCents.toFloat() / 100)
|
|
|
+ .toFloatOrNull()
|
|
|
)
|
|
|
)
|
|
|
Log.logRltI(TAG_PAY, "verifyOrder", verifyOrderRlt)
|