fix:订单优化
This commit is contained in:
parent
6dfdd667ad
commit
cf2a352f1e
|
@ -1047,7 +1047,7 @@ func (d *defaultOrder) CreatePrePaymentByBalance(ctx context.Context, in *Create
|
|||
payConfig := &pay.Config{}
|
||||
payConfig.Stripe.PayType = "intent"
|
||||
payConfig.Stripe.Key = in.StripeKey
|
||||
var metadata = make(map[string]string, 2)
|
||||
var metadata = make(map[string]string, 4)
|
||||
metadata["model"] = "product_order"
|
||||
metadata["order_sn"] = in.OrderSn
|
||||
metadata["pay_stage"] = "remaining_balance"
|
||||
|
@ -1216,7 +1216,7 @@ func (d *defaultOrder) CreatePrePaymentByDeposit(ctx context.Context, in *Create
|
|||
payConfig := &pay.Config{}
|
||||
payConfig.Stripe.PayType = "intent"
|
||||
payConfig.Stripe.Key = in.StripeKey
|
||||
var metadata = make(map[string]string, 2)
|
||||
var metadata = make(map[string]string, 4)
|
||||
metadata["model"] = "product_order"
|
||||
metadata["order_sn"] = in.OrderSn
|
||||
metadata["pay_stage"] = "deposit"
|
||||
|
|
Loading…
Reference in New Issue
Block a user