| | |
| | | request.put("online_busi_type", properties.getMerchantOnlineBusinessType().trim()); |
| | | request.put("online_media_info_list", JSON.toJSONString(List.of(media))); |
| | | request.put("agreement_info", JSON.toJSONString(agreement)); |
| | | // 进件时就把延迟入账能力配好:先付钱后核销的订单必须把钱留在通道「待确认」, |
| | | // 核销确认后才分配给商户。forced_delay_flag 保持关闭——支付即核销的到店消费订单不该被延迟。 |
| | | request.put("delay_flag", "Y"); |
| | | request.put("forced_delay_flag", "N"); |
| | | putIfPresent(request, "async_return_url", properties.getMerchantBusinessOpenNotifyUrl()); |
| | | putIfPresent(request, "busi_async_return_url", properties.getMerchantBusinessOpenNotifyUrl()); |
| | | try { |