we are having confusion for setMerchantCountryCode. We are not able to decide which code is to be used as we can have different regions as well. For that condition which country code to be used.
Welcome, Dear Muhammad,
Thanks for reaching PayTabs out on our Developers Community. My Name is Osama El-Hamahmy from the technical support team and I will be looking into this post and following up with you.
As for which code to use, according to your region, you will use a string (ISO Alpha-2 Format) of that resion. For instance, if the region is Saudi Arabia then the countryCode will be "SA".
However for the global region, you will use the country code of the merchant address defined in your account, so for India will be "IN" and so on.
You should also know that we are providing you with a great "Solutions Portal" that includes so many articles that can walk you through any situation such as the "The How to & The What Is (FAQ)" category which contains the technical and non-technical FAQ, and the "How to Integrate with PayTabs?" category which contains all the available methods to integrate with the fully detailed documentation and "Troubleshooting Your Issues/Errors" category which will allow you to trace and solve your issues without seeking for any assistance.
Please don't ever hesitate to comment back if you still have further inquiries. Let me know if there's anything else I can help with.
Glad to be always in help.
Hoping you have a profitable and successful trade.