feat: payment refund support + admin payment management
- Add refund()/queryRefund()/downloadPlatformCerts() to WechatPayService - Add refundId field to PaymentOrder schema - Fix WeChat Pay callback to auto-download platform certs on verification failure - Fix syncOrder to handle sprint plan properly - Add admin refund, refund-query, order-detail endpoints - Add refund UI (button, modal, query) to admin.vue orders tab - Fix member.vue MP payment: pass outTradeNo instead of prepayId to pollPayResult
This commit is contained in:
@@ -54,6 +54,9 @@ export class PaymentOrder {
|
||||
|
||||
@Prop()
|
||||
refundReason?: string
|
||||
|
||||
@Prop()
|
||||
refundId?: string // 微信退款单号
|
||||
}
|
||||
|
||||
export const PaymentOrderSchema = SchemaFactory.createForClass(PaymentOrder)
|
||||
|
||||
Reference in New Issue
Block a user