Add shouldUseToken(): bool to PaymentResponseRequest
This commit is contained in:
parent
6186cc1420
commit
22ce56b7c5
1 changed files with 5 additions and 0 deletions
|
|
@ -56,4 +56,9 @@ class PaymentResponseRequest extends FormRequest
|
|||
]);
|
||||
}
|
||||
}
|
||||
|
||||
public function shouldUseToken(): bool
|
||||
{
|
||||
return (bool) $this->token;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue