php - WeChat Pay selected the wrong amount and canceled the payment. Why is it still the wrong amount selected before when I reselect the amount to pay?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-06-08 11:01:58
0
5
872

WeChat Pay selected the wrong amount to cancel the payment. Why is it that the wrong amount is still selected before re-selecting the amount to pay? The order number is regenerated. Including the prepay_id generated by repayment is also different. But the amount is still the same as before

The parameters are different if the amounts are different twice. But why is the amount paid still the same? consult! !

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(5)
phpcn_u1582

Then I guess the amount you sent is wrong. This is related to the program.
Refer to jsapi official account payment: php official account payment

我想大声告诉你

It is estimated that the same merchant order number does not support modifying the amount. Please generate a new order number and try it

Ty80

In fact, the amount you transfer to WeChat will be displayed when paying. It seems that the amount you sent to the WeChat interface is incorrect.

淡淡烟草味

When calling WxPayUnifiedOrder, is there any change to parameter SetTotal_fee

巴扎黑

If you initiate WeChat payment
The order number passed by the merchant is bound to the amount. If the amount changes, your order number will have to be regenerated and other information will also change accordingly
There is also the payment amount The format is specific
You only have the front-end code here and can’t see your specific problem

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!