Add `shouldUseToken(): bool` to PaymentResponseRequest
This commit is contained in:
parent
6186cc1420
commit
22ce56b7c5
|
|
@ -56,4 +56,9 @@ class PaymentResponseRequest extends FormRequest
|
|||
]);
|
||||
}
|
||||
}
|
||||
|
||||
public function shouldUseToken(): bool
|
||||
{
|
||||
return (bool) $this->token;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue