/**
* This function collects all the information from a web/api form and invokes
* the relevant payment processor specific functions to perform the transaction
/**
* This function collects all the information from a web/api form and invokes
* the relevant payment processor specific functions to perform the transaction
'USER' => $user,
'VENDOR' => $this->_paymentProcessor['user_name'],
'PARTNER' => $this->_paymentProcessor['signature'],
'USER' => $user,
'VENDOR' => $this->_paymentProcessor['user_name'],
'PARTNER' => $this->_paymentProcessor['signature'],
'ORDERDESC' => urlencode($params['description']),
'VERBOSITY' => 'MEDIUM',
'BILLTOCOUNTRY' => urlencode($params['country']),
'ORDERDESC' => urlencode($params['description']),
'VERBOSITY' => 'MEDIUM',
'BILLTOCOUNTRY' => urlencode($params['country']),
while (strlen($result)) {
// name
$keypos = strpos($result, '=');
while (strlen($result)) {
// name
$keypos = strpos($result, '=');
* the error message if any, null if OK
*/
public function checkConfig() {
* the error message if any, null if OK
*/
public function checkConfig() {
if (empty($this->_paymentProcessor['user_name'])) {
$errorMsg[] = ' ' . ts('ssl_merchant_id is not set for this payment processor');
}
if (empty($this->_paymentProcessor['url_site'])) {
if (empty($this->_paymentProcessor['user_name'])) {
$errorMsg[] = ' ' . ts('ssl_merchant_id is not set for this payment processor');
}
if (empty($this->_paymentProcessor['url_site'])) {