You do not require any library files for API Integration. You will find all the information required for API Integration within the API Documentation available here.

Once the payment is complete, the customer will be redirected to the URL that you specify in the API Call.

Our solution is based in PHP, so you can use it to integrate with CodeIgniter framework. We do not have any specific solution for CodeIgniter.

This shows up when the merchant's website doesn't have SSL Certificate (https) installed.
When the payment is attempted from payment page (which is https) and then gets redirected to the merchant’s website (non-https), most browsers give this warning. It is just information that the user is moving from https to http. This will not show up once the merchant installs an SSL certificate on his/her website.

The API V 2.0 requires that the requesting website be exactly the same as the website/URL associated with your PayTabs Merchant Account.
The merchant can see this SITE URL on his dashboard, under “My Profile”.
For Demo Users:
- You can edit your site URL by clicking going to “My Profile” and clicking on edit,enter your correct site URL and click on Save.
For Live Merchants:
- You can use the website that you have submitted in the Go-Live application. If you need to edit/change the site URL, you can send a request to customercare@paytabs.com

{"result":"The_PayPage_is_created.","response_code":"4012","payment_url":"https:\/\/www.paytabs.com\/NXEXxM3VHnir8a8
","p_id":94327}
You should receive the response from the create paypage API call, parse it and then redirect your customer to the paypage URL that you received in the response.

IP information needs to be correct, else it may be tagged as rejected or fraudulent.

These values are in fact the same and refer to the paypage id that was created from the API call.

The Express CheckOut only supports English and Arabic. Setting the language variable to anything else will default to English.

Make sure you are using the latest version of Express CheckOut.
PayTabs releases updates to the various services from time to time.
Information of these updates is sent to merchants via the blog and monthly newsletter.

After integration, if you get a progress/loading bar that never stops loading, kindly debug your page. The following are the possible causes and their solutions:

1.  Error on authentication:
    - Check for any leading or trailing spaces in your secret key or email address and remove them.

2.  404: Page not found error:
   - Make sure to use the complete and exact site URL .
   - Make sure to add a trailing “/” to the site URL.
   - Ensure that your siteurl and url_redirect begin with “https” only if you are using an SSL Certificate.
    If you do not have an SSL certificate installed,then kindly begin the URLs with “http”.

Make sure that you have entered the correct links for the siteurl and url_redirect variables.
Use “https” only if you have an SSL certificate installed.Also make sure to add the “www”.
Your URL structure should look similar to this:
With SSL : https://www.mywebsite.com/
Without SSL : http://www.mywebsite.com/.

This is usually caused due to some incorrect configuration on your server. You will need to recheck that your server has been properly configured with all the pre-requisites required for Express CheckOut V2.0:
- cURL.
- PHP 5.0 or greater.

After integration, if you get a progress/loading bar that never stops loading, kindly debug your page. If you find a 404 error, you will need to make sure that your Express CheckOut button can find your library folder. Check the following:
a. Ensure that the library folder is placed on the root of your website.
b. Make sure that the value for the “siteurl” is correct.

You can find the Android SDK documentation here.

You can find the iOS SDK documentation here.

No, it does not. You can test your SDK integration on actual devices only.

To view transaction_id and response code please add the following code in your application.


NSLog(@"transaction Id %@",[[NSUserDefaults standardUserDefaults]
objectForKey:@"local_transaction_id"]);
NSLog(@"Response Code %@", [[NSUserDefaults standardUserDefaults]
objectForKey:@"Tag_Response_Code"]);
NSLog(@'Description %@', [[NSUserDefaults standardUserDefaults] objectForKey:@'pt_description']);

The possible values for the response code variable are as follows:

Error Code   Description
100 Payment is completed Successfully.
481 This transaction may be suspicious, your bank holds for further confirmation. Payment Provider has rejected this transaction due to suspicious activity; Your bank will reverse the dedicated amount to your card as per their policy.
Important Note: These transactions are rejected by our fraud monitoring tools;
however the transactions are only authorized (Not settled). In case you verify the transaction is genuine you can contact us to force accept the transaction after checking if it is not fraud and we might ask verification documents like ID card and front side of credit card used showing only name and last 4 digits, otherwise the transaction amount will be released back to the cardholder according to the issuing bank policy.
In case you are using IPN, it will post the response once the transaction is force Accepted from our side.
Any other response code Any other response means that the transaction has been rejected and the rejection reason is the description of the corresponding response.
** The Complete list of response codes and their description can be found in Merchant Dashboard > Help > Reason Codes.

In order to update your ERP systems, you can make use of our IPN Service. You can find the documentation here.

PayTabs Plugins, allows you to accept payments via PayTabs. When the order goes through, the user is taken to PayTabs to make a secure payment. After payment the order is confirmed and the user is taken to the transaction result page.
You can find the documentation and plugin as below:

Platform Link Documentation
OpenCart 2.x.x Download Download
Magento 1.9 Download Download
WooCommerce Download Download
Pretashop Download Download
WHMCS Download Download
CS-Cart Download Download
Shopify       - Download

PayTabs Plugins, allows you to accept payments via PayTabs. When the order goes through, the user is taken to PayTabs to make a secure payment. After payment the order is confirmed and the user is taken to the transaction result page.
You can find the documentation and plugin as below:

Platform Link Documentation
OpenCart 2.x.x Download Download
Magento 1.9 Download Download
WooCommerce Download Download

You can find the Tokenization documentation here.

Documentation Link
iOS SDK Download
Android SDK Download
IPN Download
Express CheckOut – Version 3.0 Download
API Integration Download
Shopify Download