public function PaymentMethodInterface::getPaymentGatewayMode in Commerce Core 8.2
Gets the payment gateway mode.
A payment gateway in "live" mode can't manipulate payment methods created while it was in "test" mode, and vice-versa.
Return value
string The payment gateway mode.
1 method overrides PaymentMethodInterface::getPaymentGatewayMode()
- PaymentMethod::getPaymentGatewayMode in modules/
payment/ src/ Entity/ PaymentMethod.php - Gets the payment gateway mode.
File
- modules/
payment/ src/ Entity/ PaymentMethodInterface.php, line 32
Class
- PaymentMethodInterface
- Defines the interface for payment methods.
Namespace
Drupal\commerce_payment\EntityCode
public function getPaymentGatewayMode();