Processing a Payment

The exact ColdFusion code you use to process payments will vary according to the payment-processing package you decide to use. Although multiple options are available to you, most require either setting up an account with a bank or providing a credit card to access the service. Because of this, the code use for the Orange Whip site will be fake. What do we mean by that? We simply mean that the code will accept common payment options (amount, credit card number, and so on), but will always return true. This approach is necessary because of the difficulty of setting up a “real” e-commerce connection. If you are interested in setting up a real payment process account, consider one of the following options:

  • Merchant Services ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.