Discount refund
What is the best way to refund the discounts that are applied to the customer.
We have scenario, when customer cancel his plan, we have to refund all the discounts that are applied for all the billing cycle(since the day the discount/plan purchased).
Is the below opcode will work by tweaking some input ?
PCM_OP_SUBSCRIPTION_CANCEL_DISCOUNT
I tried calling this opcode, but didn't do any refund of the discounted amount.
Regards,
Prasanna T