Firstly, navigate to the Payment Links page as shown, where you will find a list of all available links.
Next, click on "Add Payment Link" to create a new payment link.
You can create a new payment link as shown below.
In the "Create Payment Link" section, you can choose the Payment Type as either Single or Multiple, along with the Expiry Date of the payment link.
The payment link will automatically expire when selecting the Single payment type. Selecting the Multiple payment type will allow the user to use that link multiple times for payment.
Finally, your Payment Link is ready to receive payment. Click the Save button to create your payment link.
Note: Both of the payment type will automatically been expired if you select expiry date.
MODIFY PAYMENT LINK
You can modify and delete the payment link as shown below. You can also directly copy the payment link from the listing. Additionally, by clicking the "Export Excel" button, you can export the available payment links into an Excel file.
SHARE PAYMENT LINK
You can share the Payment Link on multiple platforms such as email, SMS, Facebook, Telegram, Twitter, and WhatsApp by clicking a button. The payment link will be automatically shared to the selected platform using this button.
Bypass checkout page (Optional)
Important: In order to bypass the checkout page one should be PCI certified.
You can bypass our checkout page using a payment link by adding an additional query parameter, data, which contains the encrypted request parameters. Encryption Guide for Secure Data Transfer: 1. Obtain Your Secret Key
Get your Secret Key from the dashboard.
Generate a 256-bit encryption key
$key = hash('sha256', $secretKey, true); 2. Prepare and Sort Data
Collect all required fields and sort alphabetically by key:
$data = [
"first_name" => "John", //required
"last_name" => "Doe", //required
"phone_no" => "9874563215", //required
"email" => "Doe@mail.com", //required
"address" => "xyz", //required
"state" => "xyz", //required
"city" => "xyz", //required
"zip" => "123456", //required
"country" => "IN", //required
"type_id" => "1", //1 for Credit Card, 2 for Debit Card, 3 for UPI(provide customer_vpa), 4 for Wallet, 5 for Net banking.
"card_no" => "411111111111111", // Mandatory for Seamless transaction
"ccexpiry_month"=> "01", // Mandatory for Seamless transaction
"ccexpiry_year" => "2025", // Mandatory for Seamless transaction
"cvv_number" => "123", // Mandatory for Seamless transaction
"customer_vpa" => "test@hdfc", // when type_id is 3 and opted for upicollect
];
ksort($data); 3. Encrypt Data
Convert the sorted data to JSON format and encrypt using AES-256-CBC with a random IV:
$iv = openssl_random_pseudo_bytes(16);
$encrypted = openssl_encrypt(json_encode($data), 'AES-256-CBC', $key, 0, $iv);
4. Generate Payload
Combine IV and encrypted data with a pipe (|), then encode in base64
$payload = base64_encode($iv . '|' . $encrypted); 5. Append to Payment Link url
$finalUrl = $paymentLinkUrl . '&data=' . urlencode($payload); Note: Always use the query parameter name data.