You are here

public function PaymentMethodPluginInterface::orderSubmit in Ubercart 8.4

Called when an order is being submitted with this payment method.

Parameters

\Drupal\uc_order\OrderInterface $order: The order that is being submitted.

Return value

string|null An error message that can be shown to the user if the payment failed, or NULL if everything was successful.

1 method overrides PaymentMethodPluginInterface::orderSubmit()
PaymentMethodPluginBase::orderSubmit in payment/uc_payment/src/PaymentMethodPluginBase.php
Called when an order is being submitted with this payment method.

File

payment/uc_payment/src/PaymentMethodPluginInterface.php, line 139

Class

PaymentMethodPluginInterface
Defines an interface for payment method plugins.

Namespace

Drupal\uc_payment

Code

public function orderSubmit(OrderInterface $order);