Example Response
$_POST => [ 'event' => 'sales', 'mode' => 'live', 'payment_processor' => 'stripe', 'amount' => 9.99, 'buyer_ip' => '196.215.215.215', 'buyer_first_name' => 'Ruggero', 'buyer_last_name' => 'Sandri-Boriani', 'buyer_email' => 'ruggero@sandri.com', 'vendor_first_name' => 'Digital', 'vendor_last_name' => 'Kickstart', 'vendor_email' => 'support@digitalkickstart.com', 'transaction_id' => 'PK-TN0LNO7XWR', 'invoice_id' => 'PK-PZ1WK636WR', 'tracking_id' => 216, 'transaction_time' => 1469014598, 'product_id' => 2354, 'product_name' => 'SEO Snapshot - Main', 'campaign_id' => 215, 'campaign_name' => 'SEO Snapshot', 'affiliate_first_name' => 'Bob', 'affiliate_last_name' => 'Jones', 'affiliate_email' => 'bob@jones.com', 'affiliate_commission_amount' => 4.99, 'affiliate_commission_percent' => 50, 'ref_affiliate_first_name' => null, 'ref_affiliate_last_name' => null, 'ref_affiliate_email' => null, 'ref_affiliate_commission_amount' => null, 'ref_affiliate_commission_percent' => null, 'custom_var1' => 123, 'custom_var2' => 'email@user.com', 'licenses' => ['HPLD-XSQW-KDW3-8HTD', 'AWDF-XADWR-HYTF-4T7B'] 'verification_code' => 'e2288202ad23b877c3498a6db6214b5a417b75a4' ];
IPN Validation Function
PayKickstart’s Instant Payment Notification (IPN) is a message service that automatically notifies vendors of events related to PayKickstart transactions. Vendors can use it to automate back-office and administrative functions, including automatically creating users on apps, providing customers with their login credentials via email etc.
ARGUMENTS
event
- sales
- refund
- subscription-payment
- subscription-created
- subscription-cancelled
mode
- live
- test
payment_processor
- stripe
- paypaladaptive
- braintree*
- authnet*
* Braintree and Authorize.net are coming soon.
amount
The transaction amount
buyer_ip
buyer_first_name
buyer_last_name
buyer_email
vendor_first_name
vendor_last_name
vendor_email
transaction_id
The unique Paykickstart transaction ID
invoice_id
The unique Paykickstart purchase ID
tracking_id
The transaction’s Paykickstart affiliate’s tracking link id
transaction_time
The time when the transaction was generated, in UNIX timestamp format.
product_id
product_name
campaign_id
campaign_name
affiliate_first_name
affiliate_last_name
affiliate_email
affiliate_commission_amount
affiliate_commission_percent
ref_affiliate_first_name
ref_affiliate_last_name
ref_affiliate_email
ref_affiliate_commission_amount
ref_affiliate_commission_percent
custom_{field}
https://app.paykickstart.com/checkout/123?var1=123&var2=email@user.com
Continuing with the example above, we’d pass these custom variables back to you in the IPN POST, like this:
custom_var1 = 123
custom_var2 = ’email@user.com’
licenses
verification_code
Leave A Comment?