multiple ask to buy / deferred purchases

The question I wanted to ask is what happens to a pending purchase request if a user submits multiple ask to buy requests.
The setup would be:
store account 1 submits an ask to buy for product A.
Then an hour afterwards store account 1 submits another ask to buy request for product B.
The documentation quoted below states that only the most recent request, so in the example product B get's presented to the parent. But what happens to the pending request of product A?
Does that request get canceled by the store because the user is only allowed to ask to buy 1 product at a time?
And if it does get canceled, does my app get to know about it as if the purchase was unsuccessful or would I need to cancel that pending request myself as soon as the user submits a new ask to buy request?
this is the documentation I found: https://developer.apple.com/library/archive/technotes/tn2259/_index.html#//apple_ref/doc/uid/DTS40009578-CH1-UPDATE_YOUR_APP_FOR_ASK_TO_BUY
> If the child makes multiple Ask to Buy requests, only the most recent request is presented to the parent. Each new request restarts the 24 hour clock for processing the purchase request

Accepted Reply

>what happens to the pending request of product A?


Elsewhere under Apple's ask-to-buy it states: "Even if you make multiple requests for the same item, your organizer will get only one notification." I believe 'the same item' there means that the parent will get two requests in your example.


> if it does get canceled, does my app get to know about it

If it is 'canceled' by the parent your app gets a 'failed' transaction to updatedTransactions if it maintains an observer (or the next time it adds an observer). If the parent does not respond within 24 hours it disappears with no transaction.

Replies

>what happens to the pending request of product A?


Elsewhere under Apple's ask-to-buy it states: "Even if you make multiple requests for the same item, your organizer will get only one notification." I believe 'the same item' there means that the parent will get two requests in your example.


> if it does get canceled, does my app get to know about it

If it is 'canceled' by the parent your app gets a 'failed' transaction to updatedTransactions if it maintains an observer (or the next time it adds an observer). If the parent does not respond within 24 hours it disappears with no transaction.

Thank you for your quick response.
> If the child makes multiple Ask to Buy requests, only the most recent request is presented to the parent. Each new request restarts the 24 hour clock for processing the purchase request
So to me that sounds like it includes requests for different products, so even if the child requests product A and product B, the parent will only receive the most recent request, which would be product B.
Would you have a link to the documentation you read up on?
I was only able to find the documentation I linked above.
Because with what you said it seems like there can be multiple ask to buy requests that get presented to the parent

https://support.apple.com/en-us/HT201089

multiple asks to buy A, or multiple asks to buy B are not the same as one ask to buy A and one ask to buy B. Don't confuse them.

thanks a lot, was unsure because the documentation is not explicit about it.