Skip to content
Snippets Groups Projects
Unverified Commit 0956fa2a authored by Guido Robertone's avatar Guido Robertone
Browse files

Issue #3368693: Locale from config, removing the locale param.

parent 32a05536
No related branches found
No related tags found
1 merge request!2Issue #3368693: Locale from config, removing the locale param.
......@@ -7,9 +7,7 @@
once('mercadopago_checkout', '.mercadopago-buttons-container', context).forEach(function(el) {
var preference_id = $(el).data('preference-id');
const mp = new MercadoPago(drupalSettings.mercadopago_checkout.public_key, {
locale: 'es-AR'
});
const mp = new MercadoPago(drupalSettings.mercadopago_checkout.public_key);
const checkeout = mp.checkout({
preference: {
id: preference_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment