The MerchantValidationEvent interface of the the Payment Request enables a merchant to verify themselves as allowed to use a particular handler.
The MerchantValidationEvent interface of the the Payment Request enables a merchant to verify themselves as allowed to use a particular handler.
(complete this & args)
Method.
The web.payments.MerchantValidationEvent
method complete()
merchant-specific information previously received from the validationURL
uses it to validate the merchant.
merchantValidationEvent.complete(validationData); merchantValidationEvent.complete(merchantSessionPromise);
See also: https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/complete
Method. The `web.payments.MerchantValidationEvent` method complete() merchant-specific information previously received from the `validationURL` uses it to validate the merchant. `merchantValidationEvent.complete(validationData); merchantValidationEvent.complete(merchantSessionPromise);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/complete`
(constructor & args)
Constructor.
The MerchantValidationEvent() constructor creates a new web.payments.MerchantValidationEvent
object. You should not have to create these events yourself; instead, just handle the merchantvalidation event.
type
A web.DOMString
which must be merchantvalidation, the only type of event which uses the MerchantValidationEvent interface.
options Optional
An optional dictionary which may contain zero or more of the following properties:
methodName Optional
A web.DOMString
containing the payment method identifier for the payment handler being used. This is an empty string by default.
validationURL Optional
The URL from which to retrieve payment handler specific verification information used to validate the merchant. This is an empty string by default.
See also: https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/MerchantValidationEvent
Constructor. The MerchantValidationEvent() constructor creates a new `web.payments.MerchantValidationEvent` object. You should not have to create these events yourself; instead, just handle the merchantvalidation event. type A `web.DOMString` which must be merchantvalidation, the only type of event which uses the MerchantValidationEvent interface. options Optional An optional dictionary which may contain zero or more of the following properties: methodName Optional A `web.DOMString` containing the payment method identifier for the payment handler being used. This is an empty string by default. validationURL Optional The URL from which to retrieve payment handler specific verification information used to validate the merchant. This is an empty string by default. See also: `https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/MerchantValidationEvent`
(method-name this)
Property.
[Read Only]
The web.payments.MerchantValidationEvent
property methodName
a read-only value which returns a string indicating the payment
identifier which represents the payment handler that requires
validation.
methodID = merchantValidationEvent.methodName;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/methodName
Property. [Read Only] The `web.payments.MerchantValidationEvent` property methodName a read-only value which returns a string indicating the payment identifier which represents the payment handler that requires validation. `methodID = merchantValidationEvent.methodName;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/methodName`
(validation-url this)
Property.
[Read Only]
The web.payments.MerchantValidationEvent
property validationURL
a read-only string value providing the URL from which to fetch
payment handler-specific data needed to validate the merchant.
validationURL = merchantValidationEvent.validationURL;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/validationURL
Property. [Read Only] The `web.payments.MerchantValidationEvent` property validationURL a read-only string value providing the URL from which to fetch payment handler-specific data needed to validate the merchant. `validationURL = merchantValidationEvent.validationURL;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MerchantValidationEvent/validationURL`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close