bindings/payment_request_1_1 library
Payment Request API 1.1
Classes
- PaymentCompleteDetails
- PaymentCurrencyAmount
- PaymentDetailsBase
- PaymentDetailsInit
- PaymentDetailsModifier
- PaymentDetailsUpdate
- PaymentItem
- PaymentMethodChangeEvent
-
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting browsers.
The interface of the Payment Request API describes the
paymentmethodchange
event which is fired by some payment handlers when the user switches payment instruments (e.g., a user selects a "store" card to make a purchase while using Apple Pay). - PaymentMethodChangeEventInit
- PaymentMethodData
- PaymentRequest
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The Payment Request API's interface is the primary access point into the API, and lets web content and apps accept payments from the end user on behalf of the operator of the site or the publisher of the app.
- PaymentRequestUpdateEvent
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface is used for events sent to a PaymentRequest instance when changes are made to shipping-related information for a pending PaymentRequest. Those events are:
- PaymentRequestUpdateEventInit
- PaymentResponse
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Payment Request API is returned after a user selects a payment method and approves a payment request.
- PaymentValidationErrors
-
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting browsers.
The dictionary represents objects providing information about
any and all errors that occurred while processing a payment
request. When validation of the PaymentResponse returned by the
PaymentRequest.show()
orPaymentResponse.retry()
methods fails, your code creates a object to pass intoretry()
so that the user agent knows what needs to be fixed and what if any error messages to display to the user.
Enums
Extensions
- PropsPaymentCompleteDetails on PaymentCompleteDetails
- PropsPaymentCurrencyAmount on PaymentCurrencyAmount
- PropsPaymentDetailsBase on PaymentDetailsBase
- PropsPaymentDetailsInit on PaymentDetailsInit
- PropsPaymentDetailsModifier on PaymentDetailsModifier
- PropsPaymentDetailsUpdate on PaymentDetailsUpdate
- PropsPaymentItem on PaymentItem
- PropsPaymentMethodChangeEvent on PaymentMethodChangeEvent
- PropsPaymentMethodChangeEventInit on PaymentMethodChangeEventInit
- PropsPaymentMethodData on PaymentMethodData
- PropsPaymentRequest on PaymentRequest
- PropsPaymentRequestUpdateEvent on PaymentRequestUpdateEvent
- PropsPaymentResponse on PaymentResponse
- PropsPaymentValidationErrors on PaymentValidationErrors