[FIX] payment: missing support
The `website_payment` route has not been implmented following the payment refactoring. Deactive it for now. opw-787897
This commit is contained in:
committed by
Nicolas Martinelli
parent
c5749ef2e3
commit
e014ee9a96
@@ -51,7 +51,10 @@ class WebsitePayment(http.Controller):
|
||||
'amount': float(amount),
|
||||
'payment_form': payment_form,
|
||||
}
|
||||
return request.render('payment.pay', values)
|
||||
# TODO: remove return when payment is implemented with refactored payments, i.e. use of
|
||||
# payment.payment_tokens_list in the template.
|
||||
# return request.render('payment.pay', values)
|
||||
return request.render('website.404')
|
||||
|
||||
@http.route(['/website_payment/transaction'], type='json', auth="public", website=True)
|
||||
def transaction(self, reference, amount, currency_id, acquirer_id):
|
||||
|
||||
Reference in New Issue
Block a user