PayPal Hacks. 100 Industrial-Strength Tips and Tools Free Open Book

PayPal Hacks. 100 Industrial-Strength Tips and Tools

Previous Section  < Day Day Up >  Next Section

Hack 22 Quick-Link to Transaction Details

figs/beginner.gif figs/hack22.gif

View the details of past purchases and sales without having to wade through the PayPal history listings.

If you buy and sell a lot with PayPal, you undoubtedly often need to look up past transactions in order to get the payment status, shipping address, customer notes, and other details, as well as issue refunds. Unfortunately, getting to the details of past transactions can be laborious, requiring that you click through three or four screens before you can search for a payment by transaction ID.

The good news is that there's a better way. PayPal provides a special URL that takes you directly to a payment's details page. You might have seen links like this in confirmation emails, where xxxxxxxxxxxxx is the transaction ID:

https://www.paypal.com/vst/id=xxxxxxxxxxxxx

For example:

https://www.paypal.com/vst/id=4WC420852U475861R

Click the link in the email or type it into your browser's address bar, and you'll be sent straight to the payment details for the specified transaction ID (after logging in, if necessary).

Whenever you click on a link that takes you to a PayPal page, you should make sure that https://www.paypal.com/ is then displayed in your web browser's address box (the s in https is especially important). Otherwise, you might unwittingly try to log into a spoof site—one that looks like PayPal, but exists only to divert your login information to an unauthroized third party.


3.10.1 Where to Get Transaction IDs

Since transaction IDs are the definitive way to reference a payment on PayPal, you'll see them in a lot of places at PayPal:

  • The Payment Details page, shown immediately after making a payment or in both PayPal History logs (for both buyers and sellers)

  • Downloaded logs obtained from the PayPal History page

  • Payment confirmation emails, such as "Receipt for your Payment" emails (for buyers) and "Notification of an Instant Payment Received" emails for eBay sellers

  • Instant Payment Notifications (IPNs) [Hack #65]

  • Payment Data Transfers (PDTs) [Hack #85]

If you're developing with the PayPal Web Services API, see Chapter 8 for several ways to obtain and use PayPal transaction IDs.


This technique works for both the sender and the recipient who are looking up the payment details by either transaction ID. It's also common for the other person involved in a payment to reference the transaction ID when emailing or calling you to inquire about an order.

One thing to watch out for is that PayPal assigns a different transaction ID to the sender and recipient of a transaction. This can sometimes be confusing when, for example, you look up a transaction using an ID given to you by the payment sender and you see a different transaction ID on the Payment Details page.

You will, of course, not be able to see the details for a payment that you weren't involved in!

3.10.2 Making a Web Interface

Once you have the transaction ID or a list of IDs, you can write a script to output a list of links that you (or your customers) can use to easily get to the transaction details page for each payment:

<html>

<body>

<a href="https://www.paypal.com/vst/id=4WC420852U475861R">4WC420852U475861R</a>

<a href="https://www.paypal.com/vst/id=93H8WR41HAV710IU9">93H8WR41HAV710IU9</a>

</body>

</html>

Or, create a simple web-based tool that includes an ID field and a Submit button, allowing you to look up a single transaction without having to remember the aforementioned URL:

<html><body>

<form action="https://www.paypal.com/cgi-bin/webscr">

<input type="hidden" name="cmd" value="_vst">

Transaction ID: <input type="text" name="id" value="">

<input type="submit" value="Get Details">

</form>

</body></html>

See [Hack #52] for a way to obtain the transaction ID programmatically (necessary to create a web interface like this one). Of course, the slickest way to do it is with the PayPal Web Services API [Hack #94] .

    Previous Section  < Day Day Up >  Next Section
    Index: [SYMBOL][A][B][C][D][E][F][G][H][I][J][L][M][N][O][P][Q][R][S][T][U][V][W][X][Y]


         Main Menu
    PayPal Hacks
    Table of Contents
    Copyright
    Credits
    Preface
    Chapter 1. Account Management
    Chapter 2. Making 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
    Chapter 5. Storefronts and Shopping Carts
    Chapter 6. Managing Subscriptions
    Chapter 7. IPN and PDT
    Chapter 8. The PayPal Web Services API
    Colophon
    Index


    More Books
    PHP Hacks
    Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
    The Koran (Holy Qur'an)
    Macromedia Flash 8 Bible
    Search Engine Optimization for Dummies
    YouTube Traffic
    PHP 5 for Dummies
    Harry Potter and The Chamber of Secrets
    Harry Potter and the Sorcerer's Stone
    The Pilgrim's Progress
    Wireless Hacks
    Flash Hacks. 100 Industrial-Strength Tips & Tools
    PayPal Hacks. 100 Industrial-Strength Tips and Tools
    Amazon Hacks
    Pdf Hacks
    The Da Vinci Code
    Google Hacks
    The Holy Bible
    Windows XP For Dummies
    Harry Potter and the Half-Blood Prince
    Seo Book
    Upgrading and Repairing Networks
    Macromedia Dreamweaver 8 UNLEASHED
    Windows XP Annoyances
    Windows XP Hacks
    Microsoft Windows XP Power Toolkit
    Teach Yourself MS Office In 24Hours
    iPod & iTunes Missing Manual
    PC Hacks 100 Industrial-Strength Tips and Tools
    PC Overclocking, Optimization, and Tuning - 2th Edition
    PC Hardware In A Nutshell 3rd Edition
    PC Hardware in a Nutshell, 2nd Edition
    Upgrading and Repairing PCs
    Google for Dummies
    MySQL Cookbook
    Teach Yourself Macromedia Flash 8 In 24 Hours
    PHP CookBook
    Sams Teach Yourself JavaScript in 24 Hours
    PHP5 Manual
    Free Games Paper Airplanes
    500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele