The default bug view has changed. See this FAQ.

Pass app product icon URLs from webpay to Bango

RESOLVED FIXED in 2013-04-18

Status

Marketplace
Payments/Refunds
P2
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: kumar, Assigned: kumar)

Tracking

2013-04-18
x86
Mac OS X
Points:
---
Dependency tree / graph

Details

(Whiteboard: p=3)

Attachments

(2 attachments)

Bango's Billing Config API accepts this undocumented (!) config parameter:

  APP_LOGO_IMG_URL

We need to pass in a URL of the purchased app icon so that the Bango confirmation screen can display it. This is a UX requirement.
Blocks: 775802
Priority: -- → P2
Maureen, what is the optimal width/height for app icons?


Let's do this quick and dirty for Marketplace and make it more robust for in-app payments later. We can accept a new request parameter like:

{
  iss: ...,
  request: {
    name: "Magical Unicorn",
    pricePoint: 1,
    imageURLs: {
      "512": "http://.../unicorn.png"
    }
  }
}

We actually did this in the old in-app handler: https://github.com/mozilla/zamboni/blob/master/mkt/inapp_pay/tasks.py#L94
Whiteboard: p=3

Comment 2

4 years ago
Michael--can you let Kumar know the pixel dimensions for the app icon that appears on the purchase confirmation screen for Payments?
Created attachment 722390 [details]
20x22

20px x 22px
Created attachment 722391 [details]
2x

In case you need it in the future.
Thanks. Also, can we get a placeholder icon for products that don't have images? This will apply more to in-app payments since those are a bit out of our control.
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 2013-03-21

Comment 6

4 years ago
(In reply to Kumar McMillan [:kumar] from comment #5)
> Thanks. Also, can we get a placeholder icon for products that don't have
> images? This will apply more to in-app payments since those are a bit out of
> our control.

We use this rocket icon when you dont pass a url, as per 
http://www.mozilla.org/en-US/styleguide/identity/marketplace/branding/
Target Milestone: 2013-03-21 → 2013-03-28
I followed up with Michael. All product icons should be 64px x 64px.
Blocks: 856205
Target Milestone: 2013-03-28 → 2013-04-04
Target Milestone: 2013-04-04 → ---
Target Milestone: --- → 2013-04-11
Target Milestone: 2013-04-11 → ---
Zamboni API landed here: https://github.com/mozilla/zamboni/commit/d15423651f4cf86d65e36ab9f12f2c42b559d318
Summary: Pass app icon URLs from webpay to Bango → Pass app product icon URLs from webpay to Bango
Solitude API changes: https://github.com/mozilla/solitude/commit/b38bab1bbfab553d03817d9fd192847d465aae3b
WebPay changes: https://github.com/mozilla/webpay/commit/5a49c2a1806d4a92e9d7bae2abc09afd3b538735

It should be ready to go. I'll test it out on the dev server.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-04-18
FYI, we had to disable this because of auth errors. See bug 864451
Documentation for this was added in bug 869193
You need to log in before you can comment on or make changes to this bug.