承接 azaharizaman/nexus-payment-gateway 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

azaharizaman/nexus-payment-gateway

最新稳定版本:v0.1.0-alpha1

Composer 安装命令:

composer require azaharizaman/nexus-payment-gateway

包简介

Payment gateway extension providing integrations with Stripe, PayPal, Square, and other online payment processors

README 文档

README

Version: 0.1.0
Status: In Development
PHP: ^8.3
Extends: azaharizaman/nexus-payment

Overview

Nexus\PaymentGateway is an extension package for Nexus\Payment providing integrations with online payment processors like Stripe, PayPal, Square, Adyen, and regional gateways. This package handles tokenization, authorization, capture, refunds, and webhook processing.

Installation

composer require azaharizaman/nexus-payment-gateway

Features

  • Multi-Gateway Support - Stripe, PayPal, Square, Adyen, Braintree
  • Tokenization - Secure card tokenization (PCI DSS compliant)
  • Payment Intents - 3D Secure / SCA support
  • Webhooks - Standardized webhook handling
  • Refunds - Full and partial refunds
  • Disputes - Chargeback handling

Security & PCI Compliance

CRITICAL: This package is designed to minimize PCI scope.

  1. Never Store PAN/CVV: You must NEVER store raw credit card numbers (PAN) or CVV codes in your database or logs.
  2. Use Tokenization: Always use client-side tokenization (e.g., Stripe Elements, PayPal JS SDK) to send card data directly to the gateway. Your server should only receive a payment_method_id or token.
  3. Logging Redaction: Ensure your logging configuration redacts sensitive fields. This package's DTOs are designed to carry tokens, not raw card data.

Quick Start

use Nexus\PaymentGateway\Contracts\GatewayManagerInterface;

final readonly class OnlinePaymentService
{
    public function __construct(
        private GatewayManagerInterface $gatewayManager,
    ) {}

    public function charge(string $gateway, ChargeRequest $request): ChargeResult
    {
        $processor = $this->gatewayManager->getProcessor($gateway);
        return $processor->charge($request);
    }
}

Supported Gateways

Gateway Status Features
Stripe Planned Cards, ACH, SEPA, 3DS
PayPal Planned PayPal, Venmo
Square Planned Cards, Apple Pay
Adyen Planned Cards, Local Methods
Braintree Planned Cards, PayPal

Documentation

License

MIT License. See LICENSE for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固