跳至内容
菜单
此问题已终结
2 回复
3965 查看


How can I pay an invoice using some payment gateway?

In my case payment gateway is Payeezy. I know I can install a module to have a payment acquirer for Payeezy, but this would just add the option for the customer to pay herself using the gateway.

I have saved customer credit card, and I want to pay the invoice using her card via Payeezy API. 

If I click "Register Payment" button in invoice I only get method "Cash" and "Bank". Can I add a new payment method?


形象
丢弃
最佳答案

To add a new payment method you should add a new journal (accounting > configuration > journals). Use as an example the journal 'bank' - or just duplicate and change it to avoid mistakes.

To use an existing payment acquirer for manual payments registering, go to the same menu journals, find a required on, chck the box 'For Incoming payments' > manual (the tab Advanced settings > Payment method types on a journal form).

UPDATE FOR ODOO 8

In Odoo 8 you need to create a new journal for payment acquirers. As a type you should select 'Banks or Checks', and link this journal to proper default debit and credit accounts. You may use the same as in the "Bank journal" if received money is put there, or create new accounts. As an example use the 'bank journal' (you might just duplicate it, rename, and optionally change accounts).


形象
丢弃
编写者

Thank you very much!!! Yes, that is it.

编写者

Hi. Sorry for going back with the same issue.

So, I added my new payment method. Now, how do I relate this payment method with a payment gateway?

The idea is calling a payment gateway API when a user clicks "Register Payment". Is this possible?

I am thinking in overriding the method for this button.

编写者 最佳答案

Hi. Thanks a lot.

I am using Odoo 8. I don't see "For Incoming Payments" checkbox. Is this available for version 8 too?

形象
丢弃

look at the updated answer. I liked your post in order you can comment, not posting answers

相关帖文 回复 查看 活动
1
3月 25
1949
1
3月 23
5676
1
10月 22
11746
7
1月 22
19356
1
1月 24
15544