fix zarinpal payment issue , add version 0.17.22.36
parent
5fa2f0ce72
commit
dada0113c4
|
@ -6,8 +6,8 @@
|
|||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||
<AssemblyVersion>0.17.21.35</AssemblyVersion>
|
||||
<FileVersion>0.17.21.35</FileVersion>
|
||||
<AssemblyVersion>0.17.22.36</AssemblyVersion>
|
||||
<FileVersion>0.17.22.36</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -14,7 +14,7 @@ public class ZarinaplPaymentVerifyResponseData
|
|||
public string message { get; set; } = string.Empty;
|
||||
public string card_hash { get; set; } = string.Empty;
|
||||
public string card_pan { get; set; } = string.Empty;
|
||||
public int ref_id { get; set; }
|
||||
public long ref_id { get; set; }
|
||||
public string fee_type { get; set; } = string.Empty;
|
||||
public int fee { get; set; }
|
||||
public long fee { get; set; }
|
||||
}
|
|
@ -62,7 +62,8 @@ public class ZarinpalService : IPaymentService
|
|||
payment.TransactionCode, payment.CardPan, payment.Authority, payment.Type, payment.Status,
|
||||
payment.OrderId, payment.UserId), cancellationToken);
|
||||
|
||||
await _mediator.Send(new SubmitOrderPaymentCommand(payment.OrderId, OrderPaymentMethod.OnlinePayment, true),cancellationToken);
|
||||
await _mediator.Send(new SubmitOrderPaymentCommand(payment.OrderId, OrderPaymentMethod.OnlinePayment, true),
|
||||
cancellationToken);
|
||||
|
||||
return new Tuple<string, string>(payment.TransactionCode, payment.FactorNumber);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue