我有下面的函数,除了4个字段。我需要将这些值发布到Paypal并完成交易
string PostToPayPalMethod (string card_n,string pass, string cvc, string amount) {
// Now i need to post these value to paypal
return "success";
}用户将通过我们的web界面输入他/她的卡详细信息(card_n、pass、cvc),我将把它传递给PostToPayPalMethod以完成交易。
我正在看经典的API,但它引导客户首先登录到paypal来完成交易。
谁能指点我完成这项任务。
发布于 2013-09-05 23:02:48
我建议使用PayPal提供的新REST api -可在此处找到的文档:https://developer.paypal.com/webapps/developer/docs/api/
您可以使用API进行信用卡支付,但我认为您需要收集更多的信息。
https://stackoverflow.com/questions/18557795
复制相似问题