var charge = charges.Create(new ChargeCreateOptions
{
Amount = (long)transectionModel.Charge * 100,
Description = "Test Payment",
Currency = "USD",
Customer = customer.Id
});
when amount is zero code thorow exception how to handle ZERO in amount variabel

Sachin SinghRank #66 · 26.2K reputationPosted Nov 27, 2021, 11:26 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Nov 28, 2021, 12:39 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Nov 28, 2021, 1:21 AM EST