Support from Acquia helps fund testing for Drupal Acquia logo

Comments

skyredwang created an issue. See original summary.

zfming’s picture

wechat pay has device_info parameter we can input store_id, this patch add device_info parameter

zfming’s picture

wechat pay has device_info parameter we can input store_id, this patch add device_info parameter

skyredwang’s picture

Status: Active » Fixed

  • skyredwang committed 01741a2 on 8.x-1.x authored by zfming
    Issue #2921469 by zfming: Support device_info as a parameter for...
zfming’s picture

Status: Fixed » Active
zfming’s picture

zfming’s picture

FileSize
5.68 KB

this patch follow 1.x-dev fixed device_info invalid

zfming’s picture

FileSize
2.07 KB

this patch follow 1.x-dev fixed device_info invalid

skyredwang’s picture

Status: Active » Needs work
+++ b/src/Plugin/Commerce/PaymentGateway/Micropay.php
@@ -43,12 +43,12 @@ class Micropay extends QRCodePaymentMode2 {
+    $wechat_order->set('device_info', $device_info);

This is due to the current limitation of the upstream; I'd like to see an issue opened at the upstream, and referenced here as a comment.

zfming’s picture

FileSize
2.41 KB

I add a issue at github EasyWeChat, https://github.com/EasyWeChat/payment/issues/6

skyredwang’s picture

No. wrong repo. This is the correct one: https://github.com/overtrue/wechat

zfming’s picture

FileSize
2.57 KB

This patch fixed device_info invalid

zfming’s picture

FileSize
2.58 KB

add EasyWeChat issue link

zfming’s picture

FileSize
2.5 KB

  • skyredwang committed b269b02 on 8.x-1.x
    Issue #2921469 by zfming, skyredwang: Support device_info as a parameter...
skyredwang’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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