|
@@ -2,12 +2,10 @@ package cn.kdan.cloud.pdf.office.payment.service.impl;
|
|
|
|
|
|
import cn.kdan.cloud.pdf.office.api.payment.constant.OrderConstant;
|
|
import cn.kdan.cloud.pdf.office.api.payment.constant.OrderConstant;
|
|
import cn.kdan.cloud.pdf.office.api.payment.vo.OrdersVO;
|
|
import cn.kdan.cloud.pdf.office.api.payment.vo.OrdersVO;
|
|
-import cn.kdan.cloud.pdf.office.api.product.vo.ProductVO;
|
|
|
|
import cn.kdan.cloud.pdf.office.payment.service.*;
|
|
import cn.kdan.cloud.pdf.office.payment.service.*;
|
|
import cn.kdan.cloud.pdf.office.payment.webhook.appstore.notification.JWSTransactionDecodedPayload;
|
|
import cn.kdan.cloud.pdf.office.payment.webhook.appstore.notification.JWSTransactionDecodedPayload;
|
|
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
|
|
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
|
-import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
@@ -42,7 +40,7 @@ public class AppStoreWebhookServiceImpl implements AppStoreWebhookService {
|
|
}
|
|
}
|
|
OrdersVO ordersVONew = ordersVOS.get(0);
|
|
OrdersVO ordersVONew = ordersVOS.get(0);
|
|
BigDecimal price = BigDecimal.valueOf(jwsTransactionDecodedPayload.getPrice()/1000);
|
|
BigDecimal price = BigDecimal.valueOf(jwsTransactionDecodedPayload.getPrice()/1000);
|
|
- webhookService.handleSubsequentAutomaticDeduction(price, thirdTradeNo, thirdOrderId,ordersVONew,payTime, jwsTransactionDecodedPayload.toString());
|
|
|
|
|
|
+ webhookService.handleSubsequentAutomaticDeduction(price, thirdTradeNo, thirdOrderId,ordersVONew,payTime, jwsTransactionDecodedPayload.toString(),null );
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|