|
@@ -302,8 +302,11 @@ public class GooglePayServiceImpl implements GooglePayService {
|
|
|
}
|
|
|
OrdersVO ordersVONew = orderByTradeNo.get(0);
|
|
|
ProductVO productVO = orderService.getProduct(ordersVONew.getProductId());
|
|
|
-
|
|
|
- webhookService.handleSubsequentAutomaticDeduction(productVO.getPrice(), thirdTradeNo, thirdOrderId,ordersVONew, 1, subscriptionGoogleOrderV2.toString());
|
|
|
+ BigDecimal price = productVO.getPrice();
|
|
|
+ if(orderByTradeNo.size()==1&&productVO.getCode().equals("advanced-annual-subscription-blackFive-trail")){
|
|
|
+ price = productVO.getDisplayPrice();
|
|
|
+ }
|
|
|
+ webhookService.handleSubsequentAutomaticDeduction(price, thirdTradeNo, thirdOrderId,ordersVONew, 1, subscriptionGoogleOrderV2.toString());
|
|
|
}
|
|
|
|
|
|
@Override
|