OpenCart ‡¾®†Œ‡â€¢â€ ‡...

download OpenCart ‡¾®†Œ‡â€¢â€ ‡ ‡®â€°¨£©†§½®¨¯´ˆ© - OpenCart ‡¾®†Œ‡â€¢â€ ‡‡®â€°¨£©†§½®¨¯´ˆ©

of 16

  • date post

    31-Aug-2019
  • Category

    Documents

  • view

    11
  • download

    0

Embed Size (px)

Transcript of OpenCart ‡¾®†Œ‡â€¢â€ ‡...

  • OpenCart www.opencart.cn

    Opencart.cn

    OpenCart

    opencart

    www.opencart.cn

    http://www.opencart.cn/
  • OpenCart www.opencart.cn

    Opencart.cn

    1. OpenCart

    2. Opencart

    3.

  • OpenCart www.opencart.cn

    Opencart.cn

    a) appid ID

    b) Mchid ID

    c) key API(API KEY)

    d) Appsercret

    4. 4

    Opencart 4

  • OpenCart www.opencart.cn

    Opencart.cn

    ID

    3.1 appid ID Appsercret

    https://mp.weixin.qq.com/

  • OpenCart www.opencart.cn

    Opencart.cn

  • OpenCart www.opencart.cn

    Opencart.cn

    2

    AppID( ID) AppSecret()

    3.2 Mchid ID key/

  • OpenCart www.opencart.cn

    Opencart.cn

    IDMchid ID

  • OpenCart www.opencart.cn

    Opencart.cn

    32

    32 KEY key API(API KEY)

    5.

    4.1

    sql()

    ALTER TABLE `oc_customer` ADD `openid` varchar(50);

    4.1 9 opencart

    catalog/controller/payment/WxPayPubHelper/WxPay.pub.config.php

    $APPID$APPSECRET

    2

  • OpenCart www.opencart.cn

    Opencart.cn

    //===JSAPI===============================

    // access_token uri code jsapi

    const JS_API_CALL_URL = 'http://demo.opencart.cn/index.php';

    // demo.opencart.cn

    //== url ===================================

    // url

    const NOTIFY_URL = 'http://demo.opencart.cn/catalog/controller/payment/weipay_callback.php ';

    // demo.opencart.cn

    4.2 ()

    a.""

    b. urlhttp://www.opencart.cn/weixin/wechatapi.phptokenweixin

    6.

    6.1

  • OpenCart www.opencart.cn

    Opencart.cn

    http://opencart.cn http://opencart.cn

    6.2

    http://opencart.cn/http://opencart.cn/
  • OpenCart www.opencart.cn

    Opencart.cn

    >

    http://mp.weixin.qq.com/wiki/17/c0f37d5704f0b64713d5d2c37b468d75.html
  • OpenCart www.opencart.cn

    Opencart.cn

  • OpenCart www.opencart.cn

    Opencart.cn

    6.3

  • OpenCart www.opencart.cn

    Opencart.cn

    12

    6.4

    OpenCart

  • OpenCart www.opencart.cn

    Opencart.cn

    7.

    7.1 PC

    7.2

    8.

    8.1

  • OpenCart www.opencart.cn

    Opencart.cn

    8.2 mengwb_tl

    support@opencart.cn

    opencart.cn

    mailto:support@opencart.cn