Function Hook_payment_gateway_authorize->_set_arb_parameters
Definitions
sources/hooks/systems/payment_gateway/authorize.php
- This function defines the parameters needed to make an ARB (Automated Recurring Billing) call.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$card_type | SHORT_TEXT | required parameter | N/A | N/A | Card Type |
$card_number | SHORT_TEXT | required parameter | N/A | N/A | Card number |
$card_start_date | SHORT_TEXT | required parameter | N/A | N/A | Card Start date (blank: none) |
$card_expiry_date | SHORT_TEXT | required parameter | N/A | N/A | Card Expiry date (blank: none) |
$card_cv2 | SHORT_TEXT | required parameter | N/A | N/A | Card CV2 number (security number) |
$start_date | SHORT_TEXT | required parameter | N/A | N/A | Start date |
$length | ?integer | required parameter | N/A | N/A | The subscription length in the units. (null: not a subscription) |
$length_units | ?ID_TEXT | required parameter | N/A | N/A | The length units. (null: not a subscription) |
$trans_expecting_id | ID_TEXT | required parameter | N/A | N/A | Transaction ID |
$amount | float | required parameter | N/A | N/A | Transaction amount |
$billing_firstname | SHORT_TEXT | required parameter | N/A | N/A | Cardholder first name |
$billing_lastname | SHORT_TEXT | required parameter | N/A | N/A | Cardholder last name |
$billing_street_address | LONG_TEXT | required parameter | N/A | N/A | Street address (billing, i.e. AVS) |
$billing_city | SHORT_TEXT | required parameter | N/A | N/A | Town/City (billing, i.e. AVS) |
$billing_state | SHORT_TEXT | required parameter | N/A | N/A | State (billing, i.e. AVS) |
$billing_post_code | SHORT_TEXT | required parameter | N/A | N/A | Postcode/Zip (billing, i.e. AVS) |
$billing_country | SHORT_TEXT | required parameter | N/A | N/A | Country (billing, i.e. AVS) |
$shipping_firstname | SHORT_TEXT | required parameter | N/A | N/A | First name (shipping) |
$shipping_lastname | SHORT_TEXT | required parameter | N/A | N/A | Last name (shipping) |
$shipping_street_address | LONG_TEXT | required parameter | N/A | N/A | Street address (shipping) |
$shipping_city | SHORT_TEXT | required parameter | N/A | N/A | Town/City (shipping) |
$shipping_state | SHORT_TEXT | required parameter | N/A | N/A | State (shipping) |
$shipping_post_code | SHORT_TEXT | required parameter | N/A | N/A | Postcode/Zip (shipping) |
$shipping_country | SHORT_TEXT | required parameter | N/A | N/A | Country (shipping) |
$shipping_email | SHORT_TEXT | required parameter | N/A | N/A | E-mail address (shipping) |
$shipping_phone | SHORT_TEXT | required parameter | N/A | N/A | Phone number (shipping) |