fix(payment): 修正扫呗签名并自动查询支付结果
This commit is contained in:
@@ -497,6 +497,13 @@ func (c saobeiChannel) CreatePayment(ctx context.Context, req channelCreatePayme
|
||||
Attach: req.Attach,
|
||||
})
|
||||
if err != nil {
|
||||
if resp != nil {
|
||||
return &channelCreatePaymentResponse{
|
||||
ErrorMessage: resp.ErrorMessage,
|
||||
RawRequest: resp.RawRequest,
|
||||
Raw: resp.Raw,
|
||||
}, err
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
return &channelCreatePaymentResponse{
|
||||
|
||||
Reference in New Issue
Block a user