Fixed typo in the new logic for the showReceiptPage option