markenzoo / contao-isotope-paypal-express-bundle
dev-main
2022-06-29 13:16 UTC
Requires
- php: ^7.2
- contao/core-bundle: ^4.9
- contao/faq-bundle: ^4.9
- isotope/isotope-core: ^2.6
- paypal/paypal-checkout-sdk: ^1.0.1
- symfony/framework-bundle: ^4.4
Requires (Dev)
- contao/manager-plugin: ^2.0
- friendsofphp/php-cs-fixer: ^2.0
- phpunit/phpunit: ^8.5
- psalm/plugin-phpunit: ^0.10
- psalm/plugin-symfony: ^1.0
- symfony/phpunit-bridge: ^4.4
- vimeo/psalm: ^3.9
Suggests
- markenzoo/contao-expo-push-notification-bundle: Markenzoo Expo Push Notification Bundle gives you the possibility to send custom push notifications for Expo (React Native) in Contao 4. / Die Markenzoo Erweiterung für Expo Push-Benachrichtigungen erlaubt es eigene Push-Benachrichtigungen für Expo (React Native) in Contao 4 zu versenden.
- markenzoo/contao-file-helper-bundle: Markenzoo File Helper extends the file manager to show where files are included and to edit these elements with one click. / Die Markenzoo File Helper Erweiterung erlaubt es in der Dateiverwaltung anzeigen zu lassen, wo Dateien eingebunden sind und diese Elemente mit einem Klick zu bearbeiten.
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2024-09-29 05:29:53 UTC
README
免责声明
这是一个实验性项目。使用风险自负。在任何情况下,我们不提供任何关于失败或损坏的保证。
欢迎以任何形式做出贡献,只需提交一个PR,我们将非常感激!
功能
使用JavaScript SDK提供Paypal智能支付按钮的集成。
注意 目前仅支持无运输的数字商品。
待办事项
- 运输地址
- 账单地址
- 日志记录
- 运输费用
- 平台费用
- 授权流程
- 传递合作伙伴归属ID
要求
- PHP >=7.2
- Contao ~4.9 LTS
安装
管理版
当使用管理版时,安装此包非常简单。只需在Contao Manager中搜索该包并安装它。或者,您也可以使用CLI。
# Using the contao manager $ php contao-manager.phar.php composer require markenzoo/contao-isotope-paypal-express-bundle # Using composer directly $ php composer.phar require markenzoo/contao-isotope-paypal-express-bundle # Using global composer installation $ composer require markenzoo/contao-isotope-paypal-express-bundle
Symfony应用程序
如果您在没有contao/manager-bundle的symfony应用程序中使用Contao,您必须手动注册此包。
class AppKernel { public function registerBundles() { $bundles = [ // ... new Markenzoo\ContaoIsotopePaypalExpressBundle\ContaoIsotopePaypalExpressBundle() ]; } }
自注
在发布您的包之前,运行PHP-CS-Fixer和单元测试。
vendor/bin/php-cs-fixer fix -v vendor/bin/phpunit vendor/bin/psalm vendor/bin/psalter --issues=all --dry-run