Page 1 of 1
[SOLVED] Unable to display PayPal checkout in Spanish
Posted: Sat Jan 06, 2024 3:08 am
by jcmadrid
Hello,
We have installed the PayPal full integration on our site. The site is in Spanish, our PayPal account is with a Spanish entity, but the payment page comes out in English. Try as I might, I just can´t find how to change it to Spanish. When we had just the standard PayPal Express everything came out fine in Spanish. I´ve attached screenshots.
Thanks for your help!
Re: Unable to display PayPal checkout in Spanish
Posted: Sat Jan 06, 2024 6:06 am
by ADD Creative
What country do you have set in the PayPal extension settings?
Re: Unable to display PayPal checkout in Spanish
Posted: Sat Jan 06, 2024 5:03 pm
by jcmadrid
Hello and thanks for your reply. We´ve set the country to Spain
Re: Unable to display PayPal checkout in Spanish
Posted: Sat Jan 06, 2024 5:33 pm
by xxvirusxx
Re: Unable to display PayPal checkout in Spanish
Posted: Sat Jan 06, 2024 6:09 pm
by ADD Creative
Looks like another bug in the PayPal extension.
Try in catalog/view/javascript/paypal/paypal.js. Could be in a different location depending if you are using OpenCart 4.0.x or 3.0.x.
After.
Code: Select all
src_data['intent'] = paypal_data['transaction_method'];
Add.
Code: Select all
src_data['locale'] = paypal_data['locale'];
You may have to clear your browser cache to see the change.
Re: Unable to display PayPal checkout in Spanish
Posted: Sat Jan 06, 2024 8:36 pm
by jcmadrid
WOW! GENIUS! Thanks so much. Worked first time.
ADD Creative wrote: ↑Sat Jan 06, 2024 6:09 pm
Looks like another bug in the PayPal extension.
Try in catalog/view/javascript/paypal/paypal.js. Could be in a different location depending if you are using OpenCart 4.0.x or 3.0.x.
After.
Code: Select all
src_data['intent'] = paypal_data['transaction_method'];
Add.
Code: Select all
src_data['locale'] = paypal_data['locale'];
You may have to clear your browser cache to see the change.
Re: Unable to display PayPal checkout in Spanish
Posted: Tue May 21, 2024 8:36 am
by stanmx
ADD Creative wrote: ↑Sat Jan 06, 2024 6:09 pm
Looks like another bug in the PayPal extension.
Try in catalog/view/javascript/paypal/paypal.js. Could be in a different location depending if you are using OpenCart 4.0.x or 3.0.x.
After.
Code: Select all
src_data['intent'] = paypal_data['transaction_method'];
Add.
Code: Select all
src_data['locale'] = paypal_data['locale'];
You may have to clear your browser cache to see the change.
Thank you ADD Creative, I solved too.