与使用 Codeigniter 集成 Paypal 相关的指南
我需要一些与 PayPal 集成相关的指导。 它与普通购物车不同。 结账后,该网站会提供付款选项表格。 要么是 PayPal,要么是其他付款方式。 用户提交后,表单将定向到控制器。 存在一个数组,其中包含所有项目值。
从这里我如何进入 Paypal 网站?
I need some guidance related to PayPal Integration. It's not similar to a regular cart.
After checkout, the site offers a form for payment option. Either it's PayPal, or some other payment process. The form directs to controller after the user submits. An array exists, which contains all item values.
From here on how can I proceed to the Paypal site?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我在这里问了同样的问题。
和http://www.phpfour.com/blog/2009 /02/php- payment-gateway-library-for-paypal-authorizenet-and-2checkout/ 是很好的资源。
请看一看。
I asked the same kind of question here.
And http://www.phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/ is good resource.
Please have a look.
有一个现有的库可以使用 CodeIgniter 与 Paypal 集成:
http://codeigniter.com/wiki/PayPal_Lib/< /a>
There is an existing library for integration with Paypal using CodeIgniter:
http://codeigniter.com/wiki/PayPal_Lib/
只是想让您知道,我们刚刚开源了我们的替代品 CodeIgniter PayPal 库,称为 codeigniter-paypal-ipn。 (我们在生产中使用这个库。)
它比 PayPal_Lib 执行更多的验证,并且还将订单保存到您的数据库中(使用 CI 活动记录或 Doctrine)。
希望对你有帮助!
Just to let you know that we've just open-sourced our replacement CodeIgniter PayPal library, called codeigniter-paypal-ipn. (We use this library in production.)
It performs more validation than PayPal_Lib, and it also saves the orders down to your database (using either CI active record or Doctrine).
I hope you find it useful!