Amazon Simple Pay: "Standard\Donation\Marketplace" Widget Signing Utility in Ruby

Sample Code & Libraries>Ruby>Amazon Simple Pay: "Standard\Donation\Marketplace" Widget Signing Utility in Ruby
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

This is a simple Ruby code sample to create a dynamic Amazon Simple Pay Button.

Details

Submitted By: Abhay@AWS
AWS Products Used: Amazon FPS
Language(s): Ruby
License: Apache License 2.0
Created On: November 27, 2007 4:15 AM GMT
Last Updated: September 13, 2010 6:22 PM GMT
Download
Release Date: 2007-11-26

This is a simple Ruby code sample to create a dynamic Amazon Payments 'Pay Now' widget.

Prerequisites

  • You must have an Amazon Payments Sandbox Business Account.
  • You must have an Amazon Web Services developer account.
  • You must use the same email address and password for your Amazon Payments Business Account and your Amazon Web Services developer account.
  • You must have Ruby version 1.8.3 or later installed.

Using the Sample

  1. Sign into your Amazon Web Services developer account and retrieve your Access Key ID and Secret Access Key from here.
  2. Replace the value of the accessKey constant in the code sample with your Access Key ID.
  3. Replace the value of the secretKey constant in the code sample with your Secret Access Key.
  4. Run the code sample as a Ruby application.
  5. The code sample will output the HTML for the 'Pay Now' widget to the Console.
  6. You can now integrate this code into your website.
  7. Note: You cannot use your Amazon Payments Business Account as a buyer while testing your 'Pay Now' Widgets. You should create a new Amazon Payments account which you can use as a buyer.

Comments

using this method to pay for the items
I would like to order several books and to pay you by using this methio butthing is going through. What to I do to pay you by using this method? I don't have a bank account I acan't for everytine I order somenthing the paymemts are decleined. Please fix this issue so thant I can order more books. Thank you.CF. Fortuno Jr.
C. Fortuno Jr. on April 3, 2009 3:14 PM GMT
We are temporarily not accepting new comments.
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.