<!--
{
  "documentType" : "article",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/apple-pay-on-the-web-version-4-release-notes",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Apple Pay on the Web Version 4 Release Notes"
}
-->

# Apple Pay on the Web Version 4 Release Notes

The version of Apple Pay available in macOS 10.14.1 and iOS 12.1.

## Discussion

New features include:

- Added support for a zero [`total`](/documentation/ApplePayontheWeb/ApplePayPaymentRequest/total) in [`ApplePayPaymentRequest`](/documentation/ApplePayontheWeb/ApplePayPaymentRequest). In versions of Apple Pay JS prior to version 4, the amount of the total must be greater than zero. Check for version availability using [`supportsVersion`](/documentation/ApplePayontheWeb/ApplePaySession/supportsVersion) before setting a zero amount.
- Added support for new Apple Pay buttons including `book`, `subscribe`, and `check-out`. See <doc://com.apple.documentation/documentation/ApplePayontheWeb/displaying-apple-pay-buttons-using-css> for more information.
- Added the following supported networks: `cartesBancaires`, `eftpos`, `electron`, `maestro`, and `vPay`. See [`supportedNetworks`](/documentation/ApplePayontheWeb/ApplePayRequest/supportedNetworks) for more information.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)