Closed
Bug 710289
Opened 14 years ago
Closed 14 years ago
verify your receipt verifyReceipt method missing
Categories
(Web Apps :: Extension, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 707994
People
(Reporter: ozten, Unassigned)
Details
Attachments
(1 file)
|
83.96 KB,
image/png
|
Details |
I'm using the web version of the Developer Preview App Store.
Steps to Repro
1) Use Ragavan's invite email link https://apps-preview.mozilla.org/en-US/firefox/users/login?Sekrit=parameters
2) Purchased myfavoritebooze.org for 0.01
3) On dashboard launch app
4) See "must verify" scary image (circle with slash and guy with hand)
Note: Because this is a paid app, we must verify your receipt before we can let you store your favorite booze!
5) Click link "Verify Receipt"
Expected:
Start using app
Actual:
Link disappears and "verifyReceipt method missing!" appears
with "Click on the image to go through anyway." under it.
Clicking image drops one into myfavoritebooze which has both a "Sign in" button and a "Install app" button.
| Reporter | ||
Comment 1•14 years ago
|
||
On step 3 I saw a "Sign in" button on the app dashboard, and *did not* click it before launching the app.
I also tried launching after sign in (after filing this bug) and still get the same weird flow.
| Reporter | ||
Comment 2•14 years ago
|
||
Firefox 8 (I'm pretty sure, could have been nightly I've been switching back and forth this morning).
Comment 3•14 years ago
|
||
We noted this in the release notes: https://developer.mozilla.org/en/Apps/Release_notes#Mozilla_Labs_App_Runtime_for_Firefox_v0.5.1 - verifyReceipt is only implemented in the native XUL app-shell context, so the method will be undefined in any other context.
Bug 707994 is tracking implementation. Meanwhile, to test verifyReceipt install MyFavoriteBooze "native" application from the store using the add-on, and launch it while keeping the Firefox process from which you installed the app running.
Updated•14 years ago
|
Component: Public Pages → Extension
Product: addons.mozilla.org → Web Apps
QA Contact: web-ui → extension
| Reporter | ||
Comment 4•14 years ago
|
||
1) Installed
https://addons.mozilla.org/en-US/firefox/addon/app-runtime/
2) Note: I didn't restart yet.
3) Clicked "Apps" icon in footer.
4) Clicked My favorite beer icon.
5) Same issues as original repro including "verifyReceipt" missing message.
Then... while filing, I notice the "You are not logged in! Sign in" notification and button below my browser (hanging off the Apps icon in footer).
Going through that flow didn't change the outcome.
Hope this is useful.
I'll try restarting Fx next (even though the jetpack is re-startless).
Comment 5•14 years ago
|
||
Hey Austin,
Some confusion in wording around what launching a native app means. verifyReceipt will not work if you launch your app from the dashboard. Here are the steps to reproduce so you can successfully verify a receipt:
1) Start with a fresh Firefox profile, install the app runtime add-on.
2) Visit apps-preview.mozilla.org and login.
3) Install the MyFavoriteBooze App from https://apps-preview.mozilla.org/en-US/apps/app/myfavoritebooze/
4) In the resulting doorhanger make sure you select the "Install (with Native app)" option. Keep this instance of Firefox running.
5) Assuming you are on the Mac, go to ~/Applications in your Finder. Double click the MyFavoriteBeer app icon to launch.
6) Click on the resulting link asking you to verify the receipt.
Receipt verification should work and you should be able to go through to the real app. Let me know if this doesn't work for you!
| Reporter | ||
Comment 6•14 years ago
|
||
FYI: I'm on linux, sorry about that detail.
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•