PayTabs SDK makes the integration with the PayTabs payment gateway very easy by providing a ready-made payment the 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 manage/control the already existing transactions (as a result of all of the previous steps), you can get the query transactions to fetch its details and know more about its status, type, etc:
Through out the article we will use the transaction types clarified in our What is "tran_type"? solution article.
In our SDKs, we don't support handling and managing any existing transactions such as refund, and capture.
however, you can get existing transaction status and full details using query transactions also till we support such features you will have to either handle them from your PayTabs dashboard such as "Refund", or "Capture". Or you can use our PT2 API Endpoints direct within your code to perform any other desired transaction types.
In this article, you will be going to know how to handle the payment response:
⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Cordova SDK Integration Manual" solution article.
⇦ And to navigate to the previous step in the integration process " Step 6 - Handle the post-payment responses (notifications)" kindly click here.