Hello,
Welcome to Microsoft Q&A!
Or is it intended "optional" because I can "optionally" request a receipt?
Yes, you could choose to request a receipt or not when you are using the old Windows.ApplicationModel.Store namespace. For example, when you are trying to CurrentApp.RequestProductPurchaseAsync Method or CurrentApp.RequestAppPurchaseAsync(Boolean) Method, both of them have a bool parameter called includeReceipt
. This parameter determines if the method should return the receipts for this app. If you are passing false as the value, then no receipt will be returned.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.