The two are very similar hence the confusion but pastry cream is actually thicker, so thick that you could actually eat it with a spoon like pudding! Custard cream is often served warm and is a bit more runny.