简体   繁体   English

在codeigniter结帐中实现多个支付网关?

[英]implement multiple payment gateways in codeigniter checkout?

Can Any one suggest me how to implement multiple payment gateways in a single cart page in codeigniter . 谁能建议我如何在codeigniter的单个购物车页面中实现多个支付网关 i would like to implement bit pay , go card less , and pay pal , i don't know how implement this any ideas??? 我想实施一点工资 ,并付好朋友 ,我不知道如何实施这个想法? and any implementation techniques also useful for my development. 以及任何对我的开发也有用的实现技术。 i have seen this kind of implementation in word press. 我已经在Word Press中看到了这种实现。 enter image description here 在此处输入图片说明

You will need to create a different Library for each provider - potentially storing files in the third_party folder (and referencing with APPPATH). 您将需要为每个提供程序创建一个不同的库-可能会将文件存储在third_party文件夹中(并使用APPPATH进行引用)。 You can then load whichever library you need depending on the choice. 然后,您可以根据选择加载所需的任何库。 See : https://www.codeigniter.com/user_guide/general/creating_libraries.html 参见: https : //www.codeigniter.com/user_guide/general/creating_libraries.html

You will need to add one button in cart page like "Check Out", after clicking this button give or show multiple payment options to customer like PayPal, Credit Card etc in other page. 您需要在购物车页面中添加一个按钮,例如“结帐”,单击此按钮后,在另一页面中向客户显示或显示多个付款选项,例如PayPal,信用卡等。

And than system identify which button pressed by customer or user.Also you will need to create different library for all payment options. 而不是系统确定客户或用户按下了哪个按钮。此外,您还需要为所有付款方式创建不同的库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM