Custom Payment Gateway Integration
Hi Everyone, I have been a part of devdojo's community for a while now and i must say joining this is one of the best things happened. So much helpful material managed in a great way ! it's all value here.
For the first time as i am new to laravel and php , I didnt find anything related to custom payment gateway integration and how we can add gateway's like payoneer or any wallet system custom made into our existing laravel applications. other than stripe, paddle and paypal i hardly see any composer package which i can call with composer require and it can do the job from their onwards ... Please guys let me know if anyone of you had experience integrating such scenario .. would be very helpful
Cheers, Ahmad
Hi there,
Thank you for your feedback and for sharing your positive experience with the DevDojo community 🙌
Regarding the payment gateway integrations. Most tutorials out there refer to Paddle and Stripe as there is an official package provided by the Laravel team:
This is what makes it so easy to integrate Stripe or Paddle with a Laravel application.
For other more specific payment methods you might have to implement a custom integration.
Is there a specific wallet system that you are interested into integrating?
For Payoneer I don't see any up to date packages, there is one that has note been updated for the past 5 years:
https://github.com/viralstyle/laravel-payoneer
What you could do is try to utilize their API but this might require quite a bit of work on your end:
https://www.payoneer.com/partners/api/
Best,
Bobby
Thanks Bobby, appreciate your prompt response. I think i should follow the same configurations of paddle or stripe which comes with laravel/cashier and follow the file structure and hierarchy of model , controllers and views as they were integrated. would that be the right approach?
1- Integrating my existing application into laravel/cashier or Wave SaaS template package or should I go with 2- Integrated cashier or wave template in to my existing laravel application
Please suggest, Thanks in advance !!
Hi there,
I would suggest going with Wave as it comes out of the box with Laravel Cashier integrated together with Paddle.
Hope that this helps!
Thanks a lot ..
No problem! Good luck with your project 🙌