Closed Bug 837286 Opened 11 years ago Closed 11 years ago

POST to /telefonica/app/private-yacht/purchase/webpay/prepare_pay returns a 403

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 882740

People

(Reporter: krupa.mozbugs, Assigned: kumar)

References

Details

(Whiteboard: p=2)

Attachments

(1 file)

steps to reproduce:
1. Launch marketplace-dev on your unagi phone
2. Log in
3. Search for private yacht
4. Click on the purchase button 

expected behavior:
Purchase flow is triggered.

observed behavior:
The button status changes to "Purchasing" for a second and then reverts to the app price since the POST fails with a 403.

POST /telefonica/app/private-yacht/purchase/webpay/prepare_pay)
http response [
HTTP/1.1 403 FORBIDDEN
Server: gunicorn/0.15.0
Vary: X-Requested-With, Accept-Language, Cookie, X-Mobile, User-Agent, Accept-Encoding
Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Strict-Transport-Security: max-age=2592000
Date: Fri, 01 Feb 2013 21:58:25 GMT
Transfer-Encoding: chunked
x-content-security-policy-report-only: policy-uri /services/csp/policy?build=7e7e
Via: Moz-pp-zlb09
Connection: keep-alive
Set-Cookie: multidb_pin_writes=y; expires=Fri, 01-Feb-2013 21:58:40 GMT; Max-Age=15; Path=/
x-frame-options: DENY
 ]
                     
additional info:
I had purchased/installed this app previously using a different account. I deleted the app and was logged in as a different user when I noticed the 403.
Assignee: nobody → amckay
Whiteboard: p=2
Target Milestone: 2013-02-07 → 2013-02-14
So we don't allow multiple purchases of the app if we think you've installed it already. This smells like a consumer page caching issue. Im not sure if bug 833955 fixes it. Perhaps on a 403 on this, we should just reload the page?
Summary: POST to /telefonica/app/private-yacht/purchase/webpay/prepare_pay return a 403 → POST to /telefonica/app/private-yacht/purchase/webpay/prepare_pay returns a 403
Target Milestone: 2013-02-14 → 2013-02-28
Version: 1.1 → 1.2
Priority: -- → P2
Added some logging, but I'm blocked by bug 843842 at the moment.
Depends on: 843842
Blocked until I can test effectively and get bango to text me or someone can help me and get texts.
Assignee: amckay → nobody
Target Milestone: 2013-02-28 → ---
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 2013-03-14
Target Milestone: 2013-03-14 → 2013-03-21
Target Milestone: 2013-03-21 → 2013-04-04
I went through the STR on today's build and I can't reproduce it. After logging in as a new user, the app purchased without any difficulty. Since it's been a while and a lot of code has changed, I'm closing it for now. We can re-open if it happens again.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Attached file http logs
I just hit this on a fresh build from today
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Target Milestone: 2013-04-04 → ---
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: