From f589a6628170b9d6570feb2d5c1a03170fed80e3 Mon Sep 17 00:00:00 2001 From: Jen Lampton Date: Sun, 16 Dec 2018 12:21:39 -0800 Subject: [PATCH] Clearrer comments on the js. --- js/authorizenetwebform.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/authorizenetwebform.js b/js/authorizenetwebform.js index bb06b5c..29a358f 100644 --- a/js/authorizenetwebform.js +++ b/js/authorizenetwebform.js @@ -103,7 +103,8 @@ } /** - * Updtes the webform with the transaction ID returned from AuthNet. + * Updtes the webform with the Payment Noce returned from AuthNet, and + * effectively removes credit card details from the form. */ useOpaqueData = function(responseData) { // For Debugging. @@ -111,7 +112,7 @@ //console.log(responseData.dataValue); //alert(responseData.dataValue); - // Insert the data value into the hidden Transaction ID field. + // Insert the Payment Nonce into the hidden Transaction ID field. $(context).find("[data-authnet-field--transaction_id]").val(responseData.dataValue); // Remove the name attributes to prevent values from touching the server. -- 2.22.2