GithubHelp home page GithubHelp logo

cfamazon's Introduction

About CFAmazon

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.

Checkout By Amazon (CBA)

This library contains component wrappers for Checkout By Amazon. It can be used for:
  1. Signing XML Carts:
  2. 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.
  3. Instant Payment Notification:
  4. 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.
  5. Using the Callback API:
  6. The Order Callback API is used to dynamically calculate taxes, shipping methods/rates, and apply custom promotional discounts.

Marketplace Web Services

This library contains component wrappers for the MWS services from Amazon. This is a prerelease version supporting feed submissions, reports, and scheduling. To install, simply drop the com folder in your webroot. Make sure you modify the examples to use your own merchant ID, marketplace, access key, security key, etc. For convenience, modify mws-config.cfm (found in the mws examples) and all of the examples should work. For feed submissions, make sure you are using valid XML according to the XSD specifications provided by Amazon.
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.

Reading the code


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.

cfamazon's People

Contributors

coreybutler avatar ecorgroup avatar mentatjack avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.