Payment system |
Hey guys,
Good to see such progress happening with Codeigniter 4.0. Just wondering how plausible it would be to add and maintain a payment gateway system for e-commerce with the two big guns such as paypal and stripe. I was thinking something similar to Laravel's Spark. Again just thinking out aloud here, so might be completely impractical. https://spark.laravel.com/
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
I don’t think payment handling will ever be a part of the framework core, but you should be able to use any PHP library with CI4. I have a library for integrating Stripe’s SDK: https://github.com/tattersoftware/codeigniter4-stripe
I’ve also done PayPal but unfortunately that code is not open source, but I can tell you it isn’t difficult.
Again fair point, I suppose it is another thing to maintain and deciding how lean to make the framework. Thanks for those links. Super useful.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
You could check out https://omnipay.thephpleague.com
I personally had a few issues with it, so I just went into a custom direction, but I still believe it's a neat idea, and might be suitable for you.
Hi,
It’s definitely possible to add PayPal and Stripe to CodeIgniter 4. You can use existing CodeIgniter payment libraries to integrate these gateways. While Laravel Spark offers a full solution, you could build a similar setup in CodeIgniter with some custom development.
Kindly check this tutorial for Codeigniter 4 Stripe Payment Gateway
https://getsamplecode.com/blog/codeignit...ntegration |
Welcome Guest, Not a member yet? Register Sign In |