You are here

function commerce_payleap_direct_submit_form in Commerce Payleap 7

Payment method callback: checkout form - Direct.

File

./commerce_payleap.module, line 216
Implements PayLeap payment services for use in Drupal Commerce.

Code

function commerce_payleap_direct_submit_form($payment_method, $pane_values, $checkout_pane, $order) {
  module_load_include('inc', 'commerce_payment', 'includes/commerce_payment.credit_card');
  return commerce_payment_credit_card_form(array(
    'code' => '',
  ));
}