Originally Posted by
German Expat
I assume you would need a Visa to China because of the PEK -> SHA domestic flight.
As long as you transit within 24 hours in China (betwee the time of entry in Beijing and the time of departure from Shanghai), you do not need Chinese visa, in this case.