\EwayPayment
Synopsis
class EwayPayment
extends EcommercePayment
{
- // members
- private static array $db = ;
- private static string $privacy_link = 'https://www.eway.com.au/Company/About/Privacy.aspx';
- private static string $logo = '/payment_eway/images/eway.png';
- private static string $page_title = 'Your Title';
- private static string $company_name = 'Your Company Name';
- private static string $payment_explanation = 'Your payment will be processed by the eWay payment processing site.';
- private static String $company_logo = 'Your company Logo file location';
- private static string $url = 'https://au.ewaygateway.com/Request';
- private static string $confirmation_url = 'https://au.ewaygateway.com/Result';
- private static string $test_customer_id = '87654321';
- private static string $test_customer_username = 'TestAccount';
- private static String $test_mode = 'no';
- private static $customer_id;
- private static $customer_username;
- private static array $credit_cards = ;
- protected array $testCodes = ;
- // methods
- public void getPaymentFormFields()
- public void getPaymentFormRequirements()
- public void processPayment()
- public void EwayURL()
- public void EwayForm()
- public void EwayConfirmationURL()
- public void populateDefaults()
Hierarchy
Extends
- EcommercePayment
Members
private
- $company_logo
—
String
e.g. /themes/mytheme/images/myimage.png make sure the location is SSL if you add it - $company_name
- $confirmation_url
- $credit_cards
- $customer_id
- $customer_username
- $db
- $logo
- $page_title
- $payment_explanation
- $privacy_link
- $test_customer_id
- $test_customer_username
- $test_mode
—
String
NB: this is a string... anything will divert to LIVE unless it is set to "yes" - $url
protected
- $testCodes