Learn How to Make the Most of Paypal to Get the Most out of Your Online Business Or Transactions
Total Page:16
File Type:pdf, Size:1020Kb
< Day Day Up > • Table of Contents • Index • Reviews • Reader Reviews • Errata • Academic PayPal Hacks By Dave Burchell, David Nielsen, Shannon Sofield Publisher: O'Reilly Pub Date: September 2004 ISBN: 0-596-00751-5 Pages: 368 Learn how to make the most of PayPal to get the most out of your online business or transactions. From how to take steps to protect yourself while buying and selling on eBay to using PayPal on your own site to handle subscriptions, affiliations, and donations,PayPal Hacks provides the tools and details necessary to make PayPal more profitable, more flexible, and more convenient. < Day Day Up > < Day Day Up > • Table of Contents • Index • Reviews • Reader Reviews • Errata • Academic PayPal Hacks By Dave Burchell, David Nielsen, Shannon Sofield Publisher: O'Reilly Pub Date: September 2004 ISBN: 0-596-00751-5 Pages: 368 Copyright Credits About the Authors Contributors Acknowledgments Preface Why PayPal Hacks? Getting Started with the Code in This Book Database Coding and Platform Choices Further Study How to Use This Book How This Book Is Organized Conventions Used in This Book Using Code Examples How to Contact Us Got a Hack? Chapter 1. Account Management Introduction: Hacks #1-9 Hack 1. Create a PayPal Account Hack 2. Verify Your PayPal Account Hack 3. Confirm Your Mailing Address Hack 4. Pay When You've Forgotten Your Password Hack 5. Restore Your Account if It Has Been Limited Hack 6. Create a Separate Login for Each Employee Hack 7. Access Member Information Hack 8. Manage PayPal Email Hack 9. Get Help from PayPal Chapter 2. Making Payments Introduction: Hacks #10-16 Hack 10. Send Money to Anyone Hack 11. Choose How to Fund Payments Hack 12. Use Your PayPal Funds Anywhere Hack 13. Pay from a Cell Phone Hack 14. Pay Seller Fees when Buying Hack 15. Send Money Without Creating a PayPal Account Hack 16. Dispute Merchandise Payments Chapter 3. Selling with PayPal Introduction: Hacks #17-27 Upgrade to Business Class Set Your Payment Receiving Preferences Identify Yourself to Your Customers Hack 17. Request Money the PayPal Way Hack 18. Ask for Money in Your Own Way Hack 19. Request Money Without an Account Hack 20. Get Your Money Hack 21. Refund a Payment Hack 22. Quick-Link to Transaction Details Hack 23. Lower Your Seller Fees Hack 24. Protect Yourself from Buyer Fraud Hack 25. Protect Yourself from Chargebacks Hack 26. Avoid Chargebacks on Digital Goods Hack 27. Handle Merchandise Disputes Effectively Chapter 4. Payment Buttons Introduction: Hacks #28-44 Hack 28. Create a Buy Now Button Hack 29. Use a Custom Button Image Hack 30. Create a Purchase Button for Services Hack 31. Create an Auction Payment Button Hack 32. Provide Purchase Options with Drop-Down Listboxes Hack 33. Include More Than Two Option Fields Hack 34. Override Shipping and Handling Preferences Hack 35. Build Notification Tracking Hack 36. Hack-Proof Your Payment Hack 37. Hack-Proof Your Buttons with Encryption Hack 38. Include Payment Buttons in Email Messages Hack 39. Hide Your Email Address from Spammers Hack 40. Accept Donations Hack 41. PayPal-Enable Your Flash Hack 42. Get More Out of Dreamweaver and PayPal Hack 43. Provide Options with ASP.NET Web Controls Hack 44. Try Accepting Payments in a Bogus Currency Chapter 5. Storefronts and Shopping Carts Introduction: Hacks #45-50 Hack 45. Hack Shopping Cart Buttons Hack 46. Create Shopping Cart Links Hack 47. Specify the Size of the Shopping Cart Window Hack 48. Deal with Design and Layout Issues Hack 49. Put Both Cart Buttons in One Form Hack 50. Integrate a Third-Party Shopping Cart with PayPal Hack 51. Customize Checkout Pages Hack 52. Display the Merchant Transaction ID on Your Return Page Hack 53. Remember Your Customers Hack 54. Create a Dynamic Storefront Hack 55. Add Dynamic Storefront Details Hack 56. Insert Dynamic Images Hack 57. Build an Order-Tracking Page Hack 58. Offer Discount Coupons Hack 59. Increase Search Engine Exposure Hack 60. Sell Digital Goods with PayLoadz Chapter 6. Managing Subscriptions Introduction: Hacks #61-64 Hack 61. Sell Subscriptions to Your Online Content Hack 62. Offer Tiered Subscriptions Hack 63. Time Your Subscriptions to End on Specific Dates Hack 64. Manage Subscription Passwords the Easy Way Chapter 7. IPN and PDT Introduction: Hacks #65-86 What IPN and PDT Are How IPN Works Advantages of PDT Hack 65. Receive Instant Payment Notifications Hack 66. Troubleshoot Instant Payment Notifications Hack 67. Send a Purchase Confirmation Email with IPN Hack 68. Process Shopping Carts with IPN Hack 69. Use IPN with eBay Listings Hack 70. Track Your eBay Products with IPN Hack 71. Deliver Digital Goods with IPN Hack 72. Deliver Digital Goods with a Return Page Hack 73. Implement Price Checking with IPN Hack 74. Provide an Order Summary with IPN Hack 75. Upsell Your Customers Hack 76. Enable Multiple IPN Pages Hack 77. Use Mass Pay to Create an Affiliate System Hack 78. Manage Your Inventory with IPN Hack 79. Display Donation Goals on Your Web Site Hack 80. Display a Recent Donor List Hack 81. Capture Customer Information with IPN Hack 82. Insert Payment Details into a Database with IPN Hack 83. Insert Cart Details into a Database Hack 84. Track Google Referrals Hack 85. Process Payments like a Credit Card with PDT Hack 86. Synchronizing PDT and IPN Chapter 8. The PayPal Web Services API Introduction: Hacks #87-100 Section 8.2. Create a Developer Account Hack 87. Set up the Sandbox Hack 88. Make Your First API Call Hack 89. Create a Wrapper Class for Your API Calls Hack 90. Use the PayPal API Wrapper Class Hack 91. Refund Payments with the API Hack 92. Handle Transaction Errors within the API Wrapper Hack 93. Retrieve Transaction Details with the API Hack 94. Search for PayPal Transactions Hack 95. Hack the API Wrapper Hack 96. Issue Payments en Masse with the Mass Pay API Hack 97. Pay Affiliates and Suppliers on a Schedule Hack 98. Search eBay for Listings that Accept PayPal Hack 99. Test IPN and PDT in the Sandbox Hack 100. Go Live Colophon Index < Day Day Up > < Day Day Up > Copyright © 2004 O'Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc. The Hacks series designations, PayPal Hacks, the image of a money changer, "Hacks 100 Industrial-Strength Tips and Tools," and related trade dress are trademarks of O'Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. Small print: The technologies discussed in this publication, the limitations on these technologies that technology and content owners seek to impose, and the laws actually limiting the use of these technologies are constantly changing. Thus, some of the hacks described in this publication may not work, may cause unintended harm to systems on which they are used, or may not be consistent with applicable user agreements. Your use of these hacks is at your own risk, and O'Reilly Media, Inc. disclaims responsibility for any damage or expense resulting from their use. In any event, you should take care that your use of these hacks does not violate any applicable laws, including copyright laws. < Day Day Up > < Day Day Up > Credits About the Authors Contributors Acknowledgments < Day Day Up > < Day Day Up > About the Authors Shannon Sofield is the personification of a hack: he takes anything that is supposed to do one thing and manipulates it to serve his own purposes, in both his life as a developer and his life in general. If it was originally supposed to do one thing, he probably has it doing something entirely different. Shannon began creating PayPal solutions more than three years ago using his original database- driven PayPal purchase system that integrated with Macromedia Dreamweaver UltraDev. Since then, he has gone on to implement unique fixes for common eCommerce problems using PayPal. He has written several tutorials and articles and has spoken on the topic of using PayPal in new ways. One of the first members of the PayPal Developer Network, he was added to the PayPal Developer Network Advisory Boards on its inception. He also served several terms as a member of Team Macromedia for their web development program Dreamweaver, which he uses in his daily PayPal development. His technical background extends back to the initial Internet boom, when he began picking up simple web design that evolved into web planning and programming using a variety of technologies, languages, and databases. Currently, he manages the PayLoadz Digital Goods eCommerce system that allows merchants to sell digital goods securely with PayPal. One of the first and most successful third-party solutions for PayPal, this system made headlines when it launched Madonna's "American Life" single higher on the Billboard music charts than any previous digital single (and he did it before selling digital music was cool).