Exemple #1
0
 private function getPaymentHandler()
 {
     $payment = new AuthorizeNet($this->details);
     $payment->setConfigValue('login', 'cnpdev4444');
     $payment->setConfigValue('transactionKey', '623P88zxd6Pj3Pz6');
     $payment->setConfigValue('gateway', 'https://test.authorize.net/gateway/transact.dll');
     $payment->setCardData('4007000000027', '12', '2010', '000');
     $payment->setCardType('Visa');
     return $payment;
 }