请教paypal返回页面问题

bulebirds 2009-03-24 03:59:45
做一个电子商务网站,支付时集成了paypal,现在用户选中物品,点击购买后可以跳转到paypal支付页面,支付也正常,只是支付成功后,无法自动返回到自己的电子商务网站,一定要点 返回网站 才行[有返回网站链接是因为我在paypal后台启用了返回功能],请问如何能让用户付款后自动跳转到自己的电子商务网站。
...全文
453 16 打赏 收藏 转发到动态 举报
写回复
用AI写文章
16 条回复
切换为时间正序
请发表友善的回复…
发表回复
xunmengfan 2010-07-29
  • 打赏
  • 举报
回复
在商家帐号设置就可以了
yangyunzhao 2009-06-28
  • 打赏
  • 举报
回复
paypal账户里面可以设置。
bulebirds 2009-03-31
  • 打赏
  • 举报
回复
高手呢
bulebirds 2009-03-26
  • 打赏
  • 举报
回复
自己顶一下
宝_爸 2009-03-25
  • 打赏
  • 举报
回复
paypal的网页你没办法控制。点一下返回没啥问题吧。

或者使用express check out.不jump到paypal网页,不过会麻烦一点。
bulebirds 2009-03-25
  • 打赏
  • 举报
回复
有没有人用过啊,谢谢了
bulebirds 2009-03-25
  • 打赏
  • 举报
回复
高手进来指教下啊
jlj84237485 2009-03-25
  • 打赏
  • 举报
回复
帮顶一下
bulebirds 2009-03-25
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 hhxxcj 的回复:]
嗯,用JS直接在执行了跳转回那个页面就行

这样也能实现
string mess = " <script>alert('恭喜用户:" + login +
"注册成功!');window.location.href='Default.aspx'; </script>";
this.Page.ClientScript.RegisterStartupScript(typeof(string), "mess", mess);


有空去这个论坛坐坐
http://www.csdnit.com
[/Quote]

跳转的实现是paypal实现的,如果能这样实现就简单了
bulebirds 2009-03-25
  • 打赏
  • 举报
回复
这个是我的测试代码
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="thinknew.cn@163.com">
<input type="hidden" name="item_name" value="Item Name Goes Here ">
<input type="hidden" name="item_number" value="Item Number Goes Here ">
<input type="hidden" name="amount" value="0.10">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="notify_url" value="指的是通过ipn方式post数据到的url">
<input type="hidden" name="return url" value="指的是当支付成功后,从paypal跳转到的url">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" name="submit" alt="submit">
</form>
我想知道如何在支付成功后自动跳转到 return url 指向的地址
bulebirds 2009-03-25
  • 打赏
  • 举报
回复
高手进来看看的说
bulebirds 2009-03-25
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 findcaiyzh 的回复:]
paypal的网页你没办法控制。点一下返回没啥问题吧。

或者使用express check out.不jump到paypal网页,不过会麻烦一点。
[/Quote]

我现在不是想控制paypal的网页,只是觉得paypal已经提供了这种方法,只是我现在不知道,所以想请用过的人指点下
Teng_s2000 2009-03-25
  • 打赏
  • 举报
回复
UP
cppfaq 2009-03-24
  • 打赏
  • 举报
回复
写段JS
自动点击该Link

110,539

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧