public function CreditCardPaymentMethodBase::orderEditDetails in Ubercart 8.4
Called when an order is being edited with this payment method.
Parameters
\Drupal\uc_order\OrderInterface $order: The order that is being edited.
Return value
array A form array.
Overrides PaymentMethodPluginBase::orderEditDetails
File
- payment/
uc_credit/ src/ CreditCardPaymentMethodBase.php, line 444
Class
- CreditCardPaymentMethodBase
- Defines a base credit card payment method plugin implementation.
Namespace
Drupal\uc_creditCode
public function orderEditDetails(OrderInterface $order) {
return $this
->t('Use the terminal available through the<br />%button button on the View tab to<br />process credit card payments.', [
'%button' => $this
->t('Process card'),
]);
}