Create Subscription
Authorize.Net create a recurring subscription. To use actions list for webhook notifications please follow the instructions here to set up your notifications Your webhook endpoint url is: "{YourSiteUrl}/DesktopModules/DnnSharp/Common/WebHandlers/AuthorizeCreateSubscriptionHandler.ashx"
Parameter Reference
| Parameter | Description | Supports Tokens | Default |
|---|---|---|---|
| API Login ID | API Login ID and Transaction Key. These keys will authenticate requests to the payment gateway. Can contain My Tokens. | Yes | None |
| Transaction Key | API Login ID and Transaction Key. These keys will authenticate requests to the payment gateway. Can contain My Tokens. | Yes | None |
| Go Live | Enable this option to switch to Live Mode. By default, unchecked, Test Mode, the transaction will be posted to the Authorize.Net's test server. | No | None |
| Card Number | Credit card number. Can contain My Tokens. | Yes | None |
| Card CCV | Credit card CCV. Can contain My Tokens. | Yes | None |
| Subscription Name | Name of the subscription. Can contain My Tokens. | Yes | None |
| Subscription Amount | Amount of the subscription. This is the total amount and must include tax, shipping, and any other charges. Up to 15 digits with a decimal point (no dollar symbol. For example, 8.95. Can contain My Tokens. | Yes | None |
| Subscription Trial Amount | Optional. Amount of the trial subscription. This is the total amount and must include tax, shipping, and any other charges. Up to 15 digits with a decimal point (no dollar symbol. For example, 8.95. Can contain My Tokens. | Yes | None |
| Expiration Month | Credit card expiration month. Can contain My Tokens. | Yes | None |
| Expiration Year | Credit card expiration Year. Can contain My Tokens. | Yes | None |
| Interval Length | Subscription interval length. The interval length must be 7 to 365 days or 1 to 12 months. Can contain My Tokens. | Yes | None |
| Interval Unit | Subscription interval unit. Days or Months. Can contain My Tokens. | Yes | 0 |
| Total Occurrences | Total number of occurrences of the subscription. Number of billing occurrences or payments for the subscription. To submit a subscription with no end date (an ongoing subscription), this field must be submitted with a value of 9999. If a trial period is specified, this number should include the trial occurrences. Can contain My Tokens. | Yes | None |
| Trial Occurrences | Optional. Number of occurrences for the trial period of the subscription. If a trial period is specified, this number should include the trial occurrences. Can contain My Tokens. | Yes | None |
| First Name | First name of the subscription profile. Can contain My Tokens. | Yes | None |
| Last Name | Last name of the subscription profile. Can contain My Tokens. | Yes | None |
| Country | Optional. Country of the subscription profile. Can contain My Tokens. | Yes | None |
| State | Optional. State of the subscription profile. Can contain My Tokens. | Yes | None |
| City | Optional. City of the subscription profile. Can contain My Tokens. | Yes | None |
| Address | Optional. Address of the subscription profile. Can contain My Tokens. | Yes | None |
| Postal Code | Optional. Postal Code of the subscription profile. Can contain My Tokens. | Yes | None |
| Company | Optional. Company of the subscription profile. Can contain My Tokens. | Yes | None |
| Response Result Code TokenName | Optionally provide a token name where to store the result code. | No | None |
| Response Message TokenName | Optionally provide a token name where to store the response message. | No | None |
| Response SubscriptionId TokenName | Optionally provide a token name where to store the subscription id. | No | None |
| Response Customer ProfileId TokenName | Optionally provide a token name where to store the customer profile id. | No | None |
| Response Customer PaymentProfileId TokenName | Optionally provide a token name where to store the customer payment profile id. | No | None |
| Response Customer Address Id TokenName | Optionally provide a token name where to store the customer address id. | No | None |
| Response Ref Id TokenName | Optionally provide a token name where to store the ref Id. | No | None |
| Response SessionToken TokenName | Optionally provide a token name where to store the session token. | No | None |
| On Success | Define a list of actions that should execute when a transaction is successfully created. | No | None |
| On Error | Define a list of actions that should execute when this action's result is Error. | No | None |
| On Subscription Payment Created | Define a list of actions to be executed when Authorize.Net notifies you that a subscription has been created. | No | None |
| On Subscription Payment Updated | Define a list of actions to be executed when Authorize.Net notifies you that a subscription has been updated. | No | None |
| On Subscription Payment Suspended | Define a list of actions to be executed when Authorize.Net notifies you that a subscription has been suspended. | No | None |
| On Subscription Payment Terminated | Define a list of actions to be executed when Authorize.Net notifies you that a subscription has been terminated. | No | None |
| On Subscription Payment Cancelled | Define a list of actions to be executed when Authorize.Net notifies you that a subscription has been cancelled. | No | None |
| On Subscription Payment Expiring | Define a list of actions to be executed when Authorize.Net notifies you when a subscription has only one recurrence left to be charged. | No | None |