Closed Bug 1023601 Opened 10 years ago Closed 10 years ago

Bango token checking failing

Categories

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

2014-Q2
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andy+bugzilla, Assigned: keir)

Details

(Whiteboard: [qa-])

We turned on:
* billing config v2
* bango identity
on our stage servers.

We get the following:
* click the buy button on an app
* enter pin
* get a "notice error" page

Looking at the logs I see the following:

Jun 10 22:38:20 localhost6.localdomain:  s.bango:INFO webpay:webpay:e1f53fff-c7f5-45ed-88da-5c0e608b28d6 Received notification for billing_config_id u'133857355': bango_response_code: u'INTERNAL_ERROR'; bango_response_message: u'A problem on the server meant that the request could not be processed'; bango_trans_id: u'0'; bango_token: u'fefd8cdc-1b18-47b3-a09c-e5a89396873a'; moz_transaction: u'webpay:e1f53fff-c7f5-45ed-88da-5c0e608b28d6'; amount: u'0'; currency: u'' :/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20140610220107-df8f756f02/solitude/lib/bango/resources/notification.py:41
Jun 10 22:38:20 localhost6.localdomain:  s.proxy:INFO <anon>:- Adding header: SOAPAction, "https://mozilla.bango.net/CheckToken" :/data/addons-stage/www/payments-proxy.allizom.org/deploy-solitude-proxy-stage-20140610220017-df8f756f02/solitude/lib/proxy/views.py:155

Jun 10 22:38:21 localhost6.localdomain:  s.cef:ERROR webpay:webpay:e1f53fff-c7f5-45ed-88da-5c0e608b28d6 CEF Severity: 3 Message: Bango query string tampered with: field: moz_signature; fake: 2c0f2fc804ee7da59d182b9f3d2403de28f6e9633e6c23829d6ba5e16ef042e4; true: None :/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20140610220107-df8f756f02/solitude/solitude/base.py:233
Jun 10 22:38:21 localhost6.localdomain:  s.bango:INFO webpay:webpay:e1f53fff-c7f5-45ed-88da-5c0e608b28d6 Bango query string tampered with: field: moz_signature; fake: 2c0f2fc804ee7da59d182b9f3d2403de28f6e9633e6c23829d6ba5e16ef042e4; true: None :/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20140610220107-df8f756f02/solitude/lib/bango/forms.py:374

Jun 10 22:38:21 localhost6.localdomain:  s.bango:INFO webpay:webpay:e1f53fff-c7f5-45ed-88da-5c0e608b28d6 token check response: (TokenCheckerResponse){#012   ResponseMessage = "A problem on the server meant that the request could not be processed"#012   ResponseCode = "INTERNAL_ERROR"#012   Signature = None#012   MerchantTransactionId = None#012   BangoUserId = 0#012   BangoTransactionId = 0#012   Price = 0.0#012   Currency = None#012   TransactionMethod = #012      (TransactionMethod){#012         networkId = None#012         networkDescription = None#012         paymentMethodId = None#012         paymentMethodDescription = None#012      }#012 } :/data/addons-stage/www/payments.allizom.org/deploy-solitude-stage-20140610220107-df8f756f02/solitude/lib/bango/forms.py:376
Priority: -- → P2
After an investigation I came to the conclusion that the Token Checker is fine, it's just that the request you are inspecting failed with an Internal Error therefore the behavior presented here is actually correct.
Closing based on Simones comments.
Status: NEW → 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.