Skip to content

This application provides examples of how to use the Authorize.Net Accept products to integrate secure payment acceptance into your applications.

License

Notifications You must be signed in to change notification settings

AuthorizeNet/accept-sample-app

Repository files navigation

Accept Sample Application

This application provides examples of how to use the Authorize.Net Accept products to integrate secure payment acceptance into your applications.

Accept Screenshots

How to Use the Sample App

  • Clone or download this repo
  • Host the sample app in any web server supporting PHP like IIS (with PHP) or XAMPP (Apache web server with PHP). HTTPS (SSL) must be enabled for your website.
  • Set your authentication values by setting the ENVIRONMENT variables API_LOGIN_ID and TRANSACTION_KEY. For example, in httpd.conf:
SetEnv API_LOGIN_ID your_id
SetEnv TRANSACTION_KEY your_key

For IIS, you could set these in FastCGI Settings -> Environment Variables

Examples Included

Accept Customer

Accept Customer is the new name for Hosted CIM, part of our Customer Profiles API

The sample application shows how to:

  1. Incorporate the Manage Customer hosted page into your application (Profiles tab).
  2. Embed the hosted "Add/Edit Payment" page into your application as an iFrame (Payments tab).
  3. Pop up the hosted "Add/Edit Shipping" page in a light-box mode (Shipping tab).

Accept.js

Accept.js is a new integration option which allows you to leverage the full power of the Authorize.Net API while avoiding the PCI burden of credit card information hitting your servers. See our developer documentation for more details.

The sample application shows how to:

  1. Incorporate the Accept.js library into your existing payment flow (Home page, PAY button)

About

This application provides examples of how to use the Authorize.Net Accept products to integrate secure payment acceptance into your applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published