Skip to content

Commit eaacf56

Browse files
committed
Idpay gateway added
1 parent 8d93eb1 commit eaacf56

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

src/Adapter/Idpay.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -176,35 +176,6 @@ protected function verifyTransaction(): bool
176176
} catch(\Exception $e) {
177177
throw new Exception($e->getMessage());
178178
}
179-
180-
// try {
181-
// $soapClient = new SoapClient($this->getWSDL());
182-
//
183-
// XLog::debug('PaymentVerification call', $sendParams);
184-
//
185-
// $response = $soapClient->PaymentVerification($sendParams);
186-
//
187-
// XLog::info('PaymentVerification response', $this->obj2array($response));
188-
//
189-
//
190-
// if (isset($response->Status, $response->RefID)) {
191-
//
192-
// if ($response->Status == 100) {
193-
// $this->getTransaction()->setVerified();
194-
// $this->getTransaction()->setReferenceId((string)$response->RefID); // update transaction reference id
195-
//
196-
// return true;
197-
// } else {
198-
// throw new Exception($response->Status);
199-
// }
200-
// } else {
201-
// throw new Exception('larapay::larapay.invalid_response');
202-
// }
203-
//
204-
// } catch (SoapFault $e) {
205-
//
206-
// throw new Exception('SoapFault: ' . $e->getMessage() . ' #' . $e->getCode(), $e->getCode());
207-
// }
208179
}
209180

210181
/**

0 commit comments

Comments
 (0)