You are here

function commerce_braintree_get_feedback in Commerce Braintree 7

Same name and namespace in other branches
  1. 7.3 commerce_braintree.module \commerce_braintree_get_feedback()
  2. 7.2 commerce_braintree.module \commerce_braintree_get_feedback()

Return the query string that contains Braintree response, after a request.

3 calls to commerce_braintree_get_feedback()
commerce_braintree_cof_redirect_form_validate in ./commerce_braintree.commerce_braintree_cof.inc
Implements hook_redirect_form_validate().
commerce_braintree_redirect_form_validate in ./commerce_braintree.commerce_braintree.inc
Implements hook_redirect_form_validate().
commerce_braintree_update_card in ./commerce_braintree.module
Menu callback. Get the query from Braintree when updating a credit card.

File

./commerce_braintree.module, line 386
Implementations of the Braintree payment gateway (http://braintreepayments.com) for drupal commerce.

Code

function commerce_braintree_get_feedback() {
  $feedback = FALSE;
  if (isset($_SERVER['QUERY_STRING'])) {
    $feedback = $_SERVER['QUERY_STRING'];
  }
  return $feedback;
}