教程里面没怎么说清楚。如果是退给用户,那么就很简单了。但是如果是退给商户,我们网站还得转账给用户。关键是请求的时候没有用户的任何信息,所以我感觉上不确定到底是退困给谁。
请各位大神帮帮忙
谢谢
巴扎黑2017-04-17 11:41:46
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 - -#
黄舟2017-04-17 11:41:46
Wouldn’t it be more reasonable to ask the official Alipay about this kind of question...
大家讲道理2017-04-17 11:41:46
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.