Closed Bug 1027397 Opened 10 years ago Closed 10 years ago

Expose application ID in Dev Hub page for in-app products

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kumar, Assigned: andy+bugzilla)

References

Details

As a developer, I need to see my application ID somewhere prominently on the in-app product management page so I can pass that as fxpay.init({appId: 321}). See bug 1024057.

Ultimately, this is necessary to reject otherwise valid receipts that belong to foreign apps.
Blocks: 944480
Assignee: nobody → amckay
I think we did something similar in bug 867265 where we expose the domain for hosted apps or the origin for packaged apps. We ensure they are unique in bug 878105. This has the advantage of being unique, something obvious to the developer, something the developer can set prior to uploading and isn't just another id. The confusion that comes from having more than one id is terrible sometimes.

If that's cool I'd like to suggest, we change fxpay to verify the url field like receiptverifier does with prodURL. This bug would then be about highlighting the value of the url field in the payment pages somewhere.
After chatting, we are showing an error on the in-app products page if there's no origin or the app isn't packaged.

https://github.com/mozilla/zamboni/pull/2246
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.