Thank you for the code. I followed your directions and updated my checkout_success page.
As you may know (through our recent discussions), that I currently use Auth.net (remote checkout) and PayPal.
With Auth.net, the checkout_success page is not returned to the shopper. Instead, a receipt is generated by Auth.net just after the shopper clicks the submit button when submitting their credit card info.
With Paypal, the same things occurs.
Should I insert this code on the confirm page?