PaymentResponse object

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Returned when a user has selected a payment method and approved a payment request.

Members

The PaymentResponse object has these types of members:

  • Methods
  • Properties

Methods

The PaymentResponse object has these methods.

Method Description
complete

Informs the browser that the purchase is finished and the appropriate terminating UI screen (success or fail) should be shown.

 

Properties

The PaymentResponse object has these properties.

Property Description

details

A JSON object that includes the data the merchant requires to process the transaction.

methodName

Thepayment method identifier for the payment method that the user selected for the transaction.

payerEmail

The email address chosen by the user.

payerPhone

The phone number chosen by the user.

shippingAddress

The shipping address selected by the user.

shippingOption

The ID for the selected shipping option.