Paypal Sandbox IPN Problem

混江龙づ霸主 提交于 2019-12-13 07:36:54

问题


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?


回答1:


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.




回答2:


For the sake of completion i'll add the easiest free solution to this problem. Install ruby and then localtunnel

And then you can do:

./manage.py localhost:8000
localtunnel 8000

And you get an url for the world to visit your localhost.



来源:https://stackoverflow.com/questions/5700777/paypal-sandbox-ipn-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!