Posts

Post not yet marked as solved
7 Replies
2.1k Views
To be able to test the purchase flow of ask to buy in the sandbox I found this forum post https://forums.developer.apple.com/message/273655#273655 that explains a setup to test it in the sandbox.What works is the initial prompting of the child, but what doesn't work is the approval of the parent once the child made the request. I wasn't able to find documentation beyond what is mentioned in the post above. The only other thing I found is an older post, mentioning that it's not supported at all in the sandbox https://forums.developer.apple.com/thread/38561#117143 .The api provides simulatesAskToBuyInSandbox so I assume at least parts of the flow are supported, but maybe the request to the parent is not supported in the sandbox?Any links to documentation, personal experience or examples on how to implement this would be greatly appreciated
Posted Last updated
.
Post marked as solved
5 Replies
1k Views
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
Posted Last updated
.