Jump to content

Recommended Posts

Posted

I just built a simple shopping cart (added cart items are stored in session) and with paypal express checkout.

it is working fine and tested in paypal sandbox.

The product name is a multi-language field

If i changed to another language on the website, when redirected to paypal checkout page, the product name is using my website's default language.

the multi-language of the product name and desc. is display correctly in my website.

Posted

Hello adrianmak!

 
How do you handle passing values to the PayPal checkout? Maybe you'll need something like this:
if($user->language->isDefault()) {
   $value = $page->fieldname;
} else {
   $value = $page->getLanguageValue($user->language, 'fieldname');
}
  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...