scandipwa/stripe-graphql
Composer 安装命令:
composer require scandipwa/stripe-graphql
包简介
Serves Stripe publishable keys as configured in admin
README 文档
README
Heads up! This extension installation will only make you halfway to success. Supplementing it with a Stripe extension front-end is a must
Learn more about installing Scandipwa extensions in our official docs 🚀
Note 1: In order to get this payment method, you need to install additional extensions.
Stripe is implemented via stripe react-stripe-elements component. In the checkout it looks like this for simple card payments:
Installation:
Note 2: it is recommended to purchase and install from Magento Marketplace to avoid having sudden bugs. We will cover this installation process
Heads-up! Ensure you have purchased the module on your current Magento account (echo $COMPOSER_AUTH)! Since Stripe removed packages from packagist, this is the only way to proceed!!
- Place an order for the module through the Magento Marketplace
- Create new folder in the Magento 2 root and call it
localmodules, or simply extract it to theapp/codedirectory and skip Step 3 (If you are building a module to be used by a single project, you can start by creating a new folder using a pattern / in app/code folder) - Require ScaniPWA GraphQL definition extension:
composer require scandipwa/stripe-graphql - Update the Magento 2 modules:
magento se:up
To configure :
- Go to https://dashboard.stripe.com/ - signup
- Go to Developer > Api Keys, copy credentials
- Go to Store > Configuration > Sales > Payment Methods > Stripe and enter credentials from above
Manual installation: For manual installation please follow the Install the module manually guide from Stripe. Please then repeat all steps from the guide hereinbefore!
👷 Technical details:
Extends the Magento store config to include the publishable Stripe API keys and the current mode. These can be configured in the Magento Admin panel, in Stores > Settings: Configuration > Sales: Payment Methods > Stripe > Basic Settings
⚠️ Common problems:
Namespace Please ensure you are using the proper namespace. If you have placed the extension in the app/code directory, please ensure you have also setup the ScandiPWA for app/code/ScandiPWA, or change the namespace
Example query:
query { storeConfig { stripe_mode stripe_live_pk stripe_test_pk } }
scandipwa/stripe-graphql 适用场景与选型建议
scandipwa/stripe-graphql 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.04k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2019 年 12 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 scandipwa/stripe-graphql 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 scandipwa/stripe-graphql 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2019-12-02
