File tree Expand file tree Collapse file tree
main/java/cn/binarywang/wx/miniapp/constant
test/java/cn/binarywang/wx/miniapp/bean Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,6 +265,11 @@ public static final class XPayNotifyEvent {
265265 public static final String GOODS_DELIVER = "xpay_goods_deliver_notify" ;
266266 public static final String REFUND = "xpay_refund_notify" ;
267267 public static final String COMPLAINT = "xpay_complaint_notify" ;
268+ /**
269+ * 虚拟支付 iOS 退款查询通知.
270+ * 文档:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/virtual-payment/ios.html
271+ */
272+ public static final String IOS_REFUND_QUERY = "xpay_subscribe_ios_refund_query_notify" ;
268273
269274 }
270275 @ UtilityClass
Original file line number Diff line number Diff line change 11package cn .binarywang .wx .miniapp .bean ;
22
33import cn .binarywang .wx .miniapp .bean .xpay .WxMaXPayTeamInfo ;
4+ import cn .binarywang .wx .miniapp .constant .WxMaConstants ;
45import me .chanjar .weixin .common .api .WxConsts ;
56import org .testng .annotations .Test ;
67
@@ -513,7 +514,7 @@ private void checkXPaySubscribeIosRefundQueryNotifyMessage(WxMaMessage msg) {
513514 assertEquals (msg .getFromUser (), "oABCDEFG" );
514515 assertEquals (msg .getCreateTime (), new Integer (1700001000 ));
515516 assertEquals (msg .getMsgType (), WxConsts .XmlMsgType .EVENT );
516- assertEquals (msg .getEvent (), WxConsts . EventType . XPAY_SUBSCRIBE_IOS_REFUND_QUERY_NOTIFY );
517+ assertEquals (msg .getEvent (), WxMaConstants . XPayNotifyEvent . IOS_REFUND_QUERY );
517518 assertEquals (msg .getRefundTime (), "1700000900" );
518519 assertEquals (msg .getOrderTime (), "1699990000" );
519520 assertEquals (msg .getChannelBill (), "apple_bill_001" );
You can’t perform that action at this time.
0 commit comments