fix zarinpal payment issue , add version 0.17.22.36
parent
5fa2f0ce72
commit
dada0113c4
|
@ -6,8 +6,8 @@
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<InvariantGlobalization>true</InvariantGlobalization>
|
<InvariantGlobalization>true</InvariantGlobalization>
|
||||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||||
<AssemblyVersion>0.17.21.35</AssemblyVersion>
|
<AssemblyVersion>0.17.22.36</AssemblyVersion>
|
||||||
<FileVersion>0.17.21.35</FileVersion>
|
<FileVersion>0.17.22.36</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class ZarinaplPaymentVerifyResponseData
|
||||||
public string message { get; set; } = string.Empty;
|
public string message { get; set; } = string.Empty;
|
||||||
public string card_hash { get; set; } = string.Empty;
|
public string card_hash { get; set; } = string.Empty;
|
||||||
public string card_pan { 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 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.TransactionCode, payment.CardPan, payment.Authority, payment.Type, payment.Status,
|
||||||
payment.OrderId, payment.UserId), cancellationToken);
|
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);
|
return new Tuple<string, string>(payment.TransactionCode, payment.FactorNumber);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue