我已经在沙盒模式下运行了上下文 paypal 流程,但它似乎现在突然开始重定向到整页 paypal 页面,这似乎毫无理由。
它首先显示上下文弹出窗口,然后相当快地显示下面的日志输出。然后它又旋转了 35 秒的圆圈,最后重定向到 www.sandbox.paypal.com 整页登录。
它在大约之后重定向到这里。 35 秒: https://www.sandbox.paypal.com/webapps/hermes/fallback?product=ec&reason=hermes_to_legacy&fallback=1&incontext=1&token=EC-2JW68939JV301205H
我启用了日志记录,控制台显示了这些:
PayPal Incontext is running in sandbox mode. This message will not appear in production mode
[post-robot] fullpage mysite.com #receive postrobot_message_request identify Object {hash: "identify_a5696077b9", type: "postrobot_message_request", name: "identify", data: Object, id: "cbcd06def6"…}data: Objecthash: "identify_a5696077b9"id: "cbcd06def6"name: "identify"originalSource: "PPFrameefdd3d7440"originalWindowType: "popup"source: "PPFrameefdd3d7440"type: "postrobot_message_request"windowType: "popup"__proto__: Object
[post-robot] fullpage mysite.com #send postrobot_message_ack identify Object {target: "PPFrameefdd3d7440", hash: "identify_a5696077b9", name: "identify", type: "postrobot_message_ack", id: "fade8375aa"…}
[post-robot] fullpage mysite.com #send postrobot_message_response identify Object {target: "PPFrameefdd3d7440", hash: "identify_a5696077b9", name: "identify", type: "postrobot_message_response", ack: "success"…}
[post-robot] fullpage mysite.com #receive postrobot_message_request init Object {hash: "init_7572e25d03", type: "postrobot_message_request", name: "init", data: Object, id: "0d5dae02bd"…}
[post-robot] fullpage mysite.com #send postrobot_message_ack init Object {target: "PPFrameefdd3d7440", hash: "init_7572e25d03", name: "init", type: "postrobot_message_ack", id: "c5f5cd0f26"…}
[post-robot] fullpage mysite.com #send postrobot_message_response init Object {target: "PPFrameefdd3d7440", hash: "init_7572e25d03", name: "init", type: "postrobot_message_response", ack: "success"…}
[post-robot] fullpage mysite.com #receive postrobot_message_request return Object {hash: "return_4f3cdfcba1", type: "postrobot_message_request", name: "return", data: Object, id: "61dc3dc8ec"…}
[post-robot] fullpage mysite.com #send postrobot_message_ack return Object {target: "PPFrameefdd3d7440", hash: "return_4f3cdfcba1", name: "return", type: "postrobot_message_ack", id: "6c96a77ba8"…}
您如何找出导致完全重定向的原因并确保它在上下文中使用?我也不明白为什么它会暂停大约 35 秒?
最佳答案
这两天我遇到了同样的事情。今天似乎要好一些。我有时会通过灯箱付款而不是整页付款。我认为 Paypal 的负载很重,沙盒用户获得的服务器优先级较低。我认为回归传统是其中的一部分。等待它对我有用,但也许其他人知道得更多?我有一种感觉,如果我切换到生产环境,灯箱会正常工作。但这就是沙盒的全部意义,不是吗,模拟现实生活中的情况。 Paypal 需要把他们的东西放在一起。
关于PayPal 在上下文中 Express Checkout 开始重定向到整页 PayPal 登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39676714/