Whisk sugar, orange juice, zest, and eggs, thicken over simmering water with butter, pour into pastry, and caramelize orange slices.