# payment扩展 **Repository Path**: sixdec-1/payment ## Basic Information - **Project Name**: payment扩展 - **Description**: 支付基础模块 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-24 - **Last Updated**: 2025-12-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # payment 所有支付模块扩展的基础扩展模块,是其他支付模块扩展的依赖扩展, 其他支付模块扩展必须实现`PaymentProviderInterface` ## Hook ### 支付服务信息上报事件 `\SixShop\Extension\payment\Event\GatheringPaymentEvent` 监听该事件可获取到支付服务信息,否则无法获取到支付服务信息,后续可以扩展为支付服务注册中心,上报对象为`\SixShop\Extension\payment\PaymentInfo` ## 实现支付扩展说明 如果是支付模块,扩展的`Extension`类需要实现`\SixShop\Extension\payment\Contracts\PaymentExtensionInterface`接口,获取支付方式提供者`PaymentProviderInterface`完成支付业务