Premium Lite - Paypal callback

Hi — I am trying to understand the premium lite before I go live with it. Can you please explain how Paypal calls back to the plugin and how the purchase of tokens is inserted? Line numbers would be much appreciated.

Thanks in advance -- I think it's helpful to know exactly how messages flow when ecommerce is involved.