Fix postpurchase confirmation code