Please select a valid payment method (version 126.96.36.199)
After creating card via 'cart.create', I set payment via 'cart_payment.method'. I used the following code sample and it only works when I set payment method to "purchaseorder" ("method" => "purchaseorder"). Otherwise, it throws faultcode:1008(Please select a valid payment method).
I asked the above question on Github(https://github.com/magento/devdocs/issues/920) and realised that this is a known issue (SUPEE-4952). So my question is if it's a known issue, then I was wondering how I can differentiate between different payments like CC and Paypal in Magento.