Changeset 202582 in webkit


Ignore:
Timestamp:
Jun 28, 2016 12:50:01 PM (8 years ago)
Author:
andersca@apple.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r202581 r202582  
     12016-06-28  Anders Carlsson  <andersca@apple.com>
     2
     3        "Total amount is too big" error message is displaying on clicking Pay button
     4        https://bugs.webkit.org/show_bug.cgi?id=159219
     5        rdar://problem/26722110
     6
     7        Reviewed by Tim Horton.
     8
     9        Match the PassKit max amount.
     10
     11        * Modules/applepay/PaymentRequestValidator.cpp:
     12        (WebCore::PaymentRequestValidator::validateTotal):
     13
    1142016-06-28  Anders Carlsson  <andersca@apple.com>
    215
  • trunk/Source/WebCore/Modules/applepay/PaymentRequestValidator.cpp

    r202341 r202582  
    8080    }
    8181
    82     if (*total.amount > 1000000) {
     82    if (*total.amount > 10000000000) {
    8383        m_window.printErrorMessage("Total amount is too big.");
    8484        return false;
Note: See TracChangeset for help on using the changeset viewer.