-
- Downloads
[FIX] payment_payulatam: Set right domain on response url
Steps to reproduce the issue: - Install the module eCommerce - Activate PayU Latam payment acquire in test mode and set it to Website 2 - Set a domain for each website - Go to Website 2 - Add any product to cart and go to checkout - Select PayU Latam as payment acquire and click on pay - Select any payment method, finish the payment and click on the "Back to the store" button Issue: Redirect to the first website (instead of Website 2), therefore the user has not the receipt of the payment. Cause: The domain of the response url is set to the ir.config_parameter 'web.base.url'. Solution: Use the function `self.get_base_url()` to get the right domain (already what is done in other payments acquires). opw-2652582 closes odoo/odoo#80558 X-original-commit: 30f11bc6 Signed-off-by:Antoine Vandevenne (anv) <anv@odoo.com>
Please register or sign in to comment