Payment Workflow
PayTabs provides you with a collection of API endpoints which used to process all payments, regardless of if they are through either your own payment pages, the managed payment pages, or if you are using the hosted payment pages.
PayLinks integration type is suitable for merchants with PCI SAQ A or merchants does not have any PCI levels. To customize the UI of the PayPage, check thisHow to customize the PayPage (Hosted Payment Page) UI?, and to know more about the Hosted Payment Page PCI DSS merchant requirements, please check this article.
1. Initial Setup: Transaction API Request
The merchant initiates the reusable PayLink process by making a Transaction API request to PayTabs, you have the option to pass the parameters that enabled the desired PayLink features like Donation, Discount, Card Filter, etc.
API Request Parameters:
- PayLinks Details: like
link_title
,cart_currency
,cart_amount
. - PayLink features: Specifies the PayLink feature parameters you want (e.g.,
donation_mode
,discount_cards
,etc.). - Customer Information: Includes customer name, contact details, and payment method.
Upon receiving this request, PayTabs will return a response containing a link URL. This link is essential for customer interaction, as it redirects the customer to a secure payment environment to complete the payment.
2. Redirecting the Customer
Once the API request is processed, the merchant must navigate or redirect the customer to the Link URL provided in the API response. This step is critical for allowing the customer to manually complete the first payment.
- The customer accesses the payment page via the provided Link URL:
"https://secure.paytabs.com/payment/link/[profile_id]}/[paylink_id]"
Once the customer open the link will redirected to the payment page
"https://secure.paytabs.com/payment/page/XXXXXXXXE47EB6D974F412090C176D7BF0B2/start"
Important Features:
- Reusable link URL:
- The PayLink does not expire if the customers use it.
- the Link URL can be sent to all the customers you want, as long as the link is still enabled.
3. Managing the PayLink
After the PayLink is initiated, you will be able to view the PayLink details inside the PayTabs Merchant Dashboard. This provides full visibility into the PayLink, including:
Actions you Can Do trough PT2 API:
- Enable or Disable PayLink.
- Update the amount.
- Update the PayLink features.
Actions you Can Do trough Merchant Dashboard (addition to the above actions):
- Download QR
- Send the PayLink via SMS and Whatsapp.
Workflow Overview
- First, create the PayLink with accurate and valid information.
- Next, send the PayLink link to the customer using your preferred communication method.
- The customer will be redirected to the Payment Page to complete the payment.
- Once the payment is successfully processed, the customer will be taken to a confirmation page, and the PayLink will be available for further payments till you disable it.
- Merchants can view and manage all PayLinks through the Merchant Dashboard.
For more details please check our solution article PayLinks Menu Via PayTabs Dashboard