PayTabs SDK makes the integration with the PayTabs payment gateway very easy by providing a ready-made payment screen that handles the card entry, and billing & shipping information and completes the missing details.


This article is dedicated to walking you through how to use the helper functions:



Cancel current payment:


This method gives you the ability to cancel or close the payment screen. However, if the merchant has already pressed the PAY NOW button and started the payment process; this method will not cancel the transaction.

//not affect the ongoing transactions.

 PaymentManager.cancelPayment { didCancel in
        if didCancel {
		//do something
}






⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Native IOS SDK Integration Manual" solution article. 

 And to navigate to the previous step in the integration process "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 - Native IOS SDK | Initiating the payment" click here. 
Or you can navigate to the next step in the integration process "Step 4 - Accepting the payment" kindly click here.