|
@@ -38,7 +38,7 @@ public class StripePriceServiceImpl extends ServiceImpl<IStripePriceMapper, Stri
|
|
|
if(one == null){
|
|
|
//创建价格 https://stripe.com/docs/api/prices/create
|
|
|
Map<String, Object> priceMap = new HashMap<>();
|
|
|
- priceMap.put("unit_amount", orderMoney.multiply(new BigDecimal(100)));
|
|
|
+ priceMap.put("unit_amount", orderMoney.multiply(new BigDecimal(100)).intValue() );
|
|
|
priceMap.put("currency", currency);
|
|
|
if(autoPay == 1){
|
|
|
Map<String, Object> recurring = new HashMap<>();
|