PayTabs Laravel Package makes integration with the PayTabs payment gateway very easy by providing a ready-made payment class that handles the card entry, and billing & shipping information and completes the missing details.
This article is dedicated to the clarification of the SendToken. SendToken that indicates Tokenization. Only if the card has been tokenized (have a token created representing this card) the card token would be returned within the response The following parameters are required to be sent within the "sendToken" function as shown below:
Token
The Parameter Tag/Name | token |
Data Type | String |
Purpose | To send the related Token after tokenizing |
Sample/Value | JfN1DVw6w7hrM7mm1P11jNMbzFFAe9WU |
Required | ✔ |
Tran Ref
The Parameter Tag/Name | tran_ref |
Data Type | String |
Purpose | transactionTo send the related trnsaction refrance after tokenizing |
Sample/Value | TST2234701408580 PTB2234701408581 PTS2234701408582 PTE2234701408583 PTJ2234701408584 PTG2234701408585 PTO2234701408586 PTI2234701408587 |
Required | ✔ |
⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Laravel Packge Integration Manual" solution article.
⇦ And to get familiar with the rest of the steps regarding the previuos step "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 - Initiating the payment" click here.
⇨ And to navigate to the next step in the integration process "Step 4 - Accepting the payment" kindly click here.