贝宝沙盒IPN问题 [英] Paypal Sandbox IPN Problem

查看:59
本文介绍了贝宝沙盒IPN问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与我的项目一起使用PayPal付款(在django中),我已经在PayPal沙箱中启用了IPN设置iam发送返回URL,并使用立即购买"按钮将URL通知为参数.但是我没有得到任何IPN响应.Iam使用192.168.1.10:xxxx IP地址ip地址有问题吗?

Iam working with paypal payment with my project(in django) i have enabled IPN settings in paypal sandbox iam sending return url and notify url as parameters with "buy now" button.but i didn't get any IPN response. Iam using 192.168.1.10:xxxx IP address is there any problem with ip address?

推荐答案

格式为192.168.x.x的地址仅是本地地址-只能在本地网络中访问.贝宝(Paypal)无法将任何内容发布到该地址.您将需要配置路由器以将入站HTTP请求转发到本地计算机,并使用路由器的外部IP地址.或者,将其部署到具有真实IP地址的暂存环境中.

Addresses in the form 192.168.x.x are local only - they are only accessible within your local network. There's no way Paypal can post anything to that address. You will need to configure your router to forward inbound HTTP requests to your local machine, and use the external IP address of your router. Alternatively, deploy it to a staging environment with a real IP address.

这篇关于贝宝沙盒IPN问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆