EasyAbp/PaymentService

Try to close the WeChatPay order when a payment is cancelled.

Closed this issue · 1 comments

Use WeChat's "closeorder" API to cancel a payment order, see https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_3

It requires to be used 5 minutes after the order is successfully placed, so we can just TRY to close it.