Generate secure, single‑use Tierlock style links in.
Use this URL structure (replace placeholders with your credentials and values):
https://app.payken.io/tip/merchant_id=yourMerchantId&merchant_secret=yourMerchantSecret?display_name=DonationName&user_id=user@example.com&total=amount&type=tip&order_id=orderId
<a href="https://app.payken.io/tip/merchant_id=...&merchant_secret=...?display_name=...&user_id=...&total=...&type=tip&order_id=...">Donate Now</a>
<?php
echo '<a href="'.esc_url('https://app.payken.io/tip/merchant_id=...&merchant_secret=...?display_name=...&user_id=...&total=...&type=tip&order_id=...').'">' .
'Donate Now</a>';
?>
import React from 'react';
export default () => (
<a href="https://app.payken.io/tip/merchant_id=...&merchant_secret=...?display_name=...&user_id=...&total=...&type=tip&order_id=...">
Donate Now
</a>
);
After completion or cancellation, Tierlock redirects to your return URL with:
?status=SUCCESS|FAILED
&status_code=201|400
&transaction_id=TRANSACTION_ID
&order_id=YOUR_ORDER_ID
&amount=AMOUNT
&payment_type=tip
Use Tierlock’s API endpoints:
POST https://api.payken.io/api/v1/auth/getinvoiceusersdetails
Body:
{
"merchant_id":"yourMerchantId",
"merchant_secret":"yourMerchantSecret",
"user_info":"user@example.com",
"page":1
}
POST https://api.payken.io/api/v1/auth/paymentData
Body:
{
"merchant_id":"yourMerchantId",
"merchant_secret":"yourMerchantSecret",
"user_info":"user@example.com",
"id":"TRANSACTION_ID"
}
Contact support@tierlock.com for personalized assistance.