You are here

function commerce_mollie_request_payment_status_form in Commerce Mollie 7

Retrieve a new status update about the payment.

_state

Parameters

$form:

$order:

$transaction:

Return value

mixed

1 string reference to 'commerce_mollie_request_payment_status_form'
commerce_mollie_menu in ./commerce_mollie.module
Implements hook_menu().

File

./commerce_mollie.module, line 355

Code

function commerce_mollie_request_payment_status_form($form, &$form_state, $order, $transaction) {
  $transaction = commerce_mollie_request_status($order, $transaction);
  commerce_payment_transaction_save($transaction);
  drupal_goto('admin/commerce/orders/' . $order->order_id . '/payment');
  return $form;
}