Property | Type | Description | |
---|---|---|---|
$accountGateway | |||
$invitation |
Property | Type | Description | |
---|---|---|---|
$customer | |||
$customerReferenceParam | |||
$customerResponse | |||
$gateway | |||
$gatewayType | |||
$input | |||
$purchaseResponse | |||
$sourceId | |||
$sourceReferenceParam | |||
$tokenResponse | |||
$transactionReferenceParam |
Method | Description | |
---|---|---|
__construct ( $accountGateway = false, $invitation = false, $gatewayType = false ) | ||
completeOffsitePurchase ( $input ) | ||
completeOnsitePurchase ( $input = false, $paymentMethod = false ) | ||
createPayment ( $ref = false, $paymentMethod = null ) | ||
createPaymentMethod ( $customer ) | ||
createToken ( ) | ||
createTransactionToken ( ) | Some gateways (ie, Checkout.com and Braintree) require generating a token before paying for the invoice | |
customer ( $clientId = false ) | * protected function tokenDetails() { $details = []; | |
deleteToken ( ) | ||
gatewayTypes ( ) | ||
handleWebHook ( $input ) | ||
handles ( $type ) | ||
isGateway ( $gatewayId ) | ||
isTwoStep ( ) | set payment method as pending until confirmed | |
isValid ( ) | ||
partialView ( ) | check if a custom partial exists for this provider | |
paymentDetailsFromClient ( ) | ||
paymentLinks ( ) | ||
providerName ( ) | ||
refundPayment ( $payment, $amount ) | ||
removePaymentMethod ( $paymentMethod ) | ||
rules ( ) | ||
startPurchase ( $input = false, $sourceId = false ) | ||
tokenLinks ( ) | ||
tokenize ( ) | when set to true we won't pass the card details with the form | |
verifyBankAccount ( $client, $publicId, $amount1, $amount2 ) |
Method | Description | |
---|---|---|
account ( ) | ||
attemptVoidPayment ( $response, $payment, $amount ) | ||
checkCustomerExists ( $customer ) | ||
client ( ) | ||
contact ( ) | ||
createLocalPayment ( $payment ) | ||
creatingCustomer ( $customer ) | ||
creatingPayment ( $payment, $paymentMethod ) | ||
creatingPaymentMethod ( $paymentMethod ) | ||
gateway ( ) | ||
invoice ( ) | ||
isGatewayType ( $gatewayType, $paymentMethod = false ) | optionally pass a paymentMethod to determine the type from the token | |
meetsGatewayTypeLimits ( $gatewayTypeId ) | ||
parseCardType ( $cardName ) | ||
paymentDetails ( $paymentMethod = false ) | ||
paymentUrl ( $gatewayTypeAlias ) | ||
paymentView ( ) | check if a custom view exists for this provider | |
refundDetails ( $payment, $amount ) | ||
shouldCreateToken ( ) |
Method | Description | |
---|---|---|
paymentDetailsFromInput ( $input ) | ||
updateClient ( ) |
public __construct ( $accountGateway = false, $invitation = false, $gatewayType = false ) |
public completeOnsitePurchase ( $input = false, $paymentMethod = false ) |
public createTransactionToken ( ) |
public customer ( $clientId = false ) |
protected isGatewayType ( $gatewayType, $paymentMethod = false ) |
public partialView ( ) |
protected paymentView ( ) |
public tokenize ( ) |
public verifyBankAccount ( $client, $publicId, $amount1, $amount2 ) |