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 |
|
---|
string
Reason why payment is aborted
boolean
True 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 |
|
---|
array
customer information
string
Reference transaction-id if you have one
array
Hash array with Payment transaction data