Documentation

BankTransfer
in package
implements PaymentMethodInterface

Table of Contents

Interfaces

PaymentMethodInterface

Methods

executePayment()  : array<string|int, mixed>
return array must contain the following properties
getCode()  : string
getConfigurationForm()  : Form
getName()  : string
getPaymentFormFieldset()  : FieldsContainerInterface
isActive()  : bool

Methods

executePayment()

return array must contain the following properties

public executePayment(FormValues|null $values, Cart $cart) : array<string|int, mixed>

status one of the OrderStatus constants transaction_id - string|null additional_data - mixed

can contain optionally post_create_callback - callable to execute passing created order as parameter

Parameters
$values : FormValues|null
$cart : Cart
Return values
array<string|int, mixed>

getCode()

public getCode() : string
Return values
string

getConfigurationForm()

public getConfigurationForm(Form $form, array<string|int, mixed> &$form_state) : Form
Parameters
$form : Form
$form_state : array<string|int, mixed>
Return values
Form

getName()

public getName() : string
Return values
string

getPaymentFormFieldset()

public getPaymentFormFieldset(Cart $cart, Form $form, array<string|int, mixed> &$form_state) : FieldsContainerInterface
Parameters
$cart : Cart
$form : Form
$form_state : array<string|int, mixed>
Return values
FieldsContainerInterface

        
On this page

Search results