public function PaymentMethodPluginBase::orderSave in Ubercart 8.4
Called when an order is being saved with this payment method.
Parameters
\Drupal\uc_order\OrderInterface $order: The order that is being saved.
Overrides PaymentMethodPluginInterface::orderSave
3 methods override PaymentMethodPluginBase::orderSave()
- CashOnDelivery::orderSave in payment/
uc_payment_pack/ src/ Plugin/ Ubercart/ PaymentMethod/ CashOnDelivery.php - Called when an order is being saved with this payment method.
- CreditCardPaymentMethodBase::orderSave in payment/
uc_credit/ src/ CreditCardPaymentMethodBase.php - Called when an order is being saved with this payment method.
- Other::orderSave in payment/
uc_payment_pack/ src/ Plugin/ Ubercart/ PaymentMethod/ Other.php - Called when an order is being saved with this payment method.
File
- payment/
uc_payment/ src/ PaymentMethodPluginBase.php, line 159
Class
- PaymentMethodPluginBase
- Defines a base payment method plugin implementation.
Namespace
Drupal\uc_paymentCode
public function orderSave(OrderInterface $order) {
}