pay-service not handling IAP purchases json correctly from server
Bug #1524941 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Alejandro J. Cura | ||
pay-service (Ubuntu) |
Fix Released
|
Critical
|
dobey |
Bug Description
The new pay-service was implemented according to the documentation for the IAP server API, which was wrong at the time. As a result, the parsing of JSON when reading the full list of purchases for an app is wrong.
Related branches
lp:~dobey/pay-service/fix-json
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 203 lines (+65/-46)3 files modifiedservice-ng/src/pay-service-2/service/fake_webclient.go (+44/-32)
service-ng/src/pay-service-2/service/pay_service.go (+20/-13)
service-ng/src/pay-service-2/service/pay_service_test.go (+1/-1)
Changed in canonical-devices-system-image: | |
assignee: | nobody → Alejandro J. Cura (alecu) |
importance: | Undecided → Critical |
milestone: | none → ww02-2016 |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in ubuntuone-credentials (Ubuntu): | |
status: | Triaged → In Progress |
affects: | ubuntuone-credentials (Ubuntu) → pay-service (Ubuntu) |
Changed in pay-service (Ubuntu): | |
status: | In Progress → Triaged |
status: | Triaged → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | ww02-2016 → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package pay-service - 15.10+16. 04.20160114- 0ubuntu1
--------------- 16.04.20160114- 0ubuntu1) xenial; urgency=medium
pay-service (15.10+
* Add trust-store integration for requests to purchase items.
Introduce translations support, as trust-store had a displayed
string. (LP: #1524943)
* Call observer with status UNKNOWN and refund timeout of 0 on error.
(LP: #1526929)
* Fix typo in setup-staging.sh. Also include remounting / in setup-
staging.sh to enable writable for key. (LP: #1533242)
* Pull in the gettext package for golang.
* Update to handle purchase correctly after server has been fixed.
(LP: #1524941)
-- Rodney Dawes <email address hidden> Thu, 14 Jan 2016 03:17:44 +0000