0 votes

how can i set iframe, email and document languages? i am using php sdk but i can't change the language. everything comes in english by default. I need to send the language I want when I start the checkout process, but it doesn't work. help me please.

not working -> $transactionInvoice->setLanguage($currentLang);

closed with the note: fixed
asked by Alexandros CONTOYANNIS (180 points)
closed by Alexandros CONTOYANNIS

2 Answers

0 votes

Dear Alexandros,

We will gladly take a closer look at your request. Please create a ticket by writting us an email to the following address: info@wallee.com

Sincerely,
wallee support

answered by Dominik NIZIOL (420 points)
0 votes

Its fixed, Apply to transaction, not invoice.

For example :


...
$transactionPayload = new TransactionCreate();
$transactionPayload->setCurrency("EUR");
$transactionPayload->setLineItems(array($lineItem));
$transactionPayload->setAutoConfirmationEnabled(true);

$transactionPayload->setLanguage('en-US'); // set language here, pattern: 'language-COUNTRY'

$transaction = $client->getTransactionService()->create(17302, $transactionPayload);
$javaScriptUrl = $client->getTransactionIframeService()->javascriptUrl(, $transaction->getId());
...
answered by Alexandros CONTOYANNIS (180 points)