You are here

function uc_credit_cart_review_back_submit in Ubercart 6.2

Same name and namespace in other branches
  1. 8.4 payment/uc_credit/uc_credit.module \uc_credit_cart_review_back_submit()
  2. 7.3 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_alter in payment/uc_credit/uc_credit.module
Implements hook_form_alter().

File

payment/uc_credit/uc_credit.module, line 1374
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);
}