Closed Bug 1014872 Opened 10 years ago Closed 10 years ago

[Spartacus] Error when creating PIN

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

Avenir
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstriemer, Assigned: mstriemer)

References

Details

(Whiteboard: [qa-])

When you create your PIN webpay returns a 201 with Content-type: application/json but there is no content. This causes jQuery to parse nothing as JSON and the failed callback fires with an unknown error.

The webpay endpoint should either return 204 or the JSON for the created resource.
Status: NEW → ASSIGNED
https://github.com/mozilla/webpay/pull/469
Assignee: nobody → mstriemer
https://github.com/mozilla/webpay/commit/7d9459409667cee9ccb5419c551c729e1ab5ec74
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.