Added payment window to submitPurchaseButtonClicked()