You are here

function uc_credit_cart_review_back_submit in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 payment/uc_credit/uc_credit.module \uc_credit_cart_review_back_submit()
  2. 6.2 payment/uc_credit/uc_credit.module \uc_credit_cart_review_back_submit()

Caches the encrypted CC data on the review order form for processing.

1 string reference to 'uc_credit_cart_review_back_submit'
uc_credit_form_uc_cart_checkout_review_form_alter in payment/uc_credit/uc_credit.module
Implements hook_form_FORM_ID_alter() for uc_cart_checkout_review_form().

File

payment/uc_credit/uc_credit.module, line 778
Defines the credit card payment method and hooks in payment gateways.

Code

function uc_credit_cart_review_back_submit($form, &$form_state) {
  $session_card_data = base64_decode($_POST['sescrd']);
  $_SESSION['sescrd'] = $session_card_data;
  uc_credit_cache('save', $session_card_data);
}