Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am working on Mollie Payment Gateway Integration with Odoo 8. I have one query regarding this.
Like other payment gateways Mollie don't return any response data after completion of payment(post data back to website). But it can redirect the user to return_url(may get GET data using query-string). In Controller we accept only post request but in this case there is no post data so how we are going to handle the response?
POST data is compulsory/standard in case of Odoo or I can just convert the function to get GET request as well to meet my purpose?.
Code for Reference from Buckaroo Payment Gateway(payment_buckaroo addon)
], type='http', auth='none')
def buckaroo_return(self, **post):
_logger.info('Buckaroo: entering form_feedback with post data %s', pprint.pformat(post)) # debug
request.registry['payment.transaction'].form_feedback(request.cr, SUPERUSER_ID, post, 'buckaroo', context=request.context)
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/2/15, 9:00 AM|
|Seen: 1730 times|
|Last updated: 12/23/15, 8:55 AM|