Tuesday, November 25, 2008

Amazon Flexible Payments Service

Key features include

  • Send and receive money using credit card, bank account or Amazon Payments balance transfer as payment methods.
  • Create “Payment Instructions” to define conditions and constraints desired for a given transaction, and programmatically obtain payment authorizations or “tokens” that represent these Payment Instructions from customers.
  • Execute one-time, multiple, or recurring payments on behalf of customers.
  • Aggregate micro-transactions into a single larger transaction using Prepaid and Postpaid capabilities.
  • Integrate Amazon FPS into your website in minutes with Amazon Simple Pay, a set of copy-and-paste HTML buttons.
  • Build payment applications where you are neither the sender nor the recipient of funds. You can build marketplace applications that enable the movement of money between two third parties. Try Amazon Simple Pay Marketplace.
  • View account balances, transaction histories, and transaction details on the Amazon Payments web site.
  • Utilize the Amazon FPS sandbox to build and test applications without using real money or incurring any transaction charges.

References

General Process

  1. Generate a caller token(Needed once for each application)
  2. Generate a recipient token
  3. Generate a co-branded UI url with caller and recipient token
  4. Redirect to Amazon with a generated co-branded UI url
  5. Amazon will redirect to your web site with a sender token
  6. Execute Payment using caller, recipient and sender token

Sample Source Code and API can be found here

Plugins

There are 2 plugins amazon_fps_foo and remit. I could not find much documentation for amazon_fps_foo.

Remit

Remit uses a REST implementation of Amazon Flexible Payments Service (FPS).

There is an example for a "simple" implementation of a "marketplace" charge (one in which you are charging a client for a
product on behalf of another party): http://gist.github.com/46941

Testing

You can check your code with out flowing real money. Sandbox is the test server for checking your code regarding FPS.

Developer Resources

Additional Product Information

No comments: