Authorize.net
authorize
Allows you to securely process payments via Authorize.net This component only renders the button and hands the secure transaction via Authorize.net's accept.js module. The workflow for this component requires a bit more work than the Stripe or PayPal payment gateways. Unlike those elements, authorize
requires server side calls the the Authorize.net API to complete the transaction.
Version: >0.8.16
See https://developer.authorize.net/api/reference/features/acceptjs.html for workflow reference and deeper understanding of this component.
When the rendered button is clicked, a modal window is opened that will contain card capture information. This window is an iFrame and generated securely via the accept.js model. Once the payment information has been entered,
Credentials
You will need to obtain server sets of credentials from the authorize.net dashboard. See screen below for where to obtain the public apiLoginID
and clientID
keys.
Key | Value(s) | Type | Description |
---|---|---|---|
| authorize | string | |
| object | data model key name that will contain results of payment transactions returned from Authorize.net | |
| {} | object | credential object, |
| {} | object | PayPal defined styling of the button |
Response Hook
After the communication between the BetterForms browser app and Authorize.net api, a utility hook is automatically generated regardless if the card acquisition was successful. This is located in the hookPackage and also includes the elements schema.
Last updated