Giter VIP home page Giter VIP logo

aws_fps's Introduction

aws_fps
=======

WELCOME -----------------------------------------------------------------------

This adapted plugin was written by C. Scott Andreas of Phoreo, LLC. 
Contact: [email protected] | http://www.sunago.org | http://github.com/cscotta

This code is based on sample code provided by Amazon Technologies, Inc written
by "Philip@AWS" on 10/26/2007.  See here for the original example:
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1021


WARNING -----------------------------------------------------------------------

This plugin is not yet recommended for production use.  You're looking at a
very early release that should be considered either a sample implementation,
or a 'starter kit' for building a robust implementation of Amazon's FPS payment
service.

As such, you are STRONGLY encouraged to review the code within this plugin
before using it in any manner whatsoever.  If you find a bug, please report it
to the author, or better yet, write and submit a patch for the good of the
community.


DESCRIPTION -------------------------------------------------------------------

Provides methods for interfacing with Amazon's Flexible Payments Service (FPS).

Executing a successful Amazon FPS payment requres three tokens:
	- Caller token (your web application)
	- Sender token (person sending the payment)
	- Receiver token (person receiving the payment - you, or a third party)

This plugin allows you to generate caller and sender tokens via the FPS API
in addition to preparing a request for a receiver token using Amazon's
FPS Pipeline (a.k.a., CBUI/Co-Branded User Interface).  The plugin also
provides a method for executing a payment via the Query module.

Implementation of this plug-in is controller-heavy.  As such, a sample
controller with accompanying views is provided in the example/ folder.  To
see these examples in action, copy the contents of this folder to your
RAILS_ROOT/app folder, being careful not to overwrite your existing controllers
and views.  Once you're ready, browse to: http://localhost:3000/payment/


IMPLEMENTATION ----------------------------------------------------------------

1) Set up config/amazon_fps.yml.

After installing this plugin, you must first place a file called amazon_fps.yml
in your applications config directory (located at RAILS_ROOT/config).  See the
sample file located in examples/amazon_fps.yml.


2) Implement a payment controller.

Next, set up a controller to handle checkout and payment processing.  For an
example, see example/controllers/payment_controller.rb.  This example shows
how to generate tokens that can be used to process a recurring monthly
subscription.  Note that while a recurring subscription authorizes recurring
monthly transactions, you must process subsequent transactions yourself.
See here for more information:  http://is.gd/h6ae


3) Implement the appropriate views.

Along with your controller actions come views.  This is up to you as well, but
is not difficult.  See the example views provided in example/views/ for more
information.


LICENSE INFO ------------------------------------------------------------------

This code is based on sample code provided by Amazon Technologies, Inc written
by "Philip@AWS" on 10/26/2007.  See here for the original example:
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1021

This adapted plugin was written by C. Scott Andreas of Phoreo, LLC. 
Contact: [email protected] | http://www.sunago.org | http://github.com/cscotta

This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied.  Use of this plugin is entirely at your
own risk and discretion.  Neither Amazon nor Phoreo, LLC assume any
responsibility for misuse, fraud, financial or material loss, or loss/damages
of any other kind.  See the License for the specific language governing
permissions and limitations under the License.

See the LICENSE file for more information.

aws_fps's People

Stargazers

 avatar

Watchers

 avatar  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.