wikimedia/mediawiki-extensions-DonationInterface

View on GitHub
adyen_gateway/adyen_checkout_resultswitcher.body.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/**
 * Handles donor return from methods involving a redirect, such as iDEAL.
 */
class AdyenCheckoutGatewayResult extends ResultSwitcher {

    /** @inheritDoc */
    protected $gatewayIdentifier = AdyenCheckoutAdapter::IDENTIFIER;

    /**
     * Overrides parent function to return false.
     *
     * @return bool
     *
     * @see GatewayPage::showSubmethodButtons()
     */
    public function showSubmethodButtons() {
        return false;
    }
}