diff --git a/flex-js-sample/Web.config b/flex-js-sample/Web.config index 01e7f90..1a159c0 100644 --- a/flex-js-sample/Web.config +++ b/flex-js-sample/Web.config @@ -11,7 +11,13 @@ - + + + + + + + @@ -23,7 +29,7 @@ - + @@ -66,4 +72,4 @@ - + \ No newline at end of file diff --git a/flex-microform-sample/Controllers/HomeController.cs b/flex-microform-sample/Controllers/HomeController.cs index 3e2f296..0990ffb 100644 --- a/flex-microform-sample/Controllers/HomeController.cs +++ b/flex-microform-sample/Controllers/HomeController.cs @@ -20,10 +20,10 @@ public ActionResult Checkout() /** * Generating Capture Context Request Payload * Defining Encryption Type = RsaOaep - * Defining TargetOrigin = http://localhost:65309 + * Defining TargetOrigin = http://localhost:65309 or http://localhost:8080 * */ - var requestObj = new GeneratePublicKeyRequest("RsaOaep256", "http://localhost:65309"); + var requestObj = new GeneratePublicKeyRequest("RsaOaep256", "http://localhost:65309 http://localhost:8080"); try { diff --git a/flex-microform-sample/Views/Home/Checkout.cshtml b/flex-microform-sample/Views/Home/Checkout.cshtml index c7540be..41c133d 100644 --- a/flex-microform-sample/Views/Home/Checkout.cshtml +++ b/flex-microform-sample/Views/Home/Checkout.cshtml @@ -116,8 +116,8 @@ payButton.addEventListener('click', function () { var options = { - cardExpirationMonth: expMonth.value, - cardExpirationYear: expYear.value + expirationMonth: expMonth.value, + expirationYear: expYear.value }; microform.createToken(options, function (err, token) { diff --git a/flex-microform-sample/Web.config b/flex-microform-sample/Web.config index 01e7f90..1a159c0 100644 --- a/flex-microform-sample/Web.config +++ b/flex-microform-sample/Web.config @@ -11,7 +11,13 @@ - + + + + + + + @@ -23,7 +29,7 @@ - + @@ -66,4 +72,4 @@ - + \ No newline at end of file