PaymentFlow screen is blank because the POST returns a 405

RESOLVED FIXED in 2013-01-17

Status

Marketplace
Payments/Refunds
P1
major
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: krupa, Assigned: kumar)

Tracking

2013-01-17
Points:
---

Details

(Whiteboard: u=patron c=pmt p=1)

(Reporter)

Description

6 years ago
steps to reproduce:
1. Launch marketplace-dev on your unagi phone
2. Log in with valid credentials
3. Navigate to the details page for 'private yacht'
4. Click on the purchase button

observed behavior:
PaymentFlow opens in the trustedUI and sometimes, is blank because of a 405 on the POST to  /mozpay/?req=


POST /mozpay/?req=eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJhdWQiOiAibWFya2V0cGxhY2UtZGV2LmFsbGl6b20ub3JnIiwgImlzcyI6ICJtYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmciLCAicmVxdWVzdCI6IHsibmFtZSI6ICJQcml2YXRlIFlhY2h0IiwgImNoYXJnZWJhY2tVUkwiOiAiaHR0cHM6Ly9tYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmcvdGVsZWZvbmljYS9zZXJ2aWNlcy93ZWJwYXkvY2hhcmdlYmFjayIsICJwb3N0YmFja1VSTCI6ICJodHRwczovL21hcmtldHBsYWNlLWRldi5hbGxpem9tLm9yZy90ZWxlZm9uaWNhL3NlcnZpY2VzL3dlYnBheS9wb3N0YmFjayIsICJwcm9kdWN0RGF0YSI6ICJhZGRvbl9pZD00MTIwMTkmc2VsbGVyX3V1aWQ9Yzc2NjIxMDAtMTc1My00YzEwLWJjMGItMjBlZmE4MDJhODlhJmNvbnRyaWJfdXVpZD1iNzI2ZDIzYWQ5MmMzM2ViNjc2ZWMyNGE1ODBjNjdkMiIsICJwcmljZVBvaW50IjogMSwgImlkIjogIm1hcmtldHBsYWNlLWRldjo0MTIwMTkiLCAiZGVzY3JpcHRpb24iOiAiSGVyZWluIGxpZXMgeW91ciB2ZXJ5IG93biBwcml2YXRlIHlhY2h0LiBTZXQgc2FpbCEifSwgImV4cCI6IDEzNTgzNzc5NTgsICJpYXQiOiAxMzU4Mzc0MzU4LCAidHlwIjogIm1vemlsbGEvcGF5bWVudHMvcGF5L3YxIn0.tmI-a5LMc5bROpy1VkVGTeA60ffk16sa8onnG1W8bvk HTTP/1.1
Host: marketplace-dev.allizom.org
User-Agent: Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0
UTC - 1075053816[40404160]:   Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://marketplace-dev.allizom.org/mozpay/?req=eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJhdWQiOiAibWFya2V0cGxhY2UtZGV2LmFsbGl6b20ub3JnIiwgImlzcyI6ICJtYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmciLCAicmVxdWVzdCI6IHsibmFtZSI6ICJQcml2YXRlIFlhY2h0IiwgImNoYXJnZWJhY2tVUkwiOiAiaHR0cHM6Ly9tYXJrZXRwbGFjZS1kZXYuYWxsaXpvbS5vcmcvdGVsZWZvbmljYS9zZXJ2aWNlcy93ZWJwYXkvY2hhcmdlYmFjayIsICJwb3N0YmFja1VSTCI6ICJodHRwczovL21hcmtldHBsYWNlLWRldi5hbGxpem9tLm9yZy90ZWxlZm9uaWNhL3NlcnZpY2VzL3dlYnBheS9wb3N0YmFjayIsICJwcm9kdWN0RGF0YSI6ICJhZGRvbl9pZD00MTIwMTkmc2VsbGVyX3V1aWQ9Yzc2NjIxMDAtMTc1My00YzEwLWJjMGItMjBlZmE4MDJhODlhJmNvbnRyaWJfdXVpZD1iNzI2ZDIzYWQ5MmMzM2ViNjc2ZWMyNGE1ODBjNjdkMiIsICJwcmljZVBvaW50IjogMSwgImlkIjogIm1hcmtldHBsYWNlLWRldjo0MTIwMTkiLCAiZGVzY3JpcHRpb24iOiAiSGVyZWluIGxpZXMgeW91ciB2ZXJ5IG93biBwcml2YXRlIHlhY2h0LiBTZXQgc2FpbCEifSwgImV4cCI6IDEzNTgzNzc5NTgsICJpYXQiOiAxMzU4Mzc0MzU4LCAidHlwIjogIm1vemlsbGEvcGF5bWVudHMvcGF5L3YxIn0.tmI-a5LMc5bROpy1VkVGTeA60ffk16sa8onnG1W8bvk
UTC - 1075053816[40404160]:   Cookie: webpay_sessionid=f825d53e358e25687dc0724f8139c199; webpay_anoncsrf=1VNji9K41C9cJwsySlFOGWScfITaEYWC
Connection: keep-alive
Duration:        0.420 48d6d900       (marketplace-dev.allizom.org -> )
http response [
HTTP/1.1 405 METHOD NOT ALLOWED
Server: gunicorn/0.14.6
Vary: X-Mobile, User-Agent, Cookie, Accept-Language, Accept-Encoding
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Date: Wed, 16 Jan 2013 22:31:02 GMT
Transfer-Encoding: chunked
Via: Moz-pp-zlb09
Connection: keep-alive
Set-Cookie: multidb_pin_writes=y; expires=Wed, 16-Jan-2013 22:31:17 GMT; httponly; Max-Age=15; Path=/
x-frame-options: DENY
Allow: GET
(Reporter)

Comment 1

6 years ago
addition to the STR:
5. Enter PIN and click Continue

observed behavior:
405 after entering the PIN
btw, this broke all payments for returning users. It was a regression caused by bug 830550 and I've fixed it here https://github.com/mozilla/webpay/commit/0c65b92182ac58193e0b442ae3008c818c881a86
Assignee: nobody → kumar.mcmillan
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Priority: P2 → P1
Resolution: --- → FIXED
Target Milestone: --- → 2013-01-17
Whiteboard: u=patron c=pmt p=1
You need to log in before you can comment on or make changes to this bug.