Wechat Pay cannot be refunded when I use custom order id. Because the out_refund_no parameter is must needed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

carlxjs created an issue. See original summary.

carlxjs’s picture

FileSize
2.08 KB
carlxjs’s picture

Change the order_id of payment to be custom order id temporary that can implement the refund function.
Replace $payment->getOrder()->getTotalPrice()->getNumber() to be $payment->getAmount().

ritzz’s picture

Status: Active » Needs review

  • skyredwang committed 7d80af5 on 8.x-1.x authored by carlxjs
    Issue #2928503 by carlxjs: Refund payment for custom order id
    
skyredwang’s picture

Title: Refund payment for custom order id » Allow downstream to override order id
Category: Feature request » Bug report
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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