At the Online Payments / Payment Methods I can only Strype as a payment option, and none of the other. Stype does not support South African Rand payments. I use InvoicePlane v1.6.1
I cannot find any documentation, or maybe do not look at the right place how to go about adding e.g. Payfast or the most popular payment gateway for South Africa called Yoco.
Please help
Hey,
I’ve split off your question to your own separate question.
Take a look at this pull-request:
naui is adding the ‘mollie’ payment gateway there. Adding the payment gateways you mention should be something similar to that.
Thank you. If I knew how I would have added Yoco from yoco.com which is the greatest cheapest payment gateway in South Africa. None of the ones you mentioned support South Africa. Paypal only support one bank but is very expensive, so people use Yoco which is supported by all banks in South Africa.
Thank you, and thanks for the hard work.
Well, let’s focus on Yoco for you.
Naui gave an example with his PR.
Let’s look at it from 2 ways: the “code” view and the user’s perspective" view.
Further down i’ll describe Step 0
Step 1: Adding Yoco to the list
Code:
- I’m opening
application/config/payment_gateways.php
- I see a long list of “gateways”
- Add your “yoco” to that list
“User view”: - Go to the location where you can select the payment gateway
- Click on the dropdown box
- Do you see “Yoco”?
Great! Commit your work in your own personal branch. Step 1 is done.
Step 0: Creating a Branch
- Go to GitHub - InvoicePlane/InvoicePlane: A self-hosted open source application for managing your invoices, clients and payments. and press on the ‘fork’ button. You’ll now create your own personal InvoicePlane.
- The ‘fork’ goes into your github list of repositories
Go to that list - In https://github.com/getafixza/InvoicePlane press the ‘clone’ button, it will give you the command to put on your local PC
git clone https://github.com/getafixza/InvoicePlane
or
git clone git@github.com:getafixza/InvoicePlane.git
- You now have your personal InvoicePlane on your local PC
git checkout -b feature/add-yoco
- In your personal branch add the code, according to step 1
git status
gives a list of changed filesgit add application/config/payment_gateways.php
git push -u origin feature/add-yoco
You have now added your config file to your own personal branch on your repository