Support Database

Search Support Database:


Subject:Integration: Paypal Subscribe (Int.)
Category:
Keywords:Integration, Integrate, Paypal, subscriptions
  
Article:Generating registration codes for your customers using Paypal IPN for subscriptions is an easy and secure way to have registration codes delivered to your customers automatically after their subscription, and to disable registration codes automatically in the event of a subscription cancellation.

When we receive an IPN notification we immediately send it back to Paypal for verification. If paypal responds that the IPN is legitimate we act on it in the following way:

  • If the transaction type is subscr_signup we create a registration code for the customer based on the payer_email and Subscr_id values.

  • If the transaction type is subscr_cancel we look for an existing registration code based on the Subscr_id value and disable it.


  • Here is how it will work:
    -The customers tries your demo
    -They click your register button
    -They visit your checkout page with your Paypal Subscribe button
    -They subscribe successfully
    -They are automatically registered using the email address they paid with, and receive that information via email.

    First you will need to gather the following information:

  • Your User ID: this numeric code is available under the heading "ID:" on your My Account page.


  • Your PIN: this four digit alphanumeric code is available under the heading "PIN:" on your My Account page.


  • The Product ID of the product you want to register: this is available from the SoftLocker Client in the Product area.




  • Log in to your paypal account.

  • Click the Merchant Services tab followed by the Buy Now or Add To Cart button.


  • Under Accept Payments for: choose Subscriptions and recurring billing


  • Fill out the name, price and other relevant details for your subscription

  • Click the Step 3: Customize Advanced Features tab


  • Click Add advanced variables and enter the following information
    (note: the notify_url for subscriptions is different than for Buy Now buttons)

    • notify_url=http://www.softlocker.net/IPNsubs.asp

    • custom=[User ID]|[Pin]|[Product ID], for example:

    • custom=91|Ks7c|1219


    You're finished! Submit the form to create your button, then copy the generated code to your product's purchase URL. Now whenever a customer finishes checkout after using your Subscribe button they will automatically receive a registration code for their software. Additionally, when they cancel their subscription their registration code will be disabled automatically.

    If you would prefer to handle paypal IPN messages from your own server that is possible as well. See Integration: Your own server for more information.




    Home - SoftLocker.net Client - SoftLocker ListBuilder - Tutorials - Support - Privacy - Affiliates





    © 2009-2010 SoftLocker.net