Creating a new payment gateway

Hello,

How one would go about creating a new payment gateway? I’m not a developer but I’ve taken a look at the code, seems too complex for me :smiley:

I’ve already set up Paypal but I wanted to add two more options, one of them being BANK DEPOSIT, ie, it would simply show the bank account numbers to the customer.

Assuming I’m understanding you correctly, this feature will be in our next release.

https://trello.com/c/Uw8Lvl9Z/106-custom-payment-option

You can try it now using our develop branch or wait 2 to 3 weeks for the release.

Thanks, that will be awesome!

Now there are other questions:

  • Will we be able to add more than one custom payment option?
  • Would it be possible to use HTML tags in the TEXT field? This would help me integrate another payment method, eg, add a PAY button which would redirect somewhere.

Specifically, I’m looking to integrate BOLETO payment (a very popular payment method in Brazil), and that button would then call a PHP script which I would write, and this script would take its parameters via GET.

  • There’s just one custom option.
  • No, for security reasons we’re only supporting plain text.

We use Omnipay to handle our payment gateway integrations, I’ve found a reference to ‘Boleto’ with this driver:

https://github.com/descubraomundo/omnipay-pagarme#example-with-boleto

Dear Hillel,
First I want to thank you for your support and your kind attitude!
Could I ask you it is possible and can I add the BORICA payment system as a custom payment Gateway in Invoice Ninja?
I am using Ninja in the Tourism field and have a virtual POS terminal from my bank (Central Cooperative Bank in Bulgaria / European Union) which in turn uses BORICA’s payment system.

Thank you in advance for your reply!

It’s possible, there’s a bit of info here:

https://invoice-ninja.readthedocs.io/en/latest/configure.html#omnipay