You are here

public function PaymentInterface::getPaymentGatewayMode in Commerce Core 8.2

Gets the payment gateway mode.

A payment gateway in "live" mode can't manipulate payments created while it was in "test" mode, and vice-versa.

Return value

string The payment gateway mode.

1 method overrides PaymentInterface::getPaymentGatewayMode()
Payment::getPaymentGatewayMode in modules/payment/src/Entity/Payment.php
Gets the payment gateway mode.

File

modules/payment/src/Entity/PaymentInterface.php, line 30

Class

PaymentInterface
Defines the interface for payments.

Namespace

Drupal\commerce_payment\Entity

Code

public function getPaymentGatewayMode();