Contents

pendingAskToBuyConfirmation

A Boolean value that indicates whether the transaction is awaiting an Ask to Buy confirmation.

Declaration

var pendingAskToBuyConfirmation: Bool { get }

Discussion

To test an Ask to Buy scenario, first set askToBuyEnabled to true before making a purchase. If pendingAskToBuyConfirmation is true, approve the transaction by calling approveAskToBuyTransaction(identifier:) , or decline it by calling declineAskToBuyTransaction(identifier:).

See Also

Getting Test Environment States