title: PayPal Subscriptions: validating success on a server
body: <p>I apologize in advance for this question, as its probably rather silly, but I really can not find any answers elsewhere.</p>
  <p>My current goal is to integrate a subscription to my website, that allows for a user to have access to certain parts of the site.</p>
  <p>I've watched a few videos on it, but it leaves me open ended with some questions.</p>
  <p>PayPal allows you to manually create a subscription plan at <a href="https://www.paypal.com/billing/plans" rel="nofollow noreferrer">https://www.paypal.com/billing/plans</a>. When you create a plan here, it gives you the code you need to get the pay pal sub buttons to display on the page. Users can then use them to create the subscription. This is great. However, I have found now way to validate the results of the transaction. My goal would be that if the user was successful, I would be able to retrieve data via the API, that says it was successful, and I could then store than information in my database, and grant them access. Does anyone know how to get the data from the manually created facebook plans?</p>
  <p>I did watch a video that had you do everything from your website (you create it all within your own code), the end result however sent everything through $_GET variables in the url. I feel like having this data exposed could result in the manipulation of the subscription, and grant it to users who were unsuccessful in creating a subscription.</p>
  <p>I have no problem doing all of the coding to make this work, but I really want to make sure I do it the best possible way.</p>