You are here

public function PaymentMethodPluginInterface::cartProcess in Ubercart 8.4

Called when checkout is submitted with this payment method selected.

Use this method to process any form elements output by the cartDetails() method.

Parameters

\Drupal\uc_order\OrderInterface $order: The order which is being processed.

array $form: The checkout form array.

\Drupal\Core\Form\FormStateInterface $form_state: The checkout form state array.

Return value

bool Return FALSE to abort the checkout process, or any other value to continue the checkout process.

1 method overrides PaymentMethodPluginInterface::cartProcess()
PaymentMethodPluginBase::cartProcess in payment/uc_payment/src/PaymentMethodPluginBase.php
Called when checkout is submitted with this payment method selected.

File

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

Class

PaymentMethodPluginInterface
Defines an interface for payment method plugins.

Namespace

Drupal\uc_payment

Code

public function cartProcess(OrderInterface $order, array $form, FormStateInterface $form_state);