mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
023bd95b64
@ -7,8 +7,6 @@ use Exception;
|
|||||||
|
|
||||||
class WePayPaymentDriver extends BasePaymentDriver
|
class WePayPaymentDriver extends BasePaymentDriver
|
||||||
{
|
{
|
||||||
protected $sourceReferenceParam = 'accessToken';
|
|
||||||
|
|
||||||
public function gatewayTypes()
|
public function gatewayTypes()
|
||||||
{
|
{
|
||||||
$types = [
|
$types = [
|
||||||
@ -23,21 +21,6 @@ class WePayPaymentDriver extends BasePaymentDriver
|
|||||||
return $types;
|
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()
|
public function tokenize()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
@ -39,4 +39,6 @@
|
|||||||
@endif
|
@endif
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
|
{!! Former::close() !!}
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
@ -39,4 +39,6 @@
|
|||||||
@endif
|
@endif
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
|
{!! Former::close() !!}
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user