Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
11792 Widoki

I want to implement a payment acquirer add-on.  So far, I have been following the online documentation and books on implementing a general add-on, and by "reverse engineering" the acquirers that come included (paypal, sips, etc), however there are several things that are not clear per se from those addons.  I wonder if there is any documentation describing the special considerations that need to be followed to develop a payment acquirer?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

If you are looking to do a payment gateway integration with Odoo, the easiness of work will depends on the support /documentation provided by the corresponding payment gateway team.


In the following link, it is briefly explained how paytab payment gateway can be integrated to Odoo, have a look at it : Odoo Payment Gateway Integration



Also there are many payment acquirers free module available in the odoo app stores, have a look at the code and see how it is coded.

Sample module: https://www.odoo.com/apps/modules/9.0/payment_wepay_gateway/


Thanks

Awatar
Odrzuć
Autor

No, I am not talking about "installing" or using an acquirer. I am talking about developing (coding/implementing) one.

Yes for that only i have provided the link, have a look at the first link

Najlepsza odpowiedź

Sorry for the very late reply.
For a better understanding, you should go to the payment module and read the doc string given for every classes and methods defined under payment_acquirer.py. This will give you a basic idea on what each method does and how to use it in your new module. Then as Riyas said, check with other payment acquirer modules available. 
Following are the few methods to be considered

1. *_form_generate_values in 'payment.acquirer'

 This is where you provide the values to the form which needs to be passed to the provider to get the HPP. You will need to set a xml template which will be used to create the form.

2. httpController to manage the response from the provider. It should update the related payment.transaction record.  

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lip 22
1869
3
lut 24
2818
1
lis 20
10087
1
wrz 20
3020
2
maj 20
5135