modified payConfirm