Web Services
  Home arrow Web Services arrow Automated Billing and Faxing for the Web
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Automated Billing and Faxing for the Web
By: O'Reilly Media
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2007-08-23

    Table of Contents:
  • Automated Billing and Faxing for the Web
  • Starting the Transaction
  • Getting a Transaction Notification
  • Getting a Transaction Notification continued
  • Responding to the Transaction

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Automated Billing and Faxing for the Web


    (Page 1 of 5 )

    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.

    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

    More Web Services Articles
    More By O'Reilly Media


       · This article is an excerpt from the book "Real World Web Services," published by...
     

    Buy this book now. This article is excerpted from chapter six of the book Real World Web Services, written by Will Iverson (O'Reilly; ISBN: 059600642X). Check it out today at your favorite bookstore. Buy this book now.

    WEB SERVICES ARTICLES

    - 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
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...
    - WS Notification and WS Topics in the WS Reso...
    - Introducing the Implied Resource Pattern
    - Web Services and Stateful Resources
    - Deploying an EJB Application







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway