0

使用 chrome 对我来说效果很好,使用 FF 的朋友说它也可以。在 IE 上根本不起作用。我所做的只是从贝宝复制/粘贴按钮代码并将其放入我的页脚。我得到的页面说:检测到错误;一些必需的信息丢失或不完整。请更正您的输入,然后重试。帮助?

<div style="
width: 145px;
margin: 0 auto;
"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAG9sQZQh2AAgcLjbZ70VuFvOKqmH4ReOo6Hu/t0tIB9IlTsOgb/NyBsdl+/ZRBjRsUSACCQ4h+jsnR7ir6c6zOcLgzqgxavbyeSldy/ffoCkjdYrzzKViCwNzJ6lmRDQ+Y1D66x78J0RPru4YfrTPgrrZkJpmMTgDMvsi8WHgXljELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIUDpPdk0V022AgZBAx7diT5xNM3BSQQQUws7Uf6k37ApsBEQOYN1HchfiJeIMxeM+t5gEr3vE5ozhu2M3IROdCfUr2hmLHjpuSWv6ehAhNZeeeaWIjHui9cDhHPWXkrdQ0cIQZb5ZtFW9f6NoEHybFaaJiwUa7E4VBPZCeqxApVlHCy8FecqsP4Wuv3UH6BluMo15uYHSdemIKKmgggOHMIIDgzCCAuygAwIBAgIBADANBgkqhkiG9w0BAQUFADCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3V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NbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzA5MjAxOTUyMTlaMCMGCSqGSIb3DQEJBDEWBBRKvZzhJd5FzC14DnbI/qkwH4zAFTANBgkqhkiG9w0BAQEFAASBgGCNTqM9LVC2N/Cy/IS18efGNcw9r6xIO4Nq6E83Ho1RxR+KIbmjvxH283rLl82xJul/xcoXWLQapR5M77qM6NjIpo4X3RmNCBG0vFFirnYnSsnVMNlPchraZ/3bXfmvhJP3M+FiL7GS6OoXPWeNq70/XBi133jAq+q0kkRzw4EM-----END PKCS7-----
">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" style="
padding-top:30px;
padding-left:30px;
">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
4

1 回答 1

1

看起来这与 PayPal 按钮代码保护有关。默认情况下,PayPal 按钮代码有一个名为encrypted的隐藏字段,其中包含有关以加密形式支付的所有信息。当单击删除代码保护链接(位于文本区域上方的 PayPal 按钮生成页面中的按钮代码)时,会显示包含许多纯文本形式的字段的不同代码。

我遇到过受保护(加密)代码存在此问题的情况,但未受保护的代码可以正常工作。注意使用未受保护的代码可能会导致安全性降低 - 通过修改未受保护的按钮代码,用户可以使用更改的货币、用途或参考 ID 进行支付。此外,如果使用电子邮件地址而不是安全的商家 ID,垃圾邮件机器人可以轻松地从未受保护的按钮代码中获取电子邮件。此外,对于因使用不受保护的代码而可能出现的其他问题,建议向 PayPal 支持人员咨询。

于 2013-10-06T02:31:43.337 回答