Use gateway’s “is_available” flag

This commit is contained in:
Philipp Stracker 2024-09-09 18:05:09 +02:00
parent e99910117d
commit 4b8bec84d4
No known key found for this signature in database

View file

@ -113,7 +113,7 @@ class AxoBlockPaymentMethod extends AbstractPaymentMethodType {
* {@inheritDoc}
*/
public function is_active() : bool {
return true;
return $this->gateway->is_available();
}
/**