Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
11798 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Autore

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

Risposta migliore

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.  

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 22
1872
3
feb 24
2823
1
nov 20
10094
1
set 20
3022
2
mag 20
5139