Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/macbookandrew/cf7-authorize-net/releases/download/v1.4.0/cf7-authorize-net.zipAdds 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
-
Install the plugin
-
Go to Settings > CF7→Authorize.net to set your API keys
-
Add credit card fields to your form (see below for a sample set)
-
Edit a form and go to the “Authorize.net” tab to set the payment settings
Credit Card InformationCredit 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
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.