title: Setting payment method to cart with Magento API
body: <p>I'm using Magento API to create orders. My code fails when I want to add payment method to the cart : </p>
  
  <pre><code>$paymentMethod = array(
      “method” =&gt; “paypal_standard”
  );
  
  $resultPaymentMethod = $proxy-&gt;call(
      $sessionId,
      “cart_payment.method”,
      array(
          $shoppingCartId,
          $paymentMethod
      )
  ); 
  </code></pre>
  
  <p>I'm getting following error: Payment method is not allowed. </p>
  
  <p>In admin section in System->Configuration->PayPal I have set Website Payments Standard but I didn't enabled any option in System->Configuration->Payment Methods cause there is none available for PayPal.
  When I call: </p>
  
  <pre><code>$proxy-&gt;call($session, 'cart_payment.list') 
  </code></pre>
  
  <p>method I get an empty array as there isn't any available payment method set. Does someone knows how and where paypal payment setting is saved in Magento ? </p>
  
  <p>If I set another Payment method like "checkmo" then the order is created fine. The thing is that I only need to allow Paypal standard payment.</p>
  
  <p>So my question is: How can I set payment method to PayPal to the cart so my order will be successfully created?  </p>
  
  <p>Thanks. </p>