Utility class for connecting to NextEvent's Payment Service API
| internal | |
|---|---|
| package | NextEvent\PHPSDK\Service | 
__construct(\Psr\Log\LoggerInterface $logger)
\Psr\Log\LoggerInterface
                                            abortPayment(\NextEvent\PHPSDK\Model\Token $paymentToken, \NextEvent\PHPSDK\Model\Payment $payment, string $reason) : boolean
| Throws | 
 | 
|---|
stringReason why payment is aborted
booleanTrue if service accepted the cancellation
settlePayment(\NextEvent\PHPSDK\Model\Token $paymentToken, \NextEvent\PHPSDK\Model\Payment $payment, array $customer, string $transactionId = null) : array
Confirm successful payment for the previously requested authorization
| Throws | 
 | 
|---|
arraycustomer information
stringReference transaction-id if you have one
arrayHash array with Payment transaction data