Non-resident trading companies which do not have a branch in the UK, but have UK customers, will therefore pay tax on the profits arising from those customers in the country where the company is resident, according to the tax law in that country.
In other words, UK companies do not pay corporation tax to another country on the profits from sales in that country, unless they trade through a branch based there.