Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Wechat Pay cannot be refunded when I use custom order id. Because the out_refund_no parameter is must needed.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2928503-2-3.interdiff.txt | 2.73 KB | carlxjs |
#3 | 2928503-3.patch | 1.09 KB | carlxjs |
#2 | 2928503-2.patch | 2.08 KB | carlxjs |
Comments
Comment #2
carlxjs CreditAttribution: carlxjs at Sparkpad commentedComment #3
carlxjs CreditAttribution: carlxjs at Sparkpad commentedChange 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().
Comment #4
ritzz CreditAttribution: ritzz at Valuebound commentedComment #6
skyredwang