Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To make a short answer (as I'm not exactly sure what's the scope of your question).</p> <ol> <li>It's not paypal's job to maintain your data model. You need to create a database entry with your users.</li> </ol> <p>For an example of that, look Google's documentation at </p> <p><a href="http://code.google.com/appengine/docs/python/gettingstarted/usingusers.html" rel="nofollow">http://code.google.com/appengine/docs/python/gettingstarted/usingusers.html</a> and, more importantly, <a href="http://code.google.com/appengine/docs/python/gettingstarted/usingdatastore.html" rel="nofollow">http://code.google.com/appengine/docs/python/gettingstarted/usingdatastore.html</a></p> <p>So you could create, for example, data model of this sort:</p> <pre><code>class Users(db.Model): gae_user_object = db.UserProperty() premium_member = db.BooleanProperty(default=False) </code></pre> <p>(of course, since you want to track subscriptions, this would be way too limited but you can get the idea).</p> <p>and make the script called by Paypal trigger a function to change the value of *premium_member*...</p> <ol> <li>Yes, paypal instant payment notification will call your app (you can specify somewhere in Paypal interface what uri, so you can choose what to map it to, preferably using your https appspot subdomain). Your app will need to store what paypal just sent and, before officializing anything, call Paypal servers back with the parameters that were just sent to know if the first was truly made by Paypal and not someone else.</li> </ol> <p>To see a working example of that, check <a href="http://blog.awarelabs.com/2008/paypal-ipn-python-code/" rel="nofollow">http://blog.awarelabs.com/2008/paypal-ipn-python-code/</a> and <a href="http://groups.google.com/group/google-appengine-python/browse_thread/thread/d76701e774e308be" rel="nofollow">http://groups.google.com/group/google-appengine-python/browse_thread/thread/d76701e774e308be</a>, even if both these example sucks (it will probably work, but don't use them as is in production as you'll notably end up with real bad error management).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload