Closed Bug 1070269 Opened 10 years ago Closed 10 years ago

Can't simulate IAPs in 2.0

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

Avenir
ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nick, Assigned: ashort)

References

Details

Attachments

(6 files)

With an application that was targeted at 1.4, it used persona to authenticate, and mozpay to do IAPs.  After slipping the target to 2.0, something seems broken.  The persona auth still seems to work, but in 2.0, a new screen appears that says "Connecting to Persona" with a spinner that never seems to complete.
As discussed in IRC, let's bump that checking for FxA up to 2.1.
Assignee: nobody → ashort
Blocks: 1007956
Summary: IAPs don't play nice with persona in 2.0 → Can't simulate IAPs in 2.0
To clarify, these are the STRs for the bug:

- create an app that accepts in-app payments
- start a simulated payment from the app in FxOS 2.0

Result: the simulation screen never loads, only a spinner is visible

There is probably a JS error. I asked Nick to attach a logcat so we can take a look.
ok, sounds like :ashort took an educated guess at what the JS error is ;)
Attached screen shot and logcat.  I truncated the log `adb logcat -c` right before running through a IAP flow.  The console wasn't enabled (do I need that?).  Builds of the game are available if you're on Mozilla's VPN at http://mzl.la/nick.  If this is fixed, when is the deploy that I can test with?
I tried on stage and i still hit 09-22 12:15:24.493 E/GeckoConsole(  307): [JavaScript Error: "NS_ERROR_NOT_INITIALIZED: Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessageSender.sendAsyncMessage]" {file: "resource://gre/modules/SignInToWebsite.jsm" line: 284}]

The page is stuck at "initializing" screen.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Device info:
B2G: 2.0.0.0-prerelease
platform version:32.0
build identifier: 2014922000331
Git commit info: 2014-09-20 04:50:26 0658006b
I was able to complete a simulated payment on a 2.0 using FxPay. I logged in using persona.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
verified fixed.
Status: RESOLVED → VERIFIED
Sorry team, I'm unable to complete the payment.  I still get the option to sign in, but now instead of the page with a spinner, I get a blank page and cannot complete the payment.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
^ Just saw this screen with an older build of the game.
Seems to be working now.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: