コード例 #1
0
 public function addCaptureGivenAuth($hash_in)
 {
     $hash_out = Transactions::createCaptureGivenAuthHash($hash_in);
     $choice_hash = array($hash_out['card'], $hash_out['token'], $hash_out['paypage']);
     $this->addTransaction($hash_out, $hash_in, 'captureGivenAuth', $choice_hash);
     $this->counts_and_amounts['captureGivenAuth']['count'] += 1;
     $this->counts_and_amounts['captureGivenAuth']['amount'] += $hash_out['amount'];
 }