Skip to content

Commit 642a2d9

Browse files
authored
Update CompletePurchaseRequest.php
operation SALE will charge the card via. capture as well. AUTH will require to run capture via. other api calls or visiting the netaxept backend.
1 parent 58dbb0d commit 642a2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/CompletePurchaseRequest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function getData()
1616
$data['transactionId'] = $this->httpRequest->query->get('transactionId');
1717
$data['merchantId'] = $this->getMerchantId();
1818
$data['token'] = $this->getPassword();
19-
$data['operation'] = 'AUTH';
19+
$data['operation'] = 'SALE';
2020

2121
if (empty($data['responseCode']) || empty($data['transactionId'])) {
2222
throw new InvalidResponseException;

0 commit comments

Comments
 (0)