# I want to apply a discount based on condition, is there a way around it. If I can either edit the payment intent or invoice in any way