Posts

Post not yet marked as solved
6 Replies
Please explain what you mean by "the purchase transaction is confirmed".>>Follow the steps below:step1. Launch appstep2. Responce paymentQueue:updatedTransactions: (paymentQueue.transacitons is empty)step3. Request addPayment:step4. Responce paymentQueue:updatedTransactions: (paymentQueue.transacitons have a purchase transaction.)step5. Delivery itemstep6. Disconnect networkstep7. Request finishTransactionstep8. Responce paymentQueue:removedTransactions: (paymentQueue.transacitons is empty)step9. Relaunch after closing the appstep10. Responce paymentQueue:updatedTransactions: (paymentQueue.transacitons have a purchase transaction.It's a Transacion of step4)Please explain what you mean by "see the corresponding purchase list in the queue". What queue? What list?>>How to check transaction (Transaction of step4) of paymentQueue between step8 and step9?Disconnecting the network and requesting a finishTransaction for the purchase transaction removes from the paymentQueue.Since relaunching the app adds it back, I think finishTransaction may fail depending on network conditions.I want to check the list that transaction list of paymentQueue (Transaction of unfinished step4) before relaunching.
Post not yet marked as solved
6 Replies
Thank you.I don't think there's a lot of network breaks.However, due to the nature of mobile, network disconnection may occur at certain times.If you call "finishTransaction:" after a network disconnect, it will be removed from the queue. However, when you reboot the app, the purchase transaction is confirmed.So, it doesn't seem to be a local api, and I see it as an api where failure is possible.Until you reboot, there is no way to see the corresponding purchase list in the queue where finishTransaction has not completed. Is there a way to update the queue at runtime?
Post not yet marked as solved
3 Replies
Thanks. I used storyboard.