I'm building a web application (Java/Flex) that I hope to one day sell, but am aiming for a private beta to start with. I've been looking for some resources that explain the mechanics of processing a user's registration and payment, and then making the web app aware of that user's credentials and entitlement, but have yet to find anything.
I'm especially interested in the interaction between system that handles the sales and the web application itself, which needs to be aware of customers, their credentials, and their entitlements.
For example, if I buy a one-year subscription to WebAppXYZ, how does the shopping cart that took my payment tell WebAppXYZ that I exist, and that I'm entitled to this or that, and that my subscription is only valid for a year?
I'm pretty sure that I'm not googling with the right keywords, or don't recognize the solutions when I see them. Can anyone in the SO community give me a gentle push in the right direction?