Changed the method used to get payment URL.