fix: antom回调动态传channelCode
This commit is contained in:
parent
cee52be722
commit
fbd7578058
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,7 @@ service Payment{
|
||||
|
||||
// stripe支付
|
||||
rpc CreateStripeCheckoutSession(CreateStripeCheckoutSessionRequest) returns (CreateStripeCheckoutSessionResponse){}; // 创建支付会话链接
|
||||
// rpc CommonCheckoutWebhook(GetCheckoutWebhookRequest) returns(GetCheckoutWebhookResponse){}; // 支付回调,通用
|
||||
// rpc CommonCheckoutWebhook(GetCheckoutWebhookRequest) returns(GetCheckoutWebhookResponse){}; // 支付回调,通用
|
||||
|
||||
// 支付宝支付
|
||||
rpc AliWapPay(AliWapPayRequest) returns (AliWapPayResponse) {}; // ali网页支付
|
||||
@ -71,6 +71,7 @@ message AntomNotifyPayRequest {
|
||||
string paymentTime = 4 [json_name = "paymentTime"];
|
||||
string resultStatus = 5 [json_name = "resultStatus"];
|
||||
string resultMessage = 6 [json_name = "resultMessage"];
|
||||
string channelCode = 7 [json_name = "channelCode"];
|
||||
}
|
||||
|
||||
message AntomNotifyPayResponse {
|
||||
|
@ -342,6 +342,7 @@ func AntomWebhook(c *gin.Context) {
|
||||
PaymentTime: paymentTime,
|
||||
ResultStatus: resultStatus,
|
||||
ResultMessage: resultMessage,
|
||||
ChannelCode: "Antom", // fiee对应payment的渠道码
|
||||
}
|
||||
|
||||
resp, err := service.PaymentProvider.AntomWebhook(c, params)
|
||||
|
Loading…
Reference in New Issue
Block a user