totalMoneyWithProposedCardSurcharge

Provides access to the total amount, including tip and a proposed card surcharge, if applicable. If the merchant sets a card surcharge for this location and the buyer pays with a card subject to surcharge, this will be the total amount authorized. This value can be used to display the amount with surcharge on a custom payment prompt screen. If tax is applied to the surcharge, this value also includes that tax. This value will be null if a card surcharge is not applicable. Example:

  • PaymentParameters.amountMoney = $10.00

  • PaymentParameters.tipMoney = $2.00

  • 3% card surcharge with 4% tax =

    $0.30 (3% of $

    10) +

    $0.01 (4% of $

    0.30 with Banker's Rounding) = $0.31

  • totalMoneyWithProposedCardSurcharge = $12.31