Simulate Pending state and purchase-fail using FakeStore

Hi.

I am now implement the case user purchase is failed. (IAP version 4.12.2)
and having some issue with IAP.

  1. module.useFakeStoreUIMode = FakeStoreUIMode.DeveloperUser
  • The manual page said, we can test fail-case using UImode.DeveloperUser. but the UI only have two buttons to proceed the fakestore “Success” and “OK.” not sure how I can giving options for failure reason as How to Test | In App Purchasing | 4.0.3 said.
  1. Handling Pending state.
  • I believe, once I return Pending state onto a Product, User should not be able to purchase same Product until Pending state is cleared? but FakeStore is keep allowing User to to purchase same Product within same session. Is it because FakeStore? or User is allowed to purchase again on same Product while previous purchase on the product is on pending.