java - 支付宝即时到账批量退款有密接口退款是退给商户还是用户?
迷茫
迷茫 2017-04-17 11:39:46
0
4
875

教程里面没怎么说清楚。如果是退给用户,那么就很简单了。但是如果是退给商户,我们网站还得转账给用户。关键是请求的时候没有用户的任何信息,所以我感觉上不确定到底是退困给谁。

请各位大神帮帮忙

谢谢

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(4)
巴扎黑

Can I ask all the questions at once =,=

Can you read the document carefully? Refund needs to pass an order number parameter. You can pass the order number and it will be ok. Pass the order number and merchant number to Alipay and it will match the total amount of money that needs to be refunded. Pay attention to your own transaction fees. After the transaction limit is exceeded, a fee will be charged for each transaction.

$params = array();
$params['detail_data'] = '支付宝交易订单号^退款金额^退款描述#第二笔支付宝交易订单号^退款金额^退款描述';

// 退款总笔数
$params['batch_num'] = '2';

After successful payment, save your Alipay serial number - -#

黄舟

Wouldn’t it be more reasonable to ask the official Alipay about this kind of question...

大家讲道理

The money will be refunded to whoever paid, back to the original route, that is, if the user paid with a bank card, the money will be refunded to the bank card.

巴扎黑

return_url or notify_url will send you the user number

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template