search

Home  >  Q&A  >  body text

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?

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! !

曾经蜡笔没有小新曾经蜡笔没有小新2771 days ago943

reply all(5)I'll reply

  • phpcn_u1582

    phpcn_u15822017-06-08 11:03:58

    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

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-06-08 11:03:58

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

    reply
    0
  • PHP中文网

    PHP中文网2017-06-08 11:03:58

    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.

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-06-08 11:03:58

    When calling WxPayUnifiedOrder, is there any change to parameter SetTotal_fee

    reply
    0
  • 巴扎黑

    巴扎黑2017-06-08 11:03:58

    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

    reply
    0
  • Cancelreply