Transaction Administration - Authorize Previous
Uses information from a previous transaction (except amount) to do a new authorization, so it does not need to be re-sent.
Variable | Required | Max Size | Notes |
publisher-name | Mandatory | NA | Gateway account username issued to you. |
publisher-password | Mandatory | NA | Remote Client Password - This is different then the password used to login. |
mode | Mandatory | NA | Value needs to be set to ‘authprev’ |
prevorderid | Mandatory | 20 | Original transaction’s transaction ID.Billing data only valid for 1 year from original transaction.Please update the stored orderID so only the most recent one is used. |
card-amount | Mandatory | NA | Format: 1234.56 - Total amount to be charged. |
transflags | Optional | NA | Used to indicate a special transaction processing type.Allowed Values:* ‘recurring’ to flag as being a recurring payment transaction. [Should not be used for initial sign-up transactions.] * ‘debt’ to flag as transaction type of Visa debt repayment. [Applicable to TSYS merchant bank processor with VISA cards only.] * ‘multicurrency’ to flag transaction as multi-currency for specific merchant processors. * ‘avsonly’ to flag transaction as verifying the address associated with the account. (This allows you to submit an amount of ‘0.00’). * ‘fleet’ to flag the card being used as a Petroleum Fleet Card. Applicable for Petroleum merchants only. |
Notes:
You may not use orderIDs from test authorizations or from any transaction over 1 year. Only live transactions, less then 1 year, may be used with the ‘authprev’ mode. Please update the stored orderID so only the most recent one is used.
Response Values - Authorize Previous
Variable | Value | Notes |
FinalStatus | success/problem/pending | Will return either ‘success’ or ‘pending’ (processor dependent) upon success. Will return ‘failure’ on failure. If reauthtype is sent, the response will either be success or failure. |
success | yes/no | Will return ‘success’ upon success or ’no’ upon failure. |
aux-msg | Aux message if applicable on success. | orderID has been successfully marked for settlement |
MErrMsg | Error message if applicable if applicable on failure. | No previous billing information found. Missing previous orderID. |