The payment page language is the language that will the payment page displayed to the customers in. Customers will still have the ability to switch languages within the page itself which will be easier for your customer to navigate the payment page in his preferred language.
Note that Paytabs Payment Page by default uses client browser preferred language as the default language.
In this article you will be going to know about:
- How to switch from the default language within my integration method?
How to switch from the default language within my integration method?
Based on the integration method you are using you can customize the language on the payment page as shown below:
PT2 APIs endpoints
You can pass the language you want your payment page to be displayed in within the parameter called "paypage_lang" as shown below:
By default, Paytabs plugins use either the Platform's main language or the client browser's preferred language to customize Payment Page Language. However, it can be changed manually by the customer on the payment page itself.
It varies from SDK to another but the common thing between them is that on the configurations options there's a parameter that you can control the payment form language with as shown below:
configuration.languageCode = "ar"
To know how to manipulate this option, please check the article related to your SDK from our Mobile SDKs documentation section.