Squiz Matrix
4.12.2
|
Definition at line 33 of file utransact_processor.inc.
__construct | ( | $username, | |
$password, | |||
$bgas_url, | |||
$transactions_url, | |||
$services_url | |||
) |
Constructor
string | $username | username of the UTransact account |
string | $password | password of the UTransact account |
string | $bgas_url | url to UTransact Bgas webservice |
string | $transactions_url | url to UTransact Transactions webservice |
string | $services_url | url to UTransact Services webservice |
Definition at line 289 of file utransact_processor.inc.
_getAuthSoapHeader | ( | $namespace | ) |
Get PgWebServiceAuthToken (authentication token) SOAP header
$namespace Namespace to set for the SOAP header
Definition at line 683 of file utransact_processor.inc.
_getTransactionDetails | ( | $result | ) |
Get the transaction details from the transaction response
string $result XML content returned by webservice
Definition at line 843 of file utransact_processor.inc.
_getTransactionErrors | ( | $result | ) |
Get the error info from the transaction respose
string $result XML content returned by webservice
Definition at line 793 of file utransact_processor.inc.
_getTransactionInvoiceNumber | ( | $result | ) |
Get the invoice number from the transaction respose
string $result XML content returned by webservice
Definition at line 822 of file utransact_processor.inc.
_refreshAuthToken | ( | ) |
Refreshes the authentication token
If existing token doesn't exist or has expired then set a new one
Definition at line 610 of file utransact_processor.inc.
_setSupportedCreditCardTypes | ( | ) |
Setup the credit card list supported by UTransact webservice
Definition at line 714 of file utransact_processor.inc.
addCartItem | ( | $application_username, | |
$name, | |||
$description, | |||
$quantity, | |||
$refund_type, | |||
$refund_expiry_date, | |||
$amount, | |||
$product_code, | |||
$financial_code, | |||
$financial_values, | |||
$additional_info | |||
) |
Add the cart item to the list
string | $application_username | |
string | $name | |
string | $description | |
int | $quantity | |
string | $refund_type | |
string | $refund_expiry_date | |
float | $amount | |
string | $product_code | |
string | $financial_code | |
string | $financial_values | |
string | $additional_info |
Definition at line 1526 of file utransact_processor.inc.
clearCart | ( | ) |
getAddressLine1 | ( | ) |
getAddressLine2 | ( | ) |
getCardExpiryMonth | ( | $month | ) |
getCardExpiryYear | ( | $year | ) |
getCardHolderName | ( | ) |
getCardTypes | ( | ) |
returns array of possible card types supported by gateway
public
Definition at line 1606 of file utransact_processor.inc.
getCartItems | ( | ) |
Returns the cart items
Definition at line 1568 of file utransact_processor.inc.
getCity | ( | ) |
getCreditCard | ( | ) |
Get credit card number
Definition at line 1047 of file utransact_processor.inc.
getCreditCardCV2 | ( | $cv2 | ) |
Get credit card cv2 number
Definition at line 1060 of file utransact_processor.inc.
getEmail | ( | ) |
getExpiryDate | ( | ) |
getFirstName | ( | ) |
getMerchantId | ( | ) |
getPaymentModel | ( | ) |
getPostcode | ( | ) |
getResponse | ( | ) |
Returns the gateway response array in standard format
This should be the format other gateways use to return their response
public
Definition at line 872 of file utransact_processor.inc.
getSuburb | ( | ) |
getSurname | ( | ) |
getTestCardNumbers | ( | ) |
Get array of valid card numbers for testing
public
Definition at line 1619 of file utransact_processor.inc.
getTransactionGstRate | ( | ) |
Return the GST rate set from the payment gateway
Definition at line 759 of file utransact_processor.inc.
getTransactionHandle | ( | ) |
Get unique transaction handle for the transation
This transaction handle has a very short lifetime (< 2 minutes)
Definition at line 569 of file utransact_processor.inc.
getTransactionReferenceNo | ( | ) |
Get transaction reference number
Definition at line 1034 of file utransact_processor.inc.
getWebserviceServicesURL | ( | ) |
Get URL for UTransact services webservice
Definition at line 899 of file utransact_processor.inc.
getWebserviceTransactionsURL | ( | ) |
Get URL for UTransact transactions webservice
Definition at line 885 of file utransact_processor.inc.
process | ( | ) |
setAdditionalInfo | ( | $additional_info | ) |
Set financial values
string | $additional_info |
Definition at line 1501 of file utransact_processor.inc.
setAddressLine1 | ( | $address_1 | ) |
Set address line 1
string | $first_name | First name |
Definition at line 1172 of file utransact_processor.inc.
setAddressLine2 | ( | $address_2 | ) |
Set address line 2
string | $first_name | First name |
Definition at line 1187 of file utransact_processor.inc.
setApplicationUserName | ( | $username | ) |
Set application username
string | $username |
Definition at line 1366 of file utransact_processor.inc.
setCardExpiryMonth | ( | $month | ) |
Set expiry date month
string | $month |
Definition at line 961 of file utransact_processor.inc.
setCardExpiryYear | ( | $year | ) |
Set expiry date year
string | $year |
Definition at line 976 of file utransact_processor.inc.
setCardHolderName | ( | $card_holder_name | ) |
Set card holder name
string | $card_holder_name |
Definition at line 991 of file utransact_processor.inc.
setCity | ( | $suburb | ) |
Set city
string | $first_name | First name |
Definition at line 1217 of file utransact_processor.inc.
setCreditCard | ( | $credit_card_no | ) |
Set credit card number
string | $credit_card_no |
Definition at line 915 of file utransact_processor.inc.
setCreditCardCV2 | ( | $cv2 | ) |
Set credit card cv2 number
string | $cv2 |
Definition at line 930 of file utransact_processor.inc.
setDescription | ( | $description | ) |
Set description
string | $description |
Definition at line 1396 of file utransact_processor.inc.
setEmail | ( | ) |
Set email
string | $first_name | First name |
Definition at line 1157 of file utransact_processor.inc.
setFinancialCode | ( | $financial_code | ) |
Set financial code
string | $financial_code |
Definition at line 1471 of file utransact_processor.inc.
setFinancialValues | ( | $financial_values | ) |
Set financial values
string | $financial_values |
Definition at line 1486 of file utransact_processor.inc.
setFirstName | ( | $first_name | ) |
Set first name
string | $first_name | First name |
Definition at line 1127 of file utransact_processor.inc.
setMerchantId | ( | $merchant_id | ) |
Set merchant id
int | $merchant | id |
Definition at line 1006 of file utransact_processor.inc.
setName | ( | $name | ) |
Set name
string | $name |
Definition at line 1381 of file utransact_processor.inc.
setPaymentModel | ( | $model | ) |
Set payment model
string | $model |
Definition at line 1021 of file utransact_processor.inc.
setPostcode | ( | $postcode | ) |
Set postcode
string | $first_name | First name |
Definition at line 1232 of file utransact_processor.inc.
setProductCode | ( | $product_code | ) |
Set product code
String | $product_code |
Definition at line 1456 of file utransact_processor.inc.
setQuantity | ( | $quantity | ) |
Set quantity
int | $quantity |
Definition at line 1411 of file utransact_processor.inc.
setReferenceId | ( | $ref_id | ) |
Set reference id
string | $ref_id |
Definition at line 1351 of file utransact_processor.inc.
setRefundExpiryDate | ( | $refund_expiry_date | ) |
Set refund expiry date
string | $refund_expiry_date |
Definition at line 1441 of file utransact_processor.inc.
setRefundType | ( | $refund_type | ) |
Set refund type
string | $refund_type |
Definition at line 1426 of file utransact_processor.inc.
setSuburb | ( | $suburb | ) |
Set suburb
string | $first_name | First name |
Definition at line 1202 of file utransact_processor.inc.
setSurname | ( | $surname | ) |
Set surname
string | $first_name | First name |
Definition at line 1142 of file utransact_processor.inc.
setTransactionReferenceNo | ( | $reference_no | ) |
Set transaction reference number
string | $reference_no |
Definition at line 946 of file utransact_processor.inc.