#vinkesh
1 messages · Page 1 of 1 (latest)
hello! have you tried setting the coupon to an empty string when updating the subscription?
var options = new SubscriptionUpdateOptions
{
Coupon = null
};
var service = new SubscriptionService();
var invoiceIdentifier = invoiceDto.Id.ToString() +"_"+ coupon.Id;
return await service.UpdateAsync(subscriptionId, options, new RequestOptions { ApiKey = apiKey, IdempotencyKey = invoiceIdentifier });
i am coding like this
okay let me