Hello,
I am desperate, are there any samples for PHP, capturing transaction after it was authorized only and I have transaction_id and authorize_code. I am looking for something like this , but for DPM.
This is code for AIM
public function authorizeOnly($amount = false, $card_num = false, $exp_date = false)
{
($amount ? $this->amount = $amount : null);
($card_num ? $this->card_num = $card_num : null);
($exp_date ? $this->exp_date = $exp_date : null);
$this->type = "AUTH_ONLY";
return $this->_sendRequest();
}
public function captureOnly($auth_code = false, $amount = false, $card_num = false, $exp_date = false)
{
($auth_code ? $this->auth_code = $auth_code : null);
($amount ? $this->amount = $amount : null);
($card_num ? $this->card_num = $card_num : null);
($exp_date ? $this->exp_date = $exp_date : null);
$this->type = "CAPTURE_ONLY";
return $this->_sendRequest();
}
Help? Ayone?
Will be much appreciated.
11-06-2012 12:51 AM
11-08-2012 02:05 PM