Coder Social home page Coder Social logo

Comments (10)

Tai7sy avatar Tai7sy commented on August 14, 2024

驱动 Payjs
方式: 参考payjs文档里面支付方式填写(cashier/native)
配置,json格式,填写 mchid 和 key

from card-gateway.

BOTBAKS avatar BOTBAKS commented on August 14, 2024

https://i.loli.net/2020/09/01/niBLYDjTvRpWCQ1.png
https://i.loli.net/2020/09/01/OTnX7uL5jDamlsI.png
大大,异步通知设置了,但是测试支付后没有反应是咋回事啊

from card-gateway.

Tai7sy avatar Tai7sy commented on August 14, 2024

可以修改 .env 文件中 APP_DEBUG=true 打开调试模式
然后在storage/logs 内分析支付日志

from card-gateway.

BOTBAKS avatar BOTBAKS commented on August 14, 2024

大大native驱动打开调试模式后看了日志
但我是小白。。。完全看不懂

from card-gateway.

BOTBAKS avatar BOTBAKS commented on August 14, 2024

https://i.loli.net/2020/09/03/bZolQ8BzmiWMrTw.png
大大,驱动填写cashier发起支付提示需要在客户端打开连接,我看payjs官方给了个方法可以把URL生成二维码扫描
https://i.loli.net/2020/09/03/uZoTMyq5p9ndbkY.png
纯小白,看不懂。。。

from card-gateway.

Tai7sy avatar Tai7sy commented on August 14, 2024

扫码是native方法

from card-gateway.

Tai7sy avatar Tai7sy commented on August 14, 2024

5bd2f66

可以参考这里自己修改一下, cashier 改为扫码方式

from card-gateway.

Tai7sy avatar Tai7sy commented on August 14, 2024

https://github.com/Tai7sy/card-gateway/blob/master/Pay/Payjs/Api.php
把这个文件最新版覆盖到你的 app/Library/Gateway/Pay 目录下

from card-gateway.

BOTBAKS avatar BOTBAKS commented on August 14, 2024

谢谢大大

from card-gateway.

BOTBAKS avatar BOTBAKS commented on August 14, 2024

大大,有个问题
image
使用payjs微信,这里添加一个没有盾的域名后,微信支付时,网页地址会直接显示api通知地址,会直接暴露服务器IP
如果套cdn隐藏服务器IP地址,那payjs就无法 通知了,怎么办啊

from card-gateway.

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.