付款成功后,贝宝未返回正确的网址 [英] Pay pal is not returning the correct url After successful payment

查看:103
本文介绍了付款成功后,贝宝未返回正确的网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在通过paypal进行付款,我要为其付款的URL是http://www.hoteltajresorts.com/orderform.aspx,并且我还设置了取消后的返回URL
像这样http://www.hoteltajresorts.com/orderform.aspx?PayPal=取消
付款成功后,它应返回网址,例如http://www.hoteltajresorts.com/orderform.aspx?PayPal=Success
取消后,它会返回正确的网址,但是付款后,它仍保留在贝宝(Paypal)网站上,并显示一个按钮以返回到我的原始网站.当我单击按钮时,它返回到我的原始站点,但是返回了错误的查询字符串
它正在返回以下URL http://www.hoteltajresorts.com/orderform.aspx?merchant_return_link=Return+to+Taj+Resorts+India+Pvt.+Lt,因此,我无法提供任何确认消息付款.
请告诉我我最近5天以来一直在尝试解决的解决方案,但是没有成功....

Hi to all,
I am implementing payment through paypal , The url for which I am trying to pay is http://www.hoteltajresorts.com/orderform.aspx and I have also set the return url after cancelation
Like this http://www.hoteltajresorts.com/orderform.aspx?PayPal=Cancel
And after successful payment it should return url like http://www.hoteltajresorts.com/orderform.aspx?PayPal=Success
On cancelation it is returning the correct url, but after payment it remains on the paypal site and appears a button to return at my original site. When I click the button it returns to my original site but it is returning the wrong query string
It is returning the following url http://www.hoteltajresorts.com/orderform.aspx?merchant_return_link=Return+to+Taj+Resorts+India+Pvt.+Lt And because of this I am not able to provide any confirmation message for payment.
Plz tell me the solution I am trying to solve it since the last 5 days,but not getting the success....

推荐答案

您应该创建两个不同的页面
You should create two different page one for successful order and other for cancel order.


检查该线程,
http://forums.asp.net/t/1574667.aspx [
Check this thread,
http://forums.asp.net/t/1574667.aspx[^]


这篇关于付款成功后,贝宝未返回正确的网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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