cancel
Showing results for 
Search instead for 
Did you mean: 

ShoppingCartPaymentMethod throwing fault code 1075

ShoppingCartPaymentMethod throwing fault code 1075

Hi Guys,

 

I am trying to set the payment method for a quote using the Magento API. We are using Magento version 1.14.2.4.

 

We also have Gene commerce's Braintree extension configured in Magento. I am trying to test this out using our Magento test environment and Braintree sand box which has the Braintree merchant account and API keys configured.

 

Below is the soap request that I am sending:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Magento">
<soapenv:Header/>
<soapenv:Body>
<urn:shoppingCartPaymentMethodRequestParam>
<sessionId>${#TestCase#SessionID}</sessionId>
<quoteId>${#TestCase#QuoteID}</quoteId>
<paymentData>
<method>gene_braintree_creditcard</method>
<!--Optional:-->
<cc_cid>123</cc_cid>
<!--Optional:-->
<cc_owner>Test User</cc_owner>
<!--Optional:-->
<cc_number>4444333322221111</cc_number>
<!--Optional:-->
<cc_type>VI</cc_type>
<!--Optional:-->
<cc_exp_year>2020</cc_exp_year>
<!--Optional:-->
<cc_exp_month>12</cc_exp_month>
</paymentData>
<!--Optional:-->
<store>1</store>
</urn:shoppingCartPaymentMethodRequestParam>
</soapenv:Body>
</soapenv:Envelope>

 

The response that I am getting:

 

<SOAP-ENV:Envelope xmlnsSmiley FrustratedOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>1075</faultcode>
<faultstring>The requested Payment Method is not available.</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

gene_braintree_creditcard is a payment method returned by Magento's "ShoppingCartPaymentList" API method.

 

Any help is highly appreciated in sorting this out.

 

Thanks

Saliya