diff options
| author | nie <nie@odoo.com> | 2021-03-31 11:39:52 +0000 |
|---|---|---|
| committer | nie <nie@odoo.com> | 2021-04-03 09:49:38 +0000 |
| commit | baa1f3e05ae4d8166549336dabc2ce5fc093a489 (patch) | |
| tree | f9ba81c3650eb321017eba2f2b69e54a9ba762f1 /addons/base_vat | |
| parent | 43c4db07166bf97f0954bb553ea67e1ed5d50d3b (diff) | |
[FIX] payment_payulatam: use "Round half to even" method in signature
Steps:
- Install l10n_ar, website_sale
- Go to Website / Configuration / eCommerce / Payment Acquirers
- Install PayUlatam
- Edit PayUlatam:
- Argentinian credentials: http://developers.payulatam.com/en/web_checkout/sandbox.html
- Go to Website / Configuration / Settings
- Check Multi-Currencies
- Save
- Click Currencies
- Edit all currencies:
- Rates:
- Edit or create the current rate:
- Rate: 1.000000
- Go to Website / Products / Pricelists
- Create an ARS pricelist and make it selectable
- Go to Website / Products / Products
- Create a product (1):
- Sales Price: 15.75
- No taxes
- Click "Published On Website"
- Select your new ARS pricelist
- Add (1) to Cart
- Process Checkout
- Select PayUlatam
- Pay Now
- Use this info to process the checkout: http://developers.payulatam.com/en/web_checkout/sandbox.html
- Pagar (Pay)
- Regresar al sitio de la tienda (Back to the store website)
Bug:
500: PayUlatam: invalid sign
Explanation:
From PayU's documentation:
> 2. Response page
> Signature validation
> In order to get the new value new_value you always should approximate
> the TX_VALUE to a decimal, using the rounding method "Round half to
> even"
http://developers.payulatam.com/en/web_checkout/integration.html
opw:2457240
closes odoo/odoo#68742
X-original-commit: 11723c7888acd6fd1115f93f8d4c7de458d70404
Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'addons/base_vat')
0 files changed, 0 insertions, 0 deletions
