shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

eway.php (9553B)


      1 <?php
      2 // Heading
      3 $_['heading_title']				= 'eWAY Payment';
      4 
      5 // Text
      6 $_['text_extension']			= 'Extensions';
      7 $_['text_success']				= 'Success: You have modified your eWAY details!';
      8 $_['text_edit']					= 'Edit eWAY';
      9 $_['text_eway']					= '<a target="_BLANK" href="http://www.eway.com.au/"><img src="view/image/payment/eway.png" alt="eWAY" title="eWAY" style="border: 1px solid #EEEEEE;" /></a>';
     10 $_['text_authorisation']		= 'Authorisation';
     11 $_['text_sale']					= 'Sale';
     12 $_['text_transparent']			= 'Transparent Redirect (payment form on site)';
     13 $_['text_iframe']				= 'IFrame (payment form in window)';
     14 
     15 // Entry
     16 $_['entry_paymode']				= 'Payment Mode';
     17 $_['entry_test']				= 'Test mode';
     18 $_['entry_order_status']		= 'Order status';
     19 $_['entry_order_status_refund'] = 'Refunded order status';
     20 $_['entry_order_status_auth']	= 'Authorised order status';
     21 $_['entry_order_status_fraud']	= 'Suspected Fraud order status';
     22 $_['entry_status']				= 'Status';
     23 $_['entry_username']			= 'eWAY API Key';
     24 $_['entry_password']			= 'eWAY password';
     25 $_['entry_payment_type']		= 'Payment Type';
     26 $_['entry_geo_zone']			= 'Geo Zone';
     27 $_['entry_sort_order']			= 'Sort order';
     28 $_['entry_transaction_method']	= 'Transaction Method';
     29 
     30 // Error
     31 $_['error_permission']			= 'Warning: You do not have permission to modify the eWAY payment module';
     32 $_['error_username']			= 'eWAY API Key is required!';
     33 $_['error_password']			= 'eWAY password is required!';
     34 $_['error_payment_type']		= 'At least one payment type is required!';
     35 
     36 // Help hints
     37 $_['help_testmode']				= 'Set to Yes to use the eWAY Sandbox.';
     38 $_['help_username']				= 'Your eWAY API Key from your MYeWAY account.';
     39 $_['help_password']				= 'Your eWAY API Password from your MYeWAY account.';
     40 $_['help_transaction_method']	= 'Authorisation is only available for Australian banks';
     41 
     42 // Order page - payment tab
     43 $_['text_payment_info']			= 'Payment information';
     44 $_['text_order_total']			= 'Total authorised';
     45 $_['text_transactions']			= 'Transactions';
     46 $_['text_column_transactionid'] = 'eWAY Transaction ID';
     47 $_['text_column_amount']		= 'Amount';
     48 $_['text_column_type']			= 'Type';
     49 $_['text_column_created']		= 'Created';
     50 $_['text_total_captured']		= 'Total captured';
     51 $_['text_capture_status']		= 'Payment captured';
     52 $_['text_void_status']			= 'Payment voided';
     53 $_['text_refund_status']		= 'Payment refunded';
     54 $_['text_total_refunded']		= 'Total refunded';
     55 $_['text_refund_success']		= 'Refund succeeded!';
     56 $_['text_capture_success']		= 'Capture succeeded!';
     57 $_['text_refund_failed']		= 'Refund failed: ';
     58 $_['text_capture_failed']		= 'Capture failed: ';
     59 $_['text_unknown_failure']		= 'Invalid order or amount';
     60 
     61 $_['text_confirm_capture']		= 'Are you sure you want to capture the payment?';
     62 $_['text_confirm_release']		= 'Are you sure you want to release the payment?';
     63 $_['text_confirm_refund']		= 'Are you sure you want to refund the payment?';
     64 
     65 $_['text_empty_refund']			= 'Please enter an amount to refund';
     66 $_['text_empty_capture']		= 'Please enter an amount to capture';
     67 
     68 $_['btn_refund']				= 'Refund';
     69 $_['btn_capture']				= 'Capture';
     70 
     71 // Validation Error codes
     72 $_['text_card_message_V6000']	= 'Undefined Validation Error';
     73 $_['text_card_message_V6001'] 	= 'Invalid Customer IP';
     74 $_['text_card_message_V6002'] 	= 'Invalid DeviceID';
     75 $_['text_card_message_V6011'] 	= 'Invalid Amount';
     76 $_['text_card_message_V6012'] 	= 'Invalid Invoice Description';
     77 $_['text_card_message_V6013'] 	= 'Invalid Invoice Number';
     78 $_['text_card_message_V6014'] 	= 'Invalid Invoice Reference';
     79 $_['text_card_message_V6015'] 	= 'Invalid Currency Code';
     80 $_['text_card_message_V6016'] 	= 'Payment Required';
     81 $_['text_card_message_V6017'] 	= 'Payment Currency Code Required';
     82 $_['text_card_message_V6018'] 	= 'Unknown Payment Currency Code';
     83 $_['text_card_message_V6021'] 	= 'Cardholder Name Required';
     84 $_['text_card_message_V6022'] 	= 'Card Number Required';
     85 $_['text_card_message_V6023'] 	= 'CVN Required';
     86 $_['text_card_message_V6031'] 	= 'Invalid Card Number';
     87 $_['text_card_message_V6032'] 	= 'Invalid CVN';
     88 $_['text_card_message_V6033'] 	= 'Invalid Expiry Date';
     89 $_['text_card_message_V6034'] 	= 'Invalid Issue Number';
     90 $_['text_card_message_V6035'] 	= 'Invalid Start Date';
     91 $_['text_card_message_V6036'] 	= 'Invalid Month';
     92 $_['text_card_message_V6037'] 	= 'Invalid Year';
     93 $_['text_card_message_V6040'] 	= 'Invalid Token Customer Id';
     94 $_['text_card_message_V6041'] 	= 'Customer Required';
     95 $_['text_card_message_V6042'] 	= 'Customer First Name Required';
     96 $_['text_card_message_V6043'] 	= 'Customer Last Name Required';
     97 $_['text_card_message_V6044'] 	= 'Customer Country Code Required';
     98 $_['text_card_message_V6045'] 	= 'Customer Title Required';
     99 $_['text_card_message_V6046'] 	= 'Token Customer ID Required';
    100 $_['text_card_message_V6047'] 	= 'RedirectURL Required';
    101 $_['text_card_message_V6051'] 	= 'Invalid First Name';
    102 $_['text_card_message_V6052'] 	= 'Invalid Last Name';
    103 $_['text_card_message_V6053'] 	= 'Invalid Country Code';
    104 $_['text_card_message_V6054'] 	= 'Invalid Email';
    105 $_['text_card_message_V6055'] 	= 'Invalid Phone';
    106 $_['text_card_message_V6056'] 	= 'Invalid Mobile';
    107 $_['text_card_message_V6057'] 	= 'Invalid Fax';
    108 $_['text_card_message_V6058'] 	= 'Invalid Title';
    109 $_['text_card_message_V6059'] 	= 'Redirect URL Invalid';
    110 $_['text_card_message_V6060'] 	= 'Redirect URL Invalid';
    111 $_['text_card_message_V6061'] 	= 'Invalid Reference';
    112 $_['text_card_message_V6062'] 	= 'Invalid Company Name';
    113 $_['text_card_message_V6063'] 	= 'Invalid Job Description';
    114 $_['text_card_message_V6064'] 	= 'Invalid Street1';
    115 $_['text_card_message_V6065'] 	= 'Invalid Street2';
    116 $_['text_card_message_V6066'] 	= 'Invalid City';
    117 $_['text_card_message_V6067'] 	= 'Invalid State';
    118 $_['text_card_message_V6068'] 	= 'Invalid Postalcode';
    119 $_['text_card_message_V6069'] 	= 'Invalid Email';
    120 $_['text_card_message_V6070'] 	= 'Invalid Phone';
    121 $_['text_card_message_V6071'] 	= 'Invalid Mobile';
    122 $_['text_card_message_V6072'] 	= 'Invalid Comments';
    123 $_['text_card_message_V6073'] 	= 'Invalid Fax';
    124 $_['text_card_message_V6074'] 	= 'Invalid Url';
    125 $_['text_card_message_V6075'] 	= 'Invalid Shipping Address First Name';
    126 $_['text_card_message_V6076'] 	= 'Invalid Shipping Address Last Name';
    127 $_['text_card_message_V6077'] 	= 'Invalid Shipping Address Street1';
    128 $_['text_card_message_V6078'] 	= 'Invalid Shipping Address Street2';
    129 $_['text_card_message_V6079'] 	= 'Invalid Shipping Address City';
    130 $_['text_card_message_V6080'] 	= 'Invalid Shipping Address State';
    131 $_['text_card_message_V6081'] 	= 'Invalid Shipping Address PostalCode';
    132 $_['text_card_message_V6082'] 	= 'Invalid Shipping Address Email';
    133 $_['text_card_message_V6083'] 	= 'Invalid Shipping Address Phone';
    134 $_['text_card_message_V6084'] 	= 'Invalid Shipping Address Country';
    135 $_['text_card_message_V6091'] 	= 'Unknown Country Code';
    136 $_['text_card_message_V6100'] 	= 'Invalid Card Name';
    137 $_['text_card_message_V6101'] 	= 'Invalid Card Expiry Month';
    138 $_['text_card_message_V6102'] 	= 'Invalid Card Expiry Year';
    139 $_['text_card_message_V6103'] 	= 'Invalid Card Start Month';
    140 $_['text_card_message_V6104'] 	= 'Invalid Card Start Year';
    141 $_['text_card_message_V6105'] 	= 'Invalid Card Issue Number';
    142 $_['text_card_message_V6106'] 	= 'Invalid Card CVN';
    143 $_['text_card_message_V6107'] 	= 'Invalid AccessCode';
    144 $_['text_card_message_V6108'] 	= 'Invalid CustomerHostAddress';
    145 $_['text_card_message_V6109'] 	= 'Invalid UserAgent';
    146 $_['text_card_message_V6110'] 	= 'Invalid Card Number';
    147 $_['text_card_message_V6111'] 	= 'Unauthorised API Access, Account Not PCI Certified';
    148 $_['text_card_message_V6112'] 	= 'Redundant card details other than expiry year and month';
    149 $_['text_card_message_V6113'] 	= 'Invalid transaction for refund';
    150 $_['text_card_message_V6114'] 	= 'Gateway validation error';
    151 $_['text_card_message_V6115'] 	= 'Invalid DirectRefundRequest, Transaction ID';
    152 $_['text_card_message_V6116'] 	= 'Invalid card data on original TransactionID';
    153 $_['text_card_message_V6124'] 	= 'Invalid Line Items. The line items have been provided however the totals do not match the TotalAmount field';
    154 $_['text_card_message_V6125'] 	= 'Selected Payment Type not enabled';
    155 $_['text_card_message_V6126'] 	= 'Invalid encrypted card number, decryption failed';
    156 $_['text_card_message_V6127'] 	= 'Invalid encrypted cvn, decryption failed';
    157 $_['text_card_message_V6128'] 	= 'Invalid Method for Payment Type';
    158 $_['text_card_message_V6129'] 	= 'Transaction has not been authorised for Capture/Cancellation';
    159 $_['text_card_message_V6130'] 	= 'Generic customer information error';
    160 $_['text_card_message_V6131'] 	= 'Generic shipping information error';
    161 $_['text_card_message_V6132'] 	= 'Transaction has already been completed or voided, operation not permitted';
    162 $_['text_card_message_V6133'] 	= 'Checkout not available for Payment Type';
    163 $_['text_card_message_V6134'] 	= 'Invalid Auth Transaction ID for Capture/Void';
    164 $_['text_card_message_V6135'] 	= 'PayPal Error Processing Refund';
    165 $_['text_card_message_V6140'] 	= 'Merchant account is suspended';
    166 $_['text_card_message_V6141'] 	= 'Invalid PayPal account details or API signature';
    167 $_['text_card_message_V6142'] 	= 'Authorise not available for Bank/Branch';
    168 $_['text_card_message_V6150'] 	= 'Invalid Refund Amount';
    169 $_['text_card_message_V6151'] 	= 'Refund amount greater than original transaction';
    170 $_['text_card_message_D4406'] 	= 'Unknown error';
    171 $_['text_card_message_S5010'] 	= 'Unknown error';