This question is a bit broad.

Assume a person A buys something in Europe. This is a digital product which is sold through a platform provided by an American company. After sales are made the final recipient of payment is an Indian corporation. The corporation is liable to pay income tax to whom? India? EU? The EU member state? US state? US federal government? Local authorities? Some other authority?

I have heard of the term "withholding tax". Now both India and USA implement withholding tax the tax withheld will be for India or USA or some where else?