public function dms_make_transaction($trans_id)
    {
        $post_fields = array(
            'command'        => 't', // identifies a request for transaction registration
            'trans_id'       => $trans_id,
            'amount'         => $this->amount,
            'currency'       => $this->currency,
            'client_ip_addr' => $this->client_ip_addr,
            'description'    => $this->description,
            'language'       => $this->language,
            'msg_type'       => 'DMS'
        );

        return $this->process($post_fields);
    }
public function dms_make_transaction($trans_id)
    {
        $post_fields = array(
            'command'        => 't', // identifies a request for transaction registration
            'trans_id'       => $trans_id,
            'amount'         => $this->amount,
            'currency'       => $this->currency,
            'client_ip_addr' => $this->client_ip_addr,
            'description'    => $this->description,
            'language'       => $this->language,
            'msg_type'       => 'DMS'
        );

        return $this->process($post_fields);
    }
public function dms_make_transaction ( $ trans_id ) { $ post_fields = array ( 'command' => 't' , // identifies a request for transaction registration 'trans_id' => $ trans_id , 'amount' => $ this -> amount , 'currency' => $ this -> currency , 'client_ip_addr' => $ this -> client_ip_addr , 'description' => $ this -> description , 'language' => $ this -> language , 'msg_type' => 'DMS' ) ; return $ this -> process ( $ post_fields ) ; }
Executing a DMS transaction
@param  string $trans_id
@return array  RESULT, RESULT_CODE, BRN, APPROVAL_CODE, CARD_NUMBER, error
RESULT         - transaction results: OK - successful transaction, FAILED - failed transaction
RESULT_CODE    - transaction result code returned from Card Suite Processing RTPS (3 digits)
BRN            - retrieval reference number returned from Card Suite Processing RTPS (12 characters)
APPROVAL_CODE  - approval code returned from Card Suite Processing RTPS (max 6 characters)
CARD_NUMBER    - masked card number
error          - in case of an error
Executing a DMS transaction