我在PayPal的沙箱环境中创建了按钮,并将PayPal IPN验证程序设置到我的代理本地URL(使用ngrok):
https://12345.ngrok.io/ipn
当我在沙箱中完成销售时,它会在大约30秒内通过我的IPN验证程序,但所有内容都是空白的
# this is the base URL: https://12345.ngrok.io/ipn
request.url
# this is empty (len() == 0)
request.args
# so is this, naturally (b'')
request.data
为什么我得不到交易的细节
当使用“advanced”变量创建按钮时,它也会失败:notify_url=(ngrok url)
另外,当我尝试将IPN模拟器与我的ngrok URL一起使用时,工具会给我以下错误,这可能与此相关,也可能与此无关:
IPN was not sent, and the handshake was not verified. Review your information.
有人能就哪里出了问题提供指导吗
目前没有回答
相关问题 更多 >
编程相关推荐