从Stripe退款后,修改订单状态,添加退款记录

This commit is contained in:
2025-04-25 10:06:07 +08:00
parent 58bd986090
commit a2d259aea1
7 changed files with 127 additions and 4 deletions

View File

@@ -22,6 +22,8 @@ public class PaymentInfo extends BaseEntity{
* paid and liquidated means the refund request has been executed.
* expired means the request has been rejected.
* wait means the request is still under processing.
* -------------------------------------------------
* 退款Partial refund 部分退款; Refunded 全部退款
*/
private String tradeState;//交易状态

View File

@@ -13,11 +13,14 @@ public class RefundInfo extends BaseEntity{
private String refundId;//支付系统退款单号(微信)
// 退款必定对应一次具体的收费款项
private String chargeId;
// private Integer totalFee;//原订单金额(分)
private Float totalFee;//原订单金额(分)
// private Integer refund;//退款金额(分)
private Float refund;//退款金额()
private Float refund;//退款金额()
private String reason;//退款原因