WePay fixes

This commit is contained in:
Hillel Coren 2016-07-13 16:34:26 +03:00
parent f3a278b9b5
commit b9f9c0807d
3 changed files with 4 additions and 17 deletions

View File

@ -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;

View File

@ -39,4 +39,6 @@
@endif
</center>
{!! Former::close() !!}
@stop

View File

@ -39,4 +39,6 @@
@endif
</center>
{!! Former::close() !!}
@stop