Skip to Main Content
Secure Development for Mobile Apps
book

Secure Development for Mobile Apps

by J. D. Glaser
October 2014
Intermediate to advanced content levelIntermediate to advanced
472 pages
10h 44m
English
Auerbach Publications
Content preview from Secure Development for Mobile Apps
413
seCure AjAx sHoPPIng CArt
Completing the PayPal Purchase
e main aspects of completing the purchase are:
Checking for the Token, which should match the one stored in session
Checking the PayerID
Checking the PayPal return status code
Checking if payment was made, or is pending
Recording the transaction into two tables
Do not release goods to the buyer if payment is pending. Only release goods if
payment was actually made. Record the details of the purchase as they are at the
time of purchase. Details like shipping address and user name may change later
and will not be the same. So if, for example, you record the user ID in order to
look up an address later, that information may not match what was used for the
actual purchase. F
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developing with Web Standards

Developing with Web Standards

John Allsopp
Mobile Cloud Computing

Mobile Cloud Computing

Dijiang Huang, Huijun Wu

Publisher Resources

ISBN: 9781482209037