Home arrow Web Services arrow Automated Billing and Faxing for the Web
WEB SERVICES

Automated Billing and Faxing for the Web


If you do a lot of payment processing through PayPal, you can save some serious time by automating the process. This article will show you how. It is excerpted from chapter six of the book Real World Web Services, written by Will Iverson (O'Reilly; ISBN: 059600642X). Copyright 2006 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

Author Info:
By: O'Reilly Media
Rating: 5 stars5 stars5 stars5 stars5 stars / 6
August 23, 2007
TABLE OF CONTENTS:
  1. · Automated Billing and Faxing for the Web
  2. · Starting the Transaction
  3. · Getting a Transaction Notification
  4. · Getting a Transaction Notification continued
  5. · Responding to the Transaction

print this article
SEARCH DEVARTICLES

Automated Billing and Faxing for the Web
(Page 1 of 5 )

If you manage to successfully sell any quantity of items on the Internet, it's hard to imagine not setting up automated systems to help handle the workload. You see this sort of automation all of the time; for example, you expect an automated system to automatically send a confirmation email when an order has been placed. Upon occasion, however, you may not be fortunate enough to work with individuals that have access to the latest technologies, such as email and the Web (yes, for some people those are the latest technologies). For example, your manufacturing partner may not be up to speed. Even in those situations, you can still probably still rely on that old standby--the fax.

In this chapter, Ill show how to set up a system whereby you receive a payment notification from PayPal and respond by sending a fax containing the order information. PayPal is the well-known payment processing service, http://www.paypal.com/ (see Figure 6-1). For faxes, we'll be using the web services provided by InterFAX, http:// www.interfax.net/ (shown in Figure 6-2).

PayPals development offerings are all listed on the main page, but the specific technology we're interested in here is Instant Payment Notification (IPN), http://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/ipn-intro-outside. The idea is fairly straightforward: when a PayPal payment is received, the PayPal server sends a notification to a URL you specify. There is no specific developer sign up required to make use of the IPN functionality; you just use the standard PayPal account registration.

The fax services provided by InterFAX allow you to send faxes using any of a variety of technologies; in addition to SOAP, you can also use email. A free developer registration (http://www.interfax.net/en/dev/index.html) allows you to send test faxes to a single designated phone number for free (up to a $10 credit, which can be refreshed for free on request).


Figure 6-1.  PayPal instant payment notification web site


Figure 6-2.  InterFAX developer site


blog comments powered by Disqus
WEB SERVICES ARTICLES

- Dealing with Loose Coupling in a Service-Ori...
- Loose Coupling in a Service-Oriented Archite...
- Safety, Idempotence, and the Resource-Orient...
- The Resource-Oriented Architecture in Action
- Features of the Resource-Oriented Architectu...
- The Resource-Oriented Architecture
- Getting Started with Flex
- Automated Billing and Faxing for the Web
- An Introduction to Web Services
- The Foundations of Web Services: From Novice...
- Web Services Reengineering: Finishing Touches
- Fault Handling with Web Services
- Flow and Web Services
- Process Lifecycles and Web Services
- Business Processes and Web Services

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials