itconsultis / commerce_wechatpay

Wechat pay integration for Drupal Commerce.
https://www.drupal.org/project/commerce_wechatpay
GNU General Public License v2.0
14 stars 9 forks source link

Bugs #9

Closed caifagithub closed 7 years ago

caifagithub commented 7 years ago

It still has some problems.

  1. When we use Merchant pay it return us redirect_uri error. We set an authorized URL alias in Wechat back-office like: http://sitename.com/cn/commerce_wechatpay/checkout/ Is it correct? We also try to set it like: http://sitename.com/en/commerce_wechatpay/checkout/ http://sitename.com/commerce_wechatpay/checkout/ because our website is multilanguage.

So could you help us to understand what is the problem?

  1. When we use QR code pay it show us this messages:
    Notice: Undefined index: name in commerce_checkout_commerce_order_status_info() (line 348 of /home/admin/web/sitename.com/public_html/sites/all/modules/commerce/modules/checkout/commerce_checkout.module).
    Notice: Undefined index: status_cart in commerce_checkout_commerce_order_status_info() (line 351 of /home/admin/web/sitename.com/public_html/sites/all/modules/commerce/modules/checkout/commerce_checkout.module).
    Notice: Undefined index: status_cart in commerce_checkout_commerce_order_status_info() (line 351 of /home/admin/web/sitename.com/public_html/sites/all/modules/commerce/modules/checkout/commerce_checkout.module).
    Notice: Undefined index: name in commerce_checkout_commerce_order_status_info() (line 348 of /home/admin/web/sitename.com/public_html/sites/all/modules/commerce/modules/checkout/commerce_checkout.module).

    Could anyone help us to fix this problems?

freedomgao commented 7 years ago

@caifagithub Thank your report, I will have a look to this issue.

tguillemaud commented 7 years ago

Hello @caifagithub

This is fixed