SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Jan 2008
    Location
    Shaw AFB
    Posts
    282
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PayPal Subscription & Cancellation

    Setting up an application that integrates with PayPal and accepting an initial payment seems like the easy part. I'm having trouble figuring out exactly how to create a way for my application to know that a user has cancelled their subscription.

    For example:
    User subscribes to a 30 day recurring subscription plan.
    User cancels at day 20. Still has 10 days remaining.
    At day 30, what exactly would have to happen to make sure he is not charged, and my application updates itself to know that the user is no longer authorized to access the content without a subscription?

    Would it be a daily cron job that talks to PayPal and asks if the subscription is still valid? Or would PayPal send notification to my application telling it that the subscription has been cancelled?

    Thanks!
    ~ Nate L ~

  2. #2
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,283
    Mentioned
    181 Post(s)
    Tagged
    4 Thread(s)
    Nate,
    If I recall correclty, PayPal sends a notification on a Cancellation (the termination of a subscription would be the same).
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •