Closed Bug 865639 Opened 11 years ago Closed 11 years ago

One of my purchases on wifi failed with Invalid parameter value:userID

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2013-05-16

People

(Reporter: krupa.mozbugs, Assigned: keir)

References

Details

Attachments

(1 file)

Country: Spain
Network: Wifi
Language: Spanish
Bango:Production
Marketplace: Stage

steps to reproduce:
1. Start the purchase of a paid app
2. Sign in as a new user
3. Create PIN
4. Confirm mobile number
5. Purchase app via carrier billing

The app purchase failed with "Invalid parameter value:userID" error code is SVC0002

We have seen this error ~3 times this week
I saw this error message again on this number: 6389935628 at around 3.15pm on 04/26

comment 0 error message was on the number 639311207
Here is the logcat but this may not be useful. Keir, instead of logging an object can you log the useful attributes? Specifically, this line:

E/GeckoConsole(  582): Content JS LOG at https://mozilla.bango.net/_/js/buynow-main.js:117 in anonymous: [object Object]

Full JS console log:

E/GeckoConsole(  582): Content JS WARN at app://keyboard.gaiamobile.org/js/keyboard.js:665 in modifyLayout: No space key found. No special keys will be added.
E/GeckoConsole(  770): [JavaScript Warning: "Unknown property 'box-sizing'.  Declaration dropped." {file: "app://sms.gaiamobile.org/style/common.css" line: 31}]
E/GeckoConsole(  770): [JavaScript Warning: "Error in parsing value for 'line-height'.  Declaration dropped." {file: "app://sms.gaiamobile.org/style/sms.css" line: 506}]
E/GeckoConsole(  770): [JavaScript Warning: "Expected pseudo-element but found '-moz-placeholder'.  Ruleset ignored due to bad selector." {file: "app://sms.gaiamobile.org/shared/style/input_areas.css" line: 39}]
E/GeckoConsole(  582): [JavaScript Warning: "Invalid URI. Load of media resource  failed." {file: "app://system.gaiamobile.org/index.html" line: 0}]
E/GeckoConsole(  840): [JavaScript Warning: "Unknown property '-moz-align-self'.  Declaration dropped." {file: "resource://gre-resources/ua.css" line: 44}]
E/GeckoConsole(  582): mozilla.bango.net : server does not support RFC 5746, see CVE-2009-3555
E/GeckoConsole(  582): [JavaScript Warning: "Expected declaration but found '*'.  Skipped to next declaration." {file: "https://mozilla.bango.net/_/css/base.css" line: 1}]
E/GeckoConsole(  582): [JavaScript Warning: "Expected declaration but found '*'.  Skipped to next declaration." {file: "https://mozilla.bango.net/_/css/base.css" line: 1}]
E/GeckoConsole(  582): [JavaScript Warning: "Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector." {file: "https://mozilla.bango.net/_/css/style.css" line: 1}]
E/GeckoConsole(  582): mozilla.bango.net : server does not support RFC 5746, see CVE-2009-3555
E/GeckoConsole(  582): mozilla.bango.net : server does not support RFC 5746, see CVE-2009-3555
E/GeckoConsole(  582): mozilla.bango.net : server does not support RFC 5746, see CVE-2009-3555
E/GeckoConsole(  582): [JavaScript Warning: "Unknown property 'box-sizing'.  Declaration dropped." {file: "https://mozilla.bango.net/payment/buynow/" line: 0}]
E/GeckoConsole(  582): [JavaScript Warning: "Unknown property 'box-sizing'.  Declaration dropped." {file: "https://mozilla.bango.net/payment/buynow/" line: 0}]
E/GeckoConsole(  582): [JavaScript Warning: "Unknown property 'box-sizing'.  Declaration dropped." {file: "https://mozilla.bango.net/payment/buynow/" line: 0}]
E/GeckoConsole(  582): Content JS LOG at https://mozilla.bango.net/_/js/buynow-main.js:117 in anonymous: [object Object]
E/GeckoConsole(  869): [JavaScript Warning: "Unknown property '-moz-align-self'.  Declaration dropped." {file: "resource://gre-resources/ua.css" line: 44}]
E/GeckoConsole(  869): [JavaScript Warning: "Expected ':' but found '='.  Declaration dropped." {file: "http://bango.net/whoami.aspx?AspxAutoDetectCookieSupport=1" line: 0}]
After investigation we believe this is an issue with BlueVia interpreting the billing request we send, although currently we dont log the full XML request and response.  We will push a release tomorrow that includes this logging, so next time we hit this issue we'll have more data.
Hi,

we reviewed the credentials configuration and now they should work.

Could you review it?
Best
Marking this as fixed for verification.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
I hit this error message again today

I was on wifi and had to authenticate my phone number

STR:
1. User is on wifi
2. Start the purchase of a paid app
3. Sign in as a new user
4. Create PIN
5. Confirm mobile number after setting country to Spain and carrier to telefonica (phone number: 639311207)
6. Confirm carrier billing

purchase failed with Invalid parameter value:userID"
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file http logs
Keir, this happens first time wifi payment is made when a device is flashed, this means every user will hit it first time
Flags: needinfo?(keir)
Hi,

Bango is currently sending these request:

[2013/5/3 1:36:40.38] 
<?xml version="1.0" encoding="utf-8"?><pa:paymentRequest xmlns:pa="http://api.bluevia.com/schemas/payment/v2"><userId>tel:34639311207         </userId><descr
iption>Mozilla - marketplace.allizom.org:translations:402</description><amount>0.26</amount><currency>EUR</currency><channel>WEB</channel><referenceCode>8bfd
91d1-897d-4c54-be3a-a8bdc1198586</referenceCode></pa:paymentRequest>

And the response:

[2013/5/3 1:36:40.55] 
ERROR: Fault raised in a policy, with body: <?xml version='1.0' encoding='UTF-8'?><wstxns1:exception xmlns:wstxns1="http://api.bluevia.com/schemas/common/v2"><wstxns1:exceptionId>SVC0002</wstxns1:exceptionId><wstxns1:exceptionText>Invalid parameter value: userId</wstxns1:exceptionText></wstxns1:exception>

as you can see, Bango is sending:
<userId>tel:34639311207         </userId>

the spaces are not allowed in this field, it should be:
<userId>tel:34639311207</userId>

as Nelson tested:

De: Nelson Santos <nelson@bango.com>
Fecha: Tue, 30 Apr 2013 16:50:05 +0100
Para: Jorge Vila Forcén <jorgev@tid.es>, LOPEZ JOSE <antoniojose.lopeznavarro@telefonica.com>
CC: "Steve Ruston (sruston@mozilla.com)" <sruston@mozilla.com>, Karen Oakley <karen@bango.com>, Keir Kettle <Keir@bango.com>, Tom Jacobs <tom@bango.com>
Asunto: RE: [Mozilla] Billing Requests with MSISDN

Hi all,
 
Excellent, the issue has been fixed.
 
Please find the request and response below.
 
Request – 0.15 EUR
 
<?xml version="1.0" encoding="utf-8"?>
<pa:paymentRequest xmlns:pa="http://api.bluevia.com/schemas/payment/v2">
         <userId>tel:34628661469</userId>
         <description>Mozilla - A name for the number</description>
         <amount>0.12</amount>
         <currency>EUR</currency>
         <channel>WEB</channel>
         <referenceCode>fb0218d8-fbd9-422a-b28f-638133225997</referenceCode>
</pa:paymentRequest>
 
Response:
<?xml version='1.0' encoding='UTF-8'?>
<wstxns1:paymentStatus xmlns:wstxns1="http://api.bluevia.com/schemas/payment/v2">
         <wstxns1:paymentMethod>
                 <wstxns1:type>directToBill</wstxns1:type>
         </wstxns1:paymentMethod>
         <wstxns1:transactionId>1ac76b41-39bb-429c-ae19-92d449110b72</wstxns1:transactionId>
         <wstxns1:status>charged</wstxns1:status>
         <wstxns1:statusDate>2013-04-30T15:46:57.825Z</wstxns1:statusDate>
         <wstxns1:referenceCode>fb0218d8-fbd9-422a-b28f-638133225997</wstxns1:referenceCode>
</wstxns1:paymentStatus>
 
Thank you,
 
Best,
Nelson

---

Jorge
This is fixed on the test platform and is scheduled for prod w/c 13/5
Flags: needinfo?(keir)
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-16
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: