- CFAmazon SlideShare Overview
- Creating an Amazon Payments Seller Account
- Using ColdFusion with Amazon Payments
CFAmazon is a collection of ColdFusion code wrappers and examples designed to get you started with different Amazon web services. It was originally created by Corey Butler to simplify working with the Amazon Payments API and Merchant Web Services.
This library contains component wrappers for Checkout By Amazon. It can be used for:- Signing XML Carts: Checkout By Amazon uses XML-based carts, which must be signed and transmitted securely. The cart.cfc object provides simple CF methods for creating a cart, modifying its contents, generating the XML, and signing the cart.
- Instant Payment Notification: Examples for using IPN are included. IPN is used to notify you of new orders, cancellations, and other events you may want to respond to. This is commonly used for logging orders in your own system, integrating with other systems, or providing any additional custom functionality to the order process.
- Using the Callback API: The Order Callback API is used to dynamically calculate taxes, shipping methods/rates, and apply custom promotional discounts.
This part of the library is in active development. Due to the size, we are requesting feedback to know how people are using it before finalizing this part of the library.
The source code and all of the examples are dependent on your configuration. I use a build file that does a simple find/replace across all files. The following legend is provided for clarification:
@ID: ACCESSKEY
@SECRET: SECRETKEY
@MERCHANT: Merchant ID (ex: AEIOU1234AEIOU)
@MERCHANTTOKEN: Merchant TOKEN
@EMAILTO:IPN Notification receipient email address (demo purposes only)
@EMAILFROM:IPN Notification sender email address (demo purposes only)
@CALLBACKURL:The URL used in he Callback API
Please see the wiki for more information.