Eway merchant hosted
XML is now a supported payment method in Simple Invoices 2010.2
This was primary developed to work with Recurrence
But works fine as a manual payment method via Simple Invoices
Also once the payment is accepted via Eway the payment will be auto inserted into your Simple Invoices payments section
Assuming the biller and customer has the correct eway fields setup there will be a 'Process payment via Eway' button appear in the Quick View of the invoices
This button allows you to manually charge the customer credit card via Eway within Simple Invoics
-
To set Eway to 'live' mode edit line 76 iin include/class/eway.php as below
$eway = new ewaylib($this->biller['eway_customer_id'],'REAL_TIME', true);
refer below testing section to see ow to test eway
You need to edit the config/config.ini file and specify a passphrase that the encryption code will use to encrypt the credit card number in your database. This is done in the 'encryption.default.key' field
ie. encryption.default.key = this_is_the_encryption_key_change_it
You need to enter your eway customer ID into your biller record in Simple Invoices in the 'Eway customer ID' field
You need to enter your customers credit card details in their customer record in Simple Invoices
Fields required are
Credit card holders name
Credit card number (the credit card number is encrypted in the database)
Credit card expiry month (as a 2 digit number ie. 01 for January)
Credit card expiry year (as a 2 digit number ie. 10 for 2010)
You then need to edit the 'Invoice Preference' that you will use and select 'Eway merchant hosted
XML' as a online payment option
Once all the above is done you're ready to start collecting money via Eway
To set Eway to testing mode edit line 76 iin include/class/eway.php as below
$eway = new ewaylib($this->biller['eway_customer_id'],'REAL_TIME', false);
In testing you can use the Eway CustomerID of 87654321 - enter this in your biller
You can use the test Credit Card of 4444333322221111 in your customer details
Make sure you enter a valid expiry month and year
refer above setup section for details on the form
If you have any queries post in the discussions section below or in the
forum
-
| wiki/eway.txt · Last modified: 2011/12/22 12:09 (external edit)
Discussion