|
I have a client that would like to automate the process of their clients getting access to their "special content" by offering them instant access to it after they check out.
Currently they want to use a Paypal "But It Now" button which will redirect to a "success" page after it's complete. Initially, they will say "we'll create your account shortly" but eventually they want to automate that.
I believe paypal will post back a number of details back to that same page which I suspect is the start of what I would need to then have a module loaded on that page that reviews that data and creates an account for them. I suspect I would also need
to take transaction ID's etc from the server side and make an API call to paypal to validate the ID.
Anyone do anything similar? Any .Net wrappers around the paypal interface that you have used before?
I've obviously searched for a module and did some google searches and found a page that seems to be pretty straight forward:
http://www.codeproject.com/Articles/42894/Introduction-to-PayPal-for-C-ASP-NET-developers#PostPayment
The second piece of course is the account creation process in orchard upon that validation. It would need to create a new user likely a custom variable based through the paypal transaction, it would use the email from paypal and generate password that
will change on first login.
Anyone have any simple code to do this behind the scene in a module?
|