function PaymentMethodBasicController::execute in Payment 7
Implements PaymentMethodController::execute().
Overrides PaymentMethodController::execute
File
- modules/
paymentmethodbasic/ paymentmethodbasic.module, line 108 - Hook implementations and shared functions.
Class
- PaymentMethodBasicController
- A basic payment method controller.
Code
function execute(Payment $payment) {
$payment
->setStatus(new PaymentStatusItem($payment->method->controller_data['status']));
}