定制 naykel/payit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

naykel/payit

最新稳定版本:v0.6.1

Composer 安装命令:

composer require naykel/payit

包简介

Payment gateways package for NayKel applications

README 文档

README

Total Downloads Latest Stable Version License

NAYKEL Payment Management Package

  • Add check to make sure .env is set

  • update the resolve method in the PaymentPlatformResolver to be a more updated Laravel way of resolving the platform.

  • remove auth login used for development in layouts

  1. Route fires the handle payment method passing in the amount
  2. Create and return the payment intent.
    • The PaymentIntent includes a client secret that the client side uses to securely complete the payment process.

What to Do After Creating a PaymentIntent Store the PaymentIntent ID: You need to store the PaymentIntent ID somewhere safe (e.g., in a session or database) because it will be used later to confirm the payment. This is useful in case you need to retrieve or confirm the payment later.

Send the client_secret to the Frontend: The client_secret is required on the client side to confirm the payment and to allow Stripe to communicate with the client. The frontend will use this client_secret to confirm the payment, either via Stripe Elements or Stripe's hosted Checkout page.

Confirm the Payment: Once the PaymentIntent is created, you’ll either confirm it on the client side or backend side (based on your flow). If using the client-side approach, Stripe will handle any 3D Secure or authentication challenges. If you're processing everything backend-side, you can confirm the payment manually.

统计信息

  • 总下载量: 150
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固