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 has an optional parameter: device_info, see documentation at: https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_10&index=1
We should send commerce_store id as default, but in the API level, offer a way to let user to customize this optional parameter.
Comment | File | Size | Author |
---|---|---|---|
#15 | support_optional_parameter_device_info_6.patch | 2.5 KB | zfming |
#8 | support_optional_parameter_store_id_wx.patch | 5.68 KB | zfming |
Comments
Comment #2
zfming CreditAttribution: zfming at Sparkpad commentedwechat pay has device_info parameter we can input store_id, this patch add device_info parameter
Comment #3
zfming CreditAttribution: zfming at Sparkpad commentedwechat pay has device_info parameter we can input store_id, this patch add device_info parameter
Comment #4
skyredwangComment #6
zfming CreditAttribution: zfming at Sparkpad commentedComment #7
zfming CreditAttribution: zfming at Sparkpad commentedComment #8
zfming CreditAttribution: zfming at Sparkpad commentedthis patch follow 1.x-dev fixed device_info invalid
Comment #9
zfming CreditAttribution: zfming at Sparkpad commentedthis patch follow 1.x-dev fixed device_info invalid
Comment #10
skyredwangThis 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.
Comment #11
zfming CreditAttribution: zfming at Sparkpad commentedI add a issue at github EasyWeChat, https://github.com/EasyWeChat/payment/issues/6
Comment #12
skyredwangNo. wrong repo. This is the correct one: https://github.com/overtrue/wechat
Comment #13
zfming CreditAttribution: zfming at Sparkpad commentedThis patch fixed device_info invalid
Comment #14
zfming CreditAttribution: zfming at Sparkpad commentedadd EasyWeChat issue link
Comment #15
zfming CreditAttribution: zfming at Sparkpad commentedComment #17
skyredwang