-
- Downloads
[IMP] payment_*, website_quote: change callback_eval string to parameters
callback_eval is currently a code string that is evaluated directly at payment confirmation. This commit changes it to have parameters on the record and method to call on it. Moreover a hash done once at transaction creation ensure that a modified transaction does not allow to execute code on other records.
Showing
- addons/payment/models/payment_acquirer.py 35 additions, 4 deletionsaddons/payment/models/payment_acquirer.py
- addons/payment_authorize/models/payment.py 3 additions, 4 deletionsaddons/payment_authorize/models/payment.py
- addons/payment_ogone/models/payment.py 2 additions, 4 deletionsaddons/payment_ogone/models/payment.py
- addons/payment_stripe/models/payment.py 1 addition, 2 deletionsaddons/payment_stripe/models/payment.py
- addons/website_quote/controllers/main.py 3 additions, 1 deletionaddons/website_quote/controllers/main.py
Loading
Please register or sign in to comment