开发者

PayPal payments - refunding orders

Does anyone here know how to refund money to users payed from my e-commerce site orders?

I mean .. I can surely go to my PP business account to 开发者_StackOverflow社区refund them manually, but I would like to know if PP API supports some kind of dynamic refund directly from my site..


It looks possible read this.

PayPal API Docs


you can use below code and API for your task.

$nvpStr = "&TRANSACTIONID=$transactionID&REFUNDTYPE=$refundType&CURRENCYCODE=$currencyID";

and then call this function:

$httpParsedResponseAr = PPHttpPost('RefundTransaction', $nvpStr);

for more details regarding that you can use below link : https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_RefundTransaction_php.txt

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜