The problem of service fee (donation) encountered in the development of Alipay interface is solved!
In the process of developing a donation website recently,http://xsj.sczyfw.org/,在PC端的支付成功后,遇见如下问题:

The title is a successful transaction, and there is still a service fee. I thought that the application was a small donation of the network, and there would be no service fee problem!
Later, the value of the request parameter is still changed: the value of payment_type is 4, which means that it is possible to donate. The result is as follows:

After PAYMENT_TYPE was changed to 4, the title of the transaction details in Alipay has become a successful donation!
In addition, the Alipay donation platform also sent an email to the donated Alipay account. The screenshot is as follows:
I wanted to realize the donation function on the mobile payment page (although there is indeed no service fee in mobile web page payment), but found that in the mobile Alipay interface, it is There is no payment type parameter in the request parameter, and some are depressed. In the end, I have to use the mobile webpage instant account interface to realize it. The results are as follows:

The mobile webpage instantly arrives at the account interface, after the payment is successful, the title is successful transaction!
The most depressing thing is that Tenpay applied for the donation interface. There is no service fee for the PC version by default, but its mobile web payment interface is not open!
