mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
023bd95b64
@ -7,8 +7,6 @@ use Exception;
|
||||
|
||||
class WePayPaymentDriver extends BasePaymentDriver
|
||||
{
|
||||
protected $sourceReferenceParam = 'accessToken';
|
||||
|
||||
public function gatewayTypes()
|
||||
{
|
||||
$types = [
|
||||
@ -23,21 +21,6 @@ class WePayPaymentDriver extends BasePaymentDriver
|
||||
return $types;
|
||||
}
|
||||
|
||||
/*
|
||||
public function startPurchase($input = false, $sourceId = false)
|
||||
{
|
||||
$data = parent::startPurchase($input, $sourceId);
|
||||
|
||||
if ($this->isGatewayType(GATEWAY_TYPE_BANK_TRANSFER)) {
|
||||
if ( ! $sourceId) {
|
||||
throw new Exception();
|
||||
}
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
*/
|
||||
|
||||
public function tokenize()
|
||||
{
|
||||
return true;
|
||||
|
@ -39,4 +39,6 @@
|
||||
@endif
|
||||
</center>
|
||||
|
||||
{!! Former::close() !!}
|
||||
|
||||
@stop
|
||||
|
@ -39,4 +39,6 @@
|
||||
@endif
|
||||
</center>
|
||||
|
||||
{!! Former::close() !!}
|
||||
|
||||
@stop
|
||||
|
Loading…
Reference in New Issue
Block a user