Magento Rest API Issue When Using PayPal Payment Advanced -
i'm using magento's rest api sell item wordpress based site. having issue when try use paypal payment advanced complete transaction. here code below:
$paymentarray = array( "method" => "payflow_advanced", 'cc_cid' => $_post['cccvv'], 'cc_owner' => $_post['firstname'] . " ". $_post['lastname'], 'cc_number' => $_post['ccnumber'], //'cc_type' => "mc", 'cc_exp_year' => $_post['ccmonth'], 'cc_exp_month' => $_post['ccyear'], ); $resultpaymentmethod = $client->call($session, 'cart_payment.method', array($shoppingcartincrementid, $paymentarray));
when run code, comes "true" api never hits paypal , authorizes transaction.
once var_dump($resultpaymentmethod) , see what's displaying output..