[FIX] website/payment_acquirer: payment/adyen/return: Add pspReference attribute in the route method to force to have this arguments and hide this url from the sitemap
bzr revid: chm@openerp.com-20140108142315-nyaleejvpugfygew
This commit is contained in:
parent
372b52b044
commit
d5bcb3b947
|
@ -20,8 +20,9 @@ class AdyenController(http.Controller):
|
|||
@website.route([
|
||||
'/payment/adyen/return/',
|
||||
], type='http', auth='public')
|
||||
def adyen_return(self, **post):
|
||||
""" Paypal IPN. """
|
||||
def adyen_return(self, pspReference, **post):
|
||||
""" Paypal IPN."""
|
||||
post["pspReference"] = pspReference
|
||||
_logger.info('Beginning Adyen form_feedback with post data %s', pprint.pformat(post)) # debug
|
||||
request.registry['payment.transaction'].form_feedback(request.cr, request.uid, post, 'adyen', context=request.context)
|
||||
return_url = post.pop('return_url', '')
|
||||
|
|
|
@ -1294,11 +1294,6 @@
|
|||
this.$target.css("background-image", "");
|
||||
this.$target.removeClass(this._class);
|
||||
},
|
||||
getSize: function () {
|
||||
this._super();
|
||||
//this.grid.size = null;
|
||||
return this.grid;
|
||||
},
|
||||
load_style_options : function () {
|
||||
this._super();
|
||||
$(".snippet-style-size li[data-class='']").remove();
|
||||
|
|
Loading…
Reference in New Issue