什么是有据可查的用于直接付款的 php paypal pro 类

发布于 2024-12-05 02:02:42 字数 732 浏览 0 评论 0原文

我有点匆忙,没有太多时间研究贝宝文档来创建我需要的东西。我看过许多 php 的 paypal pro 类,它们要么缺乏文档,要么有的类很难调试。我正在寻找的是直接付款,用户输入他们的帐单地址信息以及信用卡信息,所有这些都在我的网站上进行验证,而客户不会看到贝宝。我猜这就是贝宝所谓的直接付款。有没有人有写得很好的、易于理解和记录的贝宝专业课程。我需要注册 paypal pro 才能接受直接付款吗?

仅供参考:这是一个自定义网站,因此我没有使用任何第三方应用程序/框架。

谢谢

ps:

我尝试过天使眼贝宝类(http://www.angelleye.com/paypal- payments-pro-php-class/) 集成后我得到这个作为错误返回并且不知道它意味着什么

[ERRORS] => Array
        (
            [0] => Array
                (
                    [L_ERRORCODE] => 10002
                    [L_SHORTMESSAGE] => Security error
                    [L_LONGMESSAGE] => Security header is not valid
                    [L_SEVERITYCODE] => Error
                )

        )

I'm in a bit of a rush and dont have much time studying paypals documentation in creating what i need. I have looked at many paypal pro classes for php and they either lack documentation or have classes are very difficult to debug. What i am looking for is direct payment where a user enters their billing address information along with their credit card information and all this is validated on my website without the customer seeing paypal. I am guessing this is what direct payment is called for paypal. Does anyone have a well written, easy to understand and documented paypal pro class. And do i need to be registered with paypal pro in order to accept direct payment?

fyi: this is a custom site so i am not using any 3rd party application/framework.

thanks

ps:

i have tried Angel Eye paypal class (http://www.angelleye.com/paypal-payments-pro-php-class/)
and after integrating i get this returned as an error and have no clue what it means

[ERRORS] => Array
        (
            [0] => Array
                (
                    [L_ERRORCODE] => 10002
                    [L_SHORTMESSAGE] => Security error
                    [L_LONGMESSAGE] => Security header is not valid
                    [L_SEVERITYCODE] => Error
                )

        )

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文