Paypal express quot;order summaryquot; page(贝宝快递“订单汇总页)
问题描述
我正在用快速结账集成替换免费和标准贝宝按钮.我相信我已经完成了大部分工作,但我还有 2 个悬而未决的问题.
使用旧按钮时,它会将我重定向到订单摘要页面,我仍然可以在其中更新我想购买的产品数量.使用 Express checkout 似乎此选项已消失.虽然数量字段仍然存在,但它是只读的,因此不能再更改.我可以让这个字段再次变得可编辑吗?
当我在按下提交表单后被重定向到 paypal 站点时,我怀疑 Paypal 正在对此页面进行一些更新,并且正在进行一些 A/B 测试以查看哪种布局表现更好,但如果其他人可以确认类似的行为并且我可以做些什么来强制特定布局,那就太好了?我在这个论坛上发现了其他帖子,但它们是前一段时间发布的,因此重新检查.
谢谢
1.Express Checkout,它实际上是对 PayPal 服务器的 API 调用.如果您想编辑数量,您需要使用自己的逻辑更改值 L_PAYMENTREQUEST_n_QTYm
并将请求发送到 PayPal(数量不可编辑).
您可以根据需要强制任何布局.
I'm in the the process of replacing the Free and Standard paypal button with a Express checkout integration. I believe I've done most of the work but I have 2 outstanding questions.
When using the old button it redirected me to an order summary page where I could still update the quantity of the product I wanted to buy. With Express checkout it seems that this option has dissapeaed. Whilst the quantity field is still there, it's read-only and can therefore not be altered anymore. Can I make it so this field becomes editable again?
When i get redirected to the paypal site after pressing submitting the form is not consistent, I suspect Paypal is in the process of rolling out some updates to this page and is doing some A/B testing to see which layout is performing better but it would be good if someone else could confirm a similiar behaviour and if there's anything that I can do to force a particular layout? I found other posts on this forum but they were posted a while ago hence the recheck.
Thanks
1.Express Checkout, its actually a API call to the PayPal server.
If you want to edit the Quantity, you need to change the value L_PAYMENTREQUEST_n_QTYm
using your own logic and send the request to PayPal(quantity is not editable).Doc
2.Actually PayPal has released a new Express Checkout layout.
There are two URL's here:
Old Layout : https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-24P528268C112244W
New Layout: https://www.paypal.com/checkoutnow/2?token=EC-24P528268C112244W
You can force any layout as you wish.
这篇关于贝宝快递“订单汇总"页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:贝宝快递“订单汇总"页


- openssl_digest vs hash vs hash_hmac?盐与盐的区别HMAC? 2022-01-01
- 使用 GD 和 libjpeg 支持编译 PHP 2022-01-01
- 如何从数据库中获取数据以在 laravel 中查看页面? 2022-01-01
- Laravel 5:Model.php 中的 MassAssignmentException 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- PHP foreach() 与数组中的数组? 2022-01-01
- 如何使用 Google API 在团队云端硬盘中创建文件夹? 2022-01-01
- 如何在 Symfony2 中正确使用 webSockets 2021-01-01
- 覆盖 Magento 社区模块控制器的问题 2022-01-01
- PHP - if 语句中的倒序 2021-01-01