Python PagSeguro未返回重定向URL
我正在尝试建立PagSeguro(巴西的PayPal),并使用 我制作了一个示例脚本来尝试获取返回的URL,但每次它都不会返回任何URL。(我正在脚本中放入我的真实令牌和电子邮件) 如果我尝试在没有Python PagSeguro未返回重定向URL,python,xml,Python,Xml,我正在尝试建立PagSeguro(巴西的PayPal),并使用 我制作了一个示例脚本来尝试获取返回的URL,但每次它都不会返回任何URL。(我正在脚本中放入我的真实令牌和电子邮件) 如果我尝试在没有支付url的情况下打印响应,它会打印一个对象,但我也不确定如何解析它。查看是否执行以下操作: print dir(response) # show the names in the module namespace print dir(response.payment_url) # show
支付url的情况下打印响应,它会打印一个对象,但我也不确定如何解析它。查看是否执行以下操作:
print dir(response) # show the names in the module namespace
print dir(response.payment_url) # show the names in the module namespace
为您提供获取更多信息所需的其他关键字名称。如果我的答案对您有用,请将其标记为正确。
print dir(response) # show the names in the module namespace
print dir(response.payment_url) # show the names in the module namespace