PayTabs Laravel Package makes integration with the PayTabs payment gateway very easy by providing a ready-made payment class that handles the card entry, and billing & shipping information and completes the missing details.
This article is dedicated to walking you through how to manage what is the payment page display language. The following language keys can be sent within the "sendLanguage" function as shown below:
- en
- ar
Through out the article we will use the same concepet clarified in our How to change payment page language? solution article.
paypage::sendLanguage('en');
The client's browser default language is the default value of this function. In other words, not passing this paramter at all will display the payment page in the default language of the client's browser if it was one of the above values or in "en" if not.
⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Laravel Packge Integration Manual" solution article.
⇦ And to get familiar with the rest of the steps regarding the previuos step "Step 2 - Configure the integration method" kindly click here.
⇦ And to get familiar with the rest of the steps regarding the current step "Step 3 - Initiating the payment" click here.
⇨ And to navigate to the next step in the integration process "Step 4 - Accepting the payment" kindly click here.