pH7Software / pH7-Social-Dating-CMS

😻 pH7Builder (formerly pH7CMS) is a Professional & Open Source Social Dating CMS written in PHP 8 🚀 This Social Dating Script aims to be low resource-intensive, powerful and secure. pH7Builder includes over 40 modules. It is the first Professional, Free & Open Source Social Dating Site Builder Software and the first choice for enterprise level Da
https://pH7Builder.com
MIT License
961 stars 578 forks source link

Add Payfast Payment Gateway #526

Open Nigrini opened 5 years ago

Nigrini commented 5 years ago

The 3 current payment options are driving me up the wall. In South Africa the "best" gateway to use is Payfast.

I see on Github that there is a processing library available at https://github.com/thephpleague/omnipay-payfast or https://github.com/thephpleague/omnipay

How can I add this to ph7Builder

pH-7 commented 5 years ago

Hey @Nigrini

To add another payment gateway, this cannot be done through the admin panel, since each payment system relies on a specific API which needs to be handle with a specific library.

This can only be done by modifying the source of the "payment" module and in pH7Framework (eventually, you could add a composer library if available for that payment provider) and follow the same way like how I did for the current payment gateways available in the software.

You can also do it by forking this repo, do your changes, push it to your Github account and open a pull request to this repo with this new payment gateway. Don't forget to follow pH7CMS's coding conventions.

If you are not a good PHP programmer yourself, you will have to ask it to a good PHP programmer (Toptal for instance), or a good one on UpWork, but I've heard that it's harder to find good ones there).

Hope it helps 🤞

Have an amazing day! 🌞

lock[bot] commented 5 years ago

Hi there, I locked the thread since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Thank you, Pierre-Henry Soria 🤖

pH-7 commented 4 years ago

I will consider it for the near future. https://packagist.org/packages/omnipay/payfast