PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Custom Payment Gateway Integration

Solved
ahmadiqbal01

Oct 6th, 2021 03:16 AM

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

bobbyiliev

Oct 6th, 2021 03:49 AM

Best Answer

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

ahmadiqbal01

Oct 6th, 2021 04:16 AM

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 !!

bobbyiliev

Oct 6th, 2021 04:56 AM

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!

ahmadiqbal01

Oct 6th, 2021 04:57 AM

Thanks a lot ..

bobbyiliev

Oct 6th, 2021 05:01 AM

No problem! Good luck with your project 🙌