topshelfcraft/payment-source-tools-base

一个模块,用于为Craft Commerce项目中的支付源提供核心功能。

3.3.0 2022-09-11 18:26 UTC

This package is auto-updated.

Last update: 2024-09-11 23:03:38 UTC


README

适用于Craft CMS 3.5+和Commerce 3.2+的模块

当由应用程序或插件注册时,此模块提供以下功能:

  • 在控制面板中添加支付源选项卡

安装

  1. composer require topshelfcraft/payment-source-tools-core
  2. 在您的应用程序配置中注册模块,或者通过调用PaymentSourceTools::registerModule()

要将支付源选项卡添加到用户界面...

PaymentSourceTools::getInstance()->getSettings()->addPaymentSourcesUserTab = true;

贡献者