#vinkesh

1 messages · Page 1 of 1 (latest)

wind pewterBOT
prisma leaf
#

hello! have you tried setting the coupon to an empty string when updating the subscription?

long ridge
#

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

prisma leaf
#

null likely won't work

#

like i mentioned, try with an empty string

long ridge
#

okay let me