Tuesday, June 24, 2008

License renewal links - how to

During a meeting today we received a request to include into IPN (Instant Payment Notification) the license renewal link. The answer is very simple: the information is already there and the renewal link can be build very easy.

How the link looks like

Note: the COUPON parameter is optional and it is used to give a discount for the renewal order; the active discounts can be retreived by accessing the "Renewal discounts" section inside Avangate Control Panel.

How to get the necessary information
Along with the IPN communication, Avangate is sending the license information, including the "license code" which is used in the renewal link. The variable is called "IPN_LICENSE_REF"

Note: Please make sure that this variable is activated to be included in the IPN; to verify it, go to Avangate Control Panel > Account Settings > IPN settings

No comments: