Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.5, 4.1.2
-
Fix Version/s: 4.2.0
-
Component/s: CiviContribute, CiviEvent
-
Labels:None
Description
This module adds support for processing online event registrations and donations through the Paystation gateway in New Zealand.
The civicrm_payment_processor_type table needs the following values for the Paystation code to be made active:
name = 'Paystation'
title = 'Paystation 3-party processor'
is_active = 1
is_default = 0
user_name_label = 'Paystation ID'
password_label = 'Gateway ID'
class_name = 'Payment_Paystation'
url_site_default = 'https://www.paystation.co.nz/direct/paystation.dll'
url_api_default = 'https://www.paystation.co.nz/lookup/quick/'
url_site_test_default = 'https://www.paystation.co.nz/direct/paystation.dll'
url_api_test_default = 'https://www.paystation.co.nz/lookup/quick/'
billing_mode = 4
payment_type = 1
The following query can be used:
INSERT INTO civicrm_payment_processor_type (
name, title, is_active, is_default, user_name_label, password_label, class_name, url_site_default, url_api_default, url_site_test_default, url_api_test_default, billing_mode, payment_type
) VALUES (
'Paystation', 'Paystation 3-party processor', 1, 0, 'Paystation ID', 'Gateway ID', 'Payment_Paystation', 'https://www.paystation.co.nz/direct/paystation.dll', 'https://www.paystation.co.nz/lookup/quick/', 'https://www.paystation.co.nz/direct/paystation.dll', 'https://www.paystation.co.nz/lookup/quick/', 4, 1
);