Giter VIP home page Giter VIP logo

Comments (5)

linlinjava avatar linlinjava commented on May 12, 2024

你好,微信小程序有支付API,但是由于本人没有商户支付能力,因此只是简单的模拟。如果你有的话,可以可以在官网看相关文档,然后修改litemall-wx-api模块里面的WxPayController,和litemall-wx模块里面的src/pages/shopping/checkout/checkout.js里面的submitOrder方法。

from litemall.

lzdn avatar lzdn commented on May 12, 2024

我准备先学习一下作者的代码。

from litemall.

linlinjava avatar linlinjava commented on May 12, 2024

你好,现在看来我说的有点简单了。
支付接口虽然有微信支付,但是没有商户支付权限,订单支付和退款的操作没有很好地实现和测试。

from litemall.

linlinjava avatar linlinjava commented on May 12, 2024

你好,刚刚实现了微信支付功能, 516d19d8ab0265

你需要

  1. litemall-wx-api的properties文件里面相应的支付信息和支付响应链接地址。
  2. litemall-wx的配置文件里面设置appid。

存在问题是:

  1. 仅仅支持微信支付,不支持退款操作。
  2. 微信支付功能很简单,可能也会有问题,下面还会持续完善。

from litemall.

linlinjava avatar linlinjava commented on May 12, 2024

支持微信支付。

不支持微信自动退款,退款操作设计流程:

  1. 管理员登录微信支付平台实行退款;
  2. 管理员登录litemall管理后台点击退款成功。

from litemall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.