Title: [202582] trunk/Source/WebCore
Revision
202582
Author
[email protected]
Date
2016-06-28 12:50:01 -0700 (Tue, 28 Jun 2016)

Log Message

"Total amount is too big" error message is displaying on clicking Pay button
https://bugs.webkit.org/show_bug.cgi?id=159219
rdar://problem/26722110

Reviewed by Tim Horton.

Match the PassKit max amount.

* Modules/applepay/PaymentRequestValidator.cpp:
(WebCore::PaymentRequestValidator::validateTotal):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (202581 => 202582)


--- trunk/Source/WebCore/ChangeLog	2016-06-28 19:31:10 UTC (rev 202581)
+++ trunk/Source/WebCore/ChangeLog	2016-06-28 19:50:01 UTC (rev 202582)
@@ -1,5 +1,18 @@
 2016-06-28  Anders Carlsson  <[email protected]>
 
+        "Total amount is too big" error message is displaying on clicking Pay button
+        https://bugs.webkit.org/show_bug.cgi?id=159219
+        rdar://problem/26722110
+
+        Reviewed by Tim Horton.
+
+        Match the PassKit max amount.
+
+        * Modules/applepay/PaymentRequestValidator.cpp:
+        (WebCore::PaymentRequestValidator::validateTotal):
+
+2016-06-28  Anders Carlsson  <[email protected]>
+
         PaymentMerchantSession should wrap a PKPaymentMerchantSession
         https://bugs.webkit.org/show_bug.cgi?id=159218
         rdar://problem/26872118

Modified: trunk/Source/WebCore/Modules/applepay/PaymentRequestValidator.cpp (202581 => 202582)


--- trunk/Source/WebCore/Modules/applepay/PaymentRequestValidator.cpp	2016-06-28 19:31:10 UTC (rev 202581)
+++ trunk/Source/WebCore/Modules/applepay/PaymentRequestValidator.cpp	2016-06-28 19:50:01 UTC (rev 202582)
@@ -79,7 +79,7 @@
         return false;
     }
 
-    if (*total.amount > 1000000) {
+    if (*total.amount > 10000000000) {
         m_window.printErrorMessage("Total amount is too big.");
         return false;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to