Closed Bug 848675 Opened 11 years ago Closed 11 years ago

Pass app product icon URLs from webpay to Bango

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-04-18

People

(Reporter: kumar, Assigned: kumar)

References

Details

(Whiteboard: p=3)

Attachments

(2 files)

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.
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
Michael--can you let Kumar know the pixel dimensions for the app icon that appears on the purchase confirmation screen for Payments?
Attached image 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
(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 → ---
Summary: Pass app icon URLs from webpay to Bango → Pass app product icon URLs from webpay to Bango
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
Closed: 11 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.

Attachment

General

Created:
Updated:
Size: