This commit is contained in:
2023-12-27 14:25:20 +08:00
parent 701f989a81
commit 527e604be9

View File

@@ -781,13 +781,13 @@ public class SpringBootTestController {
*/ */
@Test @Test
public void createRefundRequestTest() { public void createRefundRequestTest() {
String paymentId = "0022120231026150915990563512626531311616"; String paymentId = "0022120231226155420105856296289509498883333";
BigDecimal refundAmount = new BigDecimal("30.53"); BigDecimal refundAmount = new BigDecimal("11.62");
String memberId = "65879222"; String memberId = "46487809";
String orderCode = "C61028961274"; String orderCode = "C80414417003";
// 调汇付的交易退款接口 // 调汇付的交易退款接口
RefundResponse response = adapayService.createRefundRequest(paymentId, refundAmount, RefundResponse response = adapayService.createRefundRequest(paymentId, refundAmount,
wechatAppId1, memberId, ScenarioEnum.ORDER.getValue(), orderCode); wechatAppId2, memberId, ScenarioEnum.ORDER.getValue(), orderCode);
System.out.println(JSON.toJSONString(response)); System.out.println(JSON.toJSONString(response));
} }