Amazon Simple Pay Module for OsCommerce

Sample Code & Libraries>Amazon Simple Pay Module for OsCommerce
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 the PHP code to integrate dynamic Amazon Payments "Pay Now" widget with OsCommerce.

Details

Submitted By: Abhay@AWS
AWS Products Used: Amazon FPS
Language(s): PHP
License: Apache License 2.0
Created On: March 17, 2008 7:27 AM GMT
Last Updated: September 22, 2010 5:51 PM GMT
Download
Release Date: 2008-03-17

This integrates the Amazon Payments PayNow widget with OsCommerce.

Prerequisites

  • You must have an Amazon Payments Sandbox and/or Production Business Account.
    • Click here to create a Sandbox Business Account if you do not have one.
    • Click here to create a Production Business Account if you do not have one.
  • You must have an Amazon Web Services developer account. Click here to create one.
  • 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 PHP version 5.1.1 or later installed
  • This has been tested with osCommerce Online Merchant v2.2 Release Candidate 1. Download now

Using the Sample

  1. Copy the directory structure as it is. This will give Amazon Payments as an option in your website.
  2. Go to the payment modules page under admin Eg. http://localhost/OSCommerce/catalog/admin/modules.php and enable (install) Amazon Payments module.
  3. Sign into your Amazon Web Services developer account and retrieve your Access Key ID and Secret Access Key from here.
  4. Edit the value of the AWS Access Key Id constant in the Amazon Payments configuration with your Access Key ID.
  5. Edit the value of the AWS Secret Access Key constant in the Amazon Payments configuration with your Secret Access Ke.y
  6. By default sandbox option is checked to allow testing.
  7. Change the order status accorting to your needs. It is set to "Pending" by default.
  8. Your osCommerce powered website is integrated Amazon Payments. Please do some testing before switching to the production server.
  9. Note: You cannot use your Amazon Payments Business Account as a buyer while testing your application. You should create a new Amazon Payments account which you can use as a buyer. Click here to create one.
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.