Hi,
I’ve created usage-based subscriptions application. Our app is getting commision if order comes through our app.
So whenever paid order comes then we’re addding our commision into billing. All done here.
Now issue is, We’re not charge if that order cancelled/refunded in this case we need to deduct our previously added commision from billing. I’ve not found any api or resource for deduction or may be I’m using wrong method for billing. So you guys can you help me to sort out or any suggestion to make it work this app modal.