/cf7-authorize-net

Contact Form 7 to Authorize.net

Primary LanguageJavaScript

Contact Form 7 to Authorize.net

Contributors: macbookandrew Tags: contact form, contact form 7, cf7, contactform7, forms, form, payment, processing, credit card, merchant, Authorize.net, Visa, MasterCard, American Express Donate link: https://cash.me/$AndrewRMinionDesign Requires at least: 4.3 Tested up to: 4.7.2 Stable tag: 1.4.0 License: GPL2

Adds Authorize.net support to Contact Form 7 forms

Description

Adds Authorize.net support to Contact Form 7 forms, adding the capability to match specific form fields to Authorize.net payment fields.

Note: if downloading from source, you’ll need to build a release:

# Install the Authorize.net SDK
composer Install

# Install build tooling
npm install

# Minify assets
grunt
# That will start a watch process. Now modify a JS and a SCSS file to trigger the build step, then kill the grunt process.

Notes

Some fields are required by Authorize.net for the payment to go through:

  • Credit Card Number
  • Expiration Month
  • Expiration Year
  • CVV Code
  • Total Amount

Other fields may be required based on your Authorize.net settings:

  • Zip code
  • Billing address

A couple of fields have default values if you don’t explicitly set them (tip: use hidden fields if you don’t need them publicly available):

  • Order Description will default to the name of the contact form
  • Country will default to US

Installation

  1. Install the plugin

  2. Go to Settings > CF7→Authorize.net to set your API keys

  3. Add credit card fields to your form (see below for a sample set)

  4. Edit a form and go to the “Authorize.net” tab to set the payment settings

    Credit Card Information

    Credit Card [text* credit-card placeholder "xxxx xxxx xxxx xxxx"]

    Verification Code [number* cvv min:000 max:9999 placeholder "123"]

    Expiration Date [text* expiration-date placeholder "01/2018"]

Changelog

1.4.0

  • Update Authorize.net SDK

1.3.0

  • Add support for recurring/subscription billing (ARB)

1.2.0

  • Add frontend formatting for card number and expiration date fields
  • Add support for a combined expiration month/year field

1.1.3

  • Stop processing if field is set to be ignored

1.1.2

  • Fix function name conflict

1.1.1

  • Fix issue with all fields not being disabled if the form is ignored

1.1

  • Add support for shipping and order information
  • Fix billing information issues

1.0

  • First stable version