diff --git a/samples/payment/create_with_paypal.py b/samples/payment/create_with_paypal.py index ed53fa3d..7ef28f0b 100644 --- a/samples/payment/create_with_paypal.py +++ b/samples/payment/create_with_paypal.py @@ -52,7 +52,7 @@ # Redirect the user to given approval url for link in payment.links: if link.method == "REDIRECT": - redirect_url = link.href + redirect_url = str(link.href) print("Redirect for approval: %s"%(redirect_url)) else: print("Error while creating payment:")