0
我正在使用Magento的Rest API從我的基於WordPress的網站出售物品。我嘗試使用PayPal付款高級完成交易時遇到問題。這是下面的代碼:使用PayPal付款時的Magento Rest API問題高級
$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));
當我運行的代碼,它回來爲「真」,但API嗟貝寶和授權交易。