Prev: Question about throttling the number of webservice calls froma .NET website
Next: Queston on Double Partial PostBack
From: Mark B on 16 Apr 2010 18:31 I want to have one PayPal button on our website in order to allow a user to access another area of our website for 1 year for $20. I have spent 3 hours so far trying to understand how to get PayPal to process a click on the button, take the user to the PayPal website to allow the user to pay then come back to our website. I am trying to figure out how to get PayPal to say the transaction went through successfully so that I can record the transaction as paid. I have SQL database "Transactions" table with UserEmail, TransactionCounterID, TransactionIDKey, TransactionDate, SubscriptionExpiryDate, DollarAmount. I thought if I could just get Paypal to redirect customers back to: htttp://www.mysite.com/payment_successful/default.aspx?TransactionCounterID=4532&TransactionIDKey=6dd70c49-f643-4b3d-aa8c-4fd12ad57c41 then I could handle the simple update on the database table. If anyone has some really simple code to do something like this I'd appreciate it (not the database update things internal to our site just the PayPal related stuff). I have had a look at quite a few online examples from PayPal but haven't been able to grasp the concepts -- they mention POST and GET activities which I haven't had experience with. For my specific case mentioned above, I am still trying to grasp the logic flow as it relates to PayPal. If anyone can provide some enlightenment and as a bonus some code to perform the activity I'd be grateful.
From: Scott M. on 17 Apr 2010 11:42
Have you tried reading the PayPal .NET API documentation? "Mark B" <none123(a)none.com> wrote in message news:ONinaSb3KHA.556(a)TK2MSFTNGP04.phx.gbl... >I want to have one PayPal button on our website in order to allow a user to >access another area of our website for 1 year for $20. > > I have spent 3 hours so far trying to understand how to get PayPal to > process a click on the button, take the user to the PayPal website to > allow the user to pay then come back to our website. I am trying to figure > out how to get PayPal to say the transaction went through successfully so > that I can record the transaction as paid. > > I have SQL database "Transactions" table with UserEmail, > TransactionCounterID, TransactionIDKey, TransactionDate, > SubscriptionExpiryDate, DollarAmount. > > I thought if I could just get Paypal to redirect customers back to: > > htttp://www.mysite.com/payment_successful/default.aspx?TransactionCounterID=4532&TransactionIDKey=6dd70c49-f643-4b3d-aa8c-4fd12ad57c41 > > then I could handle the simple update on the database table. > > If anyone has some really simple code to do something like this I'd > appreciate it (not the database update things internal to our site just > the PayPal related stuff). I have had a look at quite a few online > examples from PayPal but haven't been able to grasp the concepts -- they > mention POST and GET activities which I haven't had experience with. For > my specific case mentioned above, I am still trying to grasp the logic > flow as it relates to PayPal. If anyone can provide some enlightenment and > as a bonus some code to perform the activity I'd be grateful. > > > > > > > |