Community mailing list archives

community@mail.odoo.com

Re: Paypal IPN and DPN

by
Laura
- 06/27/2016 04:37:20



a) No, I didn’t
b) Nope, it’s the free version
c) Version 8.0
d) No, I don’t
f) log 

2016-06-27 08:15:05,232 1219 INFO SYC-CYLINDERS werkzeug: 127.0.0.1 - - [27/Jun/2016 08:15:05] "POST /web/dataset/search_read HTTP/1.1" 200 -
2016-06-27 08:15:07,545 1219 INFO SYC-CYLINDERS werkzeug: 127.0.0.1 - - [27/Jun/2016 08:15:07] "POST /web/action/load HTTP/1.1" 200 -
2016-06-27 08:15:07,685 1219 INFO SYC-CYLINDERS werkzeug: 127.0.0.1 - - [27/Jun/2016 08:15:07] "POST /web/dataset/call_kw/ir.module.module/get_apps_server HTTP/1.1" 200 -
2016-06-27 08:15:19,467 1219 INFO SYC-CYLINDERS werkzeug: 127.0.0.1 - - [27/Jun/2016 08:15:19] "GET / HTTP/1.1" 302 -
2016-06-27 08:15:29,622 1219 INFO SYC-CYLINDERS werkzeug: 127.0.0.1 - - [27/Jun/2016 08:15:29] "POST /longpolling/poll HTTP/1.1" 200 -
2016-06-27 08:15:34,546 1219 INFO SYC-CYLINDERS werkzeug: 127.0.0.1 - - [27/Jun/2016 08:15:34] "POST /longpolling/poll HTTP/1.1" 200 -
2016-06-27 08:15:42,721 1219 INFO SYC-CYLINDERS openerp.addons.payment_paypal.controllers.main: Beginning Paypal IPN form_feedback with post data {'address_city': u'xxxxxxxx',
 'address_country': u'xxxxxx',
 'address_country_code': u'ES',
 'address_name': u'xxxxxxxx',
 'address_state': u'',
 'address_street': u'xxxxxxx',
 'address_zip': u'xxxxxx',
 'business': u'xxxxxxxxx',
 'charset': u'UTF-8',
 'custom': u'{"return_url": "/shop/payment/validate"}',
 'first_name': u'xxxxxxx',
 'handling_amount': u'0.00',
 'ipn_track_id': u'xxxxxx',
 'item_name': u'SYC Cylinders: SO376',
 'item_number': u'SO376',
 'last_name': u'xxxxxx',
 'mc_currency': u'EUR',
 'mc_fee': u'-1.48',
 'mc_gross': u'-33.34',
 'notify_version': u'3.8',
 'parent_txn_id': u'xxxxxxxx',
 'payer_business_name': u'xxxxxx',
 'payer_email': u'xxxxxx',
 'payer_id': u'xxxxxxx',
 'payment_date': u'23:50:00 Jun 26, 2016 PDT',
 'payment_fee': u'',
 'payment_gross': u'',
 'payment_status': u'Refunded',
 'payment_type': u'instant',
 'protection_eligibility': u'Eligible',
 'reason_code': u'refund',
 ‘receiver_email': u'xxxxxxxx',
 'receiver_id': u'xxxxxxx',
 'residence_country': u'ES',
 'shipping': u'0.00',
 'transaction_subject': u'',
 'txn_id': u'xxxxxx',
 'verify_sign': u'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}
2016-06-27 08:15:42,727 1219 INFO SYC-CYLINDERS werkzeug: 127.0.0.1 - - [27/Jun/2016 08:15:42] "POST /payment/paypal/ipn/ HTTP/1.1" 500 -
2016-06-27 08:15:42,734 1219 ERROR SYC-CYLINDERS werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/service/server.py", line 281, in app
    return self.app(e, s)
  File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/http.py", line 1275, in __call__
    return self.dispatch(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/http.py", line 1249, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/http.py", line 1416, in dispatch
    result = ir_http._dispatch()
  File "/opt/odoo/odoo-server/addons/crm/ir_http.py", line 13, in _dispatch
    response = super(ir_http, self)._dispatch()
  File "/opt/odoo/odoo-server/addons/website/models/ir_http.py", line 125, in _dispatch
    return super(ir_http, self)._dispatch()
  File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 130, in _dispatch
    return self._handle_exception(e)
  File "/opt/odoo/odoo-server/addons/website/models/ir_http.py", line 201, in _handle_exception
    return super(ir_http, self)._handle_exception(exception)
  File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 100, in _handle_exception
    return request._handle_exception(exception)
  File "/opt/odoo/odoo-server/openerp/http.py", line 654, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 126, in _dispatch
    result = request.dispatch()
  File "/opt/odoo/odoo-server/openerp/http.py", line 672, in dispatch
    r = self._call_function(**self.params)
  File "/opt/odoo/odoo-server/openerp/http.py", line 302, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/http.py", line 299, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/odoo/odoo-server/openerp/http.py", line 791, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/odoo-server/openerp/http.py", line 395, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/odoo-server/addons/payment_paypal/controllers/main.py", line 68, in paypal_ipn
    self.paypal_validate_data(**post)
  File "/opt/odoo/odoo-server/addons/payment_paypal/controllers/main.py", line 53, in paypal_validate_data
    uopen = urllib2.urlopen(urequest)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>


Thanks in advance :)





Laura Muñoz
Departament de Disseny
administracio@syc-cylinders.eu
SYC Cylinders Europe, SA
Huelva, 1
08940 Cornellà de Llobregat
Barcelona

T 93 336 36 17
F 93 335 81 22
info@syc-cylinders.eu

www.syc-cylinders.eu




El 27 jun 2016, a las 9:52, Nhomar Hernandez <nhomar@vauxoo.com> escribió:


On Mon, Jun 27, 2016 at 2:32 AM, Administracio <administracio@syc-cylinders.eu> wrote:
I’m so tired of the Odoo errors… And one more time to thinking to uninstall…..

With no context impossible to help you to be "no tired", 

a.- Did you install another module after wards?.
b.- SaaS or OnPremise?.
c.- Version?
d.- Do you have proffessional support?
e.- Version of your modules (revision number and origin of them, App store maybe?).
f.- Backed log message when such message appear in the front end.

With this information may be we can give you some vitamins. :-) (Yes I am being sarcastic but with good intentions "I want to help").

In other hand, the correct place to put an issue is in github, this list is not the correct place I think (you can put them there and then refer to them here,. that should be the correct way).


--
Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe