mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Add placeholder methods for Authorize, Custom & PayPalExpress
This commit is contained in:
parent
71ca5d108c
commit
210ebb1754
@ -143,4 +143,15 @@ class AuthorizePaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
return $this->payment_method->tokenBilling($cgt, $payment_hash);
|
return $this->payment_method->tokenBilling($cgt, $payment_hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Detach payment method from Authorize.net.
|
||||||
|
*
|
||||||
|
* @param \App\Models\ClientGatewayToken $token
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function detach(ClientGatewayToken $token)
|
||||||
|
{
|
||||||
|
// Authorize.net doesn't support this feature.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,4 +75,15 @@ class CustomPaymentDriver extends BaseDriver
|
|||||||
public function processPaymentResponse($request)
|
public function processPaymentResponse($request)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Detach payment method from custom payment driver.
|
||||||
|
*
|
||||||
|
* @param \App\Models\ClientGatewayToken $token
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function detach(ClientGatewayToken $token)
|
||||||
|
{
|
||||||
|
// Driver doesn't support this feature.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -322,4 +322,15 @@ class PayPalExpressPaymentDriver extends BasePaymentDriver
|
|||||||
'code' => $response->getData()['L_ERRORCODE0'],
|
'code' => $response->getData()['L_ERRORCODE0'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Detach payment method from PayPal.
|
||||||
|
*
|
||||||
|
* @param \App\Models\ClientGatewayToken $token
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function detach(ClientGatewayToken $token)
|
||||||
|
{
|
||||||
|
// PayPal doesn't support this feature.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user