Table of Contents Previous Next Index

IPN Subscriptions Variables

IPN Subscriptions Variables
 
Subscriptions Variables
Along with other IPN variables, the following variables are included in Subscriptions IPNs.
subscr-failed
subscr-
cancel
subscr-
payment
subscr-signup
subscr-
modify
subscr_signup: subscription sign-up.
subscr_cancel: subscription cancellation.
subscr_failed: subscription payment failure.
subscr_payment: subscription payment.
subscr_eot: subscription’s end-of-term.
subscr_modify: subscription modification.
Start date or cancellation date depending on whether transaction is subscr_signupor subscr_cancel.
Time/Date stamp generated by PayPal , in the following format: HH:MM:SS DD Mmm YY, YYYY PST
subscr_
effective
Date when the subscription modification will be effective (only for txn_type = subscr_modify).
Time/Date stamp generated by PayPal , in the following format: HH:MM:SS DD Mmm YY, YYYY PST
(optional) Trial subscription interval in days, weeks, months, years (example: a 4 day interval is “period1: 4 D”).
Amount of payment for trial period 1 for USD payments; otherwise blank (optional).
Amount of payment for trial period 2 for USD payments; otherwise blank (optional).
Amount of payment for regular subscription period for USD payments; otherwise blank.
See table of supported currencies.
For non-payment subscriptions IPNs (i.e., txn_type= signup, cancel, failed, eot, or modify), this is the currency of the subscription. For payment IPNs, it is the currency of the payment (i.e., txn_type = subscr_payment)
Indicates whether reattempts should occur upon payment failures (1 is yes, blank is no).
(optional) Username generated by PayPal and given to subscriber to access the subscription.
(optional) Password generated by PayPal and given to subscriber to access the subscription (password will be encrypted).
Variables for Each Subscription Event
The following table shows which variables are associated and can be included in IPN posts with each subscription event type.
About payment_status and txn_type with Subscription IPN
In IPN messages posted by Subscription events, the payment_status variable is sent when a payment or refund occurs. For all other events, the pertinent variable is txn_type.
Payment
(USD)
Payment
(Multi-Currency)
subscr_
signup
subscr_
cancel
subscr_
modify
subscr_
failed
subscr_
eot
address_
country
subscr_
effective