Closed Bug 1035262 Opened 12 years ago Closed 12 years ago

Cannot start a payment on Stage

Categories

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

Avenir
x86_64
Windows 7
defect

Tracking

(Not tracked)

VERIFIED FIXED
2014-07-15

People

(Reporter: vcarciu, Assigned: jlockhart)

References

Details

(Keywords: regression)

Prerequisites: FFOS 1.2 device, Marketplace Stage app installed Steps to reproduce: 1. Open MP Stage and log in 2. Find a paid app and try to purchase it by pressing the price button Expected results: Payment flow is started and users are able to purchase apps Actual results: Waiting spinning wheel is continuously displayed together with "Connecting to Persona" message Logcats : https://pastebin.mozilla.org/5529625
Working for me too, but this is essentially a persona issue.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
s/too/now/ but you get the idea.
I thought this was a persona bug, but I don't think it is, but its something in our webpay code maybe. You can login fine from the settings page. You can login in the payment flow just fine. But if you try to purchase without being logged in, you get stuck on "Connecting to Persona". Also if you do login in the payment flow, you'll note that on response you get stuck on "Connecting to Persona". http://screencast.com/t/SXFHNbhtCK That's Firefox 1.4 in the simulator.
Assignee: nobody → scolville
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I can't reproduce this. For me, it did wait a long time on Connecting To Persona when I ran through the steps in comment #3. However, eventually it showed the PIN screen. Maybe this is a Persona issue? Does it time out for you or does it connect eventually?
In the logs I see: Jul 8 05:05:32 localhost6.localdomain: [] django_browserid.base:INFO Verification URL: https://login.persona.org/verify :/data/addons-stage/www/marketplace.allizom.org-webpay/current/venv/src/django-browserid/django_browserid/base.py:107 Jul 8 05:05:33 localhost6.localdomain: [10.8.83.213] w.auth:INFO Persona assertion ok: {u'status': u'okay', u'audience': u'https://marketplace.allizom.org', u'expires': 1404796052421, u'email': u'amckay@mozilla.com', u'issuer': u'login.persona.org'} :/data/addons-stage/www/marketplace.allizom.org-webpay/deploy-webpay-stage-20140704193615-45771322b7/webpay/webpay/auth/views.py:99 ... Jul 8 05:05:34 localhost6.localdomain: [10.8.83.213] w.middleware:ERROR HttpServerError: Server Error 500: https://payments.allizom.org/generic/buyer/1071/#012Content: {u'error_message': u'Key buyeremail:key not found.', u'error_code': u'ValueError', u'error_data': {}}#012: {u'error_message': u'Key buyeremail:key not found.... (not JSON content) :/data/addons-stage/www/marketplace.allizom.org-webpay/deploy-webpay-stage-20140704193615-45771322b7/webpay/webpay/base/middleware.py:37 Jared, you added in: https://github.com/mozilla/solitude/blob/master/solitude/settings/base.py#L175 Do you need to get that setting added to private.AES_KEYS on dev, stage and prod? https://github.com/mozilla/solitude/blob/master/solitude/settings/sites/stage/db.py#L42
Flags: needinfo?(jkerim)
Assignee: scolville → jkerim
Blocks: 858729
Blocks: 1024489
Depends on: 1035904
Priority: -- → P1
Target Milestone: 2014-07-08 → 2014-07-15
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Flags: needinfo?(jkerim)
Resolution: --- → FIXED
Each solitude deployment required a new AES key, shown here: https://bugzilla.mozilla.org/show_bug.cgi?id=1035904
This is not reproducible anymore, even if Payments are still blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=1024489#c20 I will mark this as verified and we can track payments issues on the other bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.