Closed Bug 868137 Opened 11 years ago Closed 11 years ago

Excluding CARD from Bango billing config types allows credit card payment

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-05-09

People

(Reporter: kumar, Assigned: keir)

References

Details

Attachments

(1 file)

Attached image screenshot.png
When removing the CARD value from type filters (bug 865657) the purchase screen still allows me to select credit card. It should not allow a credit card payment.

Any ideas?

Here is the SOAP request/response from the Bango Test system.

12:43:1367523811 suds.client:DEBUG sending to (https://webservices.test.bango.org/billingconfiguration/service.asmx)
message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="com.bango.webservices.billingconfiguration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <ns0:Body>
      <ns1:CreateBillingConfiguration>
         <ns1:request>
            <ns1:username>Mozilla</ns1:username>
            <ns1:password>********************</ns1:password>
            <ns1:bango>1113330000000310665</ns1:bango>
            <ns1:typeFilter>
               <ns1:string>OPERATOR</ns1:string>
               <ns1:string>PSMS</ns1:string>
               <ns1:string>INTERNET</ns1:string>
            </ns1:typeFilter>
            <ns1:priceList>
               <ns1:Price>
                  <ns1:amount>0.10</ns1:amount>
                  <ns1:currency>USD</ns1:currency>
               </ns1:Price>
               <ns1:Price>
                  <ns1:amount>0.10</ns1:amount>
                  <ns1:currency>EUR</ns1:currency>
               </ns1:Price>
            </ns1:priceList>
            <ns1:externalTransactionId>webpay:1e310c75-8d3c-48fd-b369-00d5a11ad811</ns1:externalTransactionId>
            <ns1:pageTitle>Krupa&apos;s paid app 1</ns1:pageTitle>
            <ns1:configurationOptions>
               <ns1:BillingConfigurationOption>
                  <ns1:configurationOptionName>APPLICATION_CATEGORY_ID</ns1:configurationOptionName>
                  <ns1:configurationOptionValue>18</ns1:configurationOptionValue>
               </ns1:BillingConfigurationOption>
               <ns1:BillingConfigurationOption>
                  <ns1:configurationOptionName>BILLING_CONFIGURATION_TIME_OUT</ns1:configurationOptionName>
                  <ns1:configurationOptionValue>120</ns1:configurationOptionValue>
               </ns1:BillingConfigurationOption>
               <ns1:BillingConfigurationOption>
                  <ns1:configurationOptionName>REDIRECT_URL_ONERROR</ns1:configurationOptionName>
                  <ns1:configurationOptionValue>http://10.0.1.15:8000/mozpay/bango/error</ns1:configurationOptionValue>
               </ns1:BillingConfigurationOption>
               <ns1:BillingConfigurationOption>
                  <ns1:configurationOptionName>REQUEST_SIGNATURE</ns1:configurationOptionName>
                  <ns1:configurationOptionValue>606330dbd54097e6e3d5e7e935c2f8db87e802c8e2f07643662bcd924623fc7a</ns1:configurationOptionValue>
               </ns1:BillingConfigurationOption>
               <ns1:BillingConfigurationOption>
                  <ns1:configurationOptionName>REDIRECT_URL_ONSUCCESS</ns1:configurationOptionName>
                  <ns1:configurationOptionValue>http://10.0.1.15:8000/mozpay/bango/success</ns1:configurationOptionValue>
               </ns1:BillingConfigurationOption>
               <ns1:BillingConfigurationOption>
                  <ns1:configurationOptionName>APPLICATION_SIZE_KB</ns1:configurationOptionName>
                  <ns1:configurationOptionValue>2</ns1:configurationOptionValue>
               </ns1:BillingConfigurationOption>
            </ns1:configurationOptions>
         </ns1:request>
      </ns1:CreateBillingConfiguration>
   </ns0:Body>
</SOAP-ENV:Envelope> :/Users/kumar/.virtualenvs/solitude/lib/python2.6/site-packages/suds/client.py:624
12:43:1367523812 suds.transport.http:DEBUG received:
CODE: 200
HEADERS: {'content-length': '569', 'x-aspnet-version': '2.0.50727', 'set-cookie': 'X-Mapping-kcepobcd=34BB5AE34E24D351EFA65C42B3FE196B; path=/, X-Mapping-kcepobcd=34BB5AE34E24D351EFA65C42B3FE196B; path=/', 'connection': 'close', 'cache-control': 'private, max-age=0', 'date': 'Thu, 02 May 2013 19:43:32 GMT', 'content-type': 'text/xml; charset=utf-8'}
MESSAGE:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><CreateBillingConfigurationResponse xmlns="com.bango.webservices.billingconfiguration"><CreateBillingConfigurationResult><responseCode>OK</responseCode><responseMessage>Success</responseMessage><billingConfigurationId>232900</billingConfigurationId></CreateBillingConfigurationResult></CreateBillingConfigurationResponse></soap:Body></soap:Envelope>
 :/Users/kumar/.virtualenvs/solitude/lib/python2.6/site-packages/suds/transport/http.py:80
Oops, the reference above meant to be bug 865275
Assignee: nobody → keir
Priority: -- → P1
Blocks: 865275
Blocks: 868494
will be on prod today, already on test
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-05-09
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: