After QRCode paying, the payment's remote_id is not right. I found that the payment's remot_id is its order_id.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

carlxjs created an issue. See original summary.

skyredwang’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide more information. I have no idea what the problem here is.

carlxjs’s picture

The result of out_trade_no is not right remote_id.
Where of he code
The parts notified information of Wechat is "[out_trade_no] => 17 [result_code] => SUCCESS [return_code] => SUCCESS [sign] => 433EFE6D7562FFA82146A333145158D7 [sub_mch_id] => 1439153502 [time_end] => 20171027121713 [total_fee] => 1 [trade_type] => NATIVE [transaction_id] => 4200000004201710270597535879 )"

skyredwang’s picture

I still have no idea what you are trying to say

carlxjs’s picture

I think the remote_id is transaction_id.

carlxjs’s picture

Please see https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_7.
You will know what is the meaning of transaction_id.

carlxjs’s picture

Status: Postponed (maintainer needs more info) » Needs review
carlxjs’s picture

The bug appears first at the commit of 2acb705f515ce023508b4139dc1a4fe6f8e3bcbe.

skyredwang’s picture

Priority: Normal » Critical
Status: Needs review » Needs work

Please reroll against head.

carlxjs’s picture

  • skyredwang committed 68d0a18 on 8.x-1.x authored by carlxjs
    Issue #2918945 by carlxjs: After QRCode paying, the payment's remote_id...
skyredwang’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.