eleven59/backpack-shop-mollie
Composer 安装命令:
composer require eleven59/backpack-shop-mollie
包简介
Handy dandy Mollie payments trait for my BackpackShop package
README 文档
README
This package provides Mollie payment integrations for the eleven59/backpack-shop package.
Installation
Via Composer
composer require eleven59/backpack-shop-mollie
Usage
To use the paymentprovider, update config/backpack-shop.php with the following:
'payment_provider' => \Eleven59\BackpackShopMollie\Models\PaymentProvider::class,
And make sure to add the following to your .env file:
MOLLIE_KEY="your-mollie-key"
The rest should work out of the box. Optionally, however, you can publish config file and edit the default currency, locale, and webhook url:
php artisan vendor:publish --provider="Eleven59\BackpackShop\AddonServiceProvider" --tag="config"
Displaying Payment Methods
This is pretty straightforward. The eleven59/backpack-shop already provides the global shoppingcart() helper, which works out of the box with this payment method. So the same code works for the default no payment and this one:
<select name="payment_method">
@foreach(shoppingcart()->getPaymentMethods() as $method)
<option value="{{ $method['id'] }}" {{ old('payment_method', 'ideal') === $method['id'] ? 'selected' : '' }}>{{ $method['description'] }}</option>
@endforeach
</select>
This package automatically gets the enabled and active methods from Mollie, so whichever methods are active in your Mollie dashboard should automatically show up here and work perfectly.
Change log
Changes are documented here on Github. Please browse the commit history.
Breaking changes will be listed here, however. None so far.
Testing
This package provides no testing.
Contributing
Please see contributing.md for a todolist and howtos.
Security
If you discover any security related issues, please email info@eleven59.nl instead of using the issue tracker.
Credits
- Author: eleven59.nl
- Built on top of eleven59/backpack-shop package. Please find additional credits there.
License
This project was released under MIT, so you can install it on top of any Backpack & Laravel project. Please see the license file for more information.
However, please note that you do need Backpack installed, so you need to also abide by its YUMMY License. That means in production you'll need a Backpack license code. You can get a free one for non-commercial use (or a paid one for commercial use) on backpackforlaravel.com.
eleven59/backpack-shop-mollie 适用场景与选型建议
eleven59/backpack-shop-mollie 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 12 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 08 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「backpack」 「Backpack for Laravel」 「Backpack Addon」 「BackpackShopMollie」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 eleven59/backpack-shop-mollie 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 eleven59/backpack-shop-mollie 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 eleven59/backpack-shop-mollie 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Extended summernote fields for laravel backpack
Yii2 panel widget
A Laravel package to handle GitHub webhooks seamlessly by dispatching Laravel events for all GitHub events. Users can listen to and handle these events easily.
Use a translation namespace vor mutliple translation files.
The query builder for WordPress
Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-27