Request: Manage the Hosted Payment Page's session expiry (paypage_ttl)
This parameter ONLY working with those integration types (Hosted Payment Page, Invoices(Payment Endpoint)).
The PayPage Time to live (TTL) parameter one of the optional parameters. It allows the merchant to set the expiry value of the payment page in minutes, with a minimum duration of 1 minute..
By default, the initial Payment Page URL will expire after 20 minutes.
Next, we can delve into the specifics of how to implement the
paypage_ttl parameter in your requests.How this parameter could benefit you?โ
Implementing the paypage_ttl parameter can thus provide a more tailored and efficient payment experience, benefiting both your business operations and customer satisfaction.
Control Over Payment Window Duration: The parameter allows merchants to define how long a payment page remains active. This ensures that customers complete transactions within a specific timeframe, reducing the risk of abandoned carts and improving conversion rates.
Ideal for Time-Sensitive Products: For products or services with frequently changing prices, such as airline tickets, hotel bookings, and flash sale items, the parameter ensures that payment is made before the price changes. This reduces mismatched or outdated pricing issues, providing a smoother transaction experience for both merchants and customers.
Customizable Based on Business Needs: Merchants can customize the TTL based on their specific business needs, allowing for flexibility in managing payment windows according to different scenarios and requirements.
Name but a few different Businesses/Industries that can benefit from this API parameter:
- Airlines: Managing ticket sales with frequently changing prices.
- Hotels: Handling bookings with dynamic pricing.
- E-commerce: Managing flash sales and limited-time offers.
- Event Management: Selling tickets for events with specific timeframes.
- Subscription Services: Ensuring timely payments for subscription renewals.
- Retail: Managing inventory for high-demand products.
Limitationsโ
- The value must be specified as an integer representing minutes. Fractional values are not supported.
How to Use?โ
In order for you to start use the paypage_ttl parameter, you kindly need to follow the below simple steps:
- Within the initiation of the request payload of the payment integration, you will use the parameter
paypage_ttlwithin the main request payload itself as shown below:{
"paypage_ttl": 1
} - Once you post your request, you will receive a response that includes the
redirect_urlof the payment page that will need to direct the customer to complete the payment process, and will expire after the provided time session pass{
...
"redirect_url": "https://secure.paytabs.com/payment/page/599458B1826B**************B4818688",
....
}
Parameter Specificationsโ
-
paypage_ttlParameter paypage_ttlDescription Indicates the Hosted Payment Page's session expiry in minutes. Data Type INT Required