Coldfusion 中的 Paypal 集成

发布于 2024-08-11 11:48:41 字数 122 浏览 2 评论 0原文

我正在尝试使用 Coldfusion 将 paypal 集成到我的网站中,除了“返回商家”url 之外,一切正常:( ..

按钮显示的日期正在获取广告返回 url :(

请告诉我发生了什么那里 :)

I am trying to integrate paypal into my website using coldfusion, everything is working fine except the "return to merchants" url :( ..

The date displayed as the button is getting ad the return url :(

Please give me an idea what is happening there :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

水波映月 2024-08-18 11:48:41

我知道这是一篇较旧的帖子...但我会添加我的 2 位...

我正在使用 CFLOCATION 推送到 PayPal 并返回返回 URL...

返回 URL 从未起作用,直到我对 & 进行编码为止。符号...

现在工作正常。

      <cflocation url="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&item_name=#bt#&business=#set.paypal#&item_number=#cr# Credits¤cy_code=CAD&amount=#numberformat(cost, '_.__')#&return=http://#cgi.HTTP_HOST#/paypal.cfm?typeid=#typeid#%26uid=#session.demshinuser_id#%26credits=#cr#%26src=add" addtoken="no">

这是返回 URL - 带有 URL Encoded & - 这是 %26

       return=http://#cgi.HTTP_HOST#/paypal.cfm?typeid=#typeid#%26uid=#session.demshinuser_id#%26credits=#cr#%26src=add" addtoken="no">

如果需要的话,这里还有一些其他 URL 编码值...

http://www. degraeve.com/reference/urlencoding.php

I know this is an older post... But I'll add my 2 bits...

I was using a CFLOCATION push to PayPal and a Return URL back...

The Return URL never worked until I encoded the & symbols...

Now works fine.

      <cflocation url="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&item_name=#bt#&business=#set.paypal#&item_number=#cr# Credits¤cy_code=CAD&amount=#numberformat(cost, '_.__')#&return=http://#cgi.HTTP_HOST#/paypal.cfm?typeid=#typeid#%26uid=#session.demshinuser_id#%26credits=#cr#%26src=add" addtoken="no">

This is the return URL - with the URL Encoded & - which is %26

       return=http://#cgi.HTTP_HOST#/paypal.cfm?typeid=#typeid#%26uid=#session.demshinuser_id#%26credits=#cr#%26src=add" addtoken="no">

Some other URL Encoded Values here too if needed...

http://www.degraeve.com/reference/urlencoding.php

难如初 2024-08-18 11:48:41

您是否查看或使用了网站上提供的示例代码。
查看 'https://www.paypal.com/IntegrationCenter/ic_sample-code.html '

Have you viewed or used the sample code supplied on the website.
Check out 'https://www.paypal.com/IntegrationCenter/ic_sample-code.html'

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文