Magento 2 Stripe Integration
Accept credit card payments through the Stripe payment gateway.
- Supports Magento Instant Purchase for One Click Checkout
- Securely accept customer payments using the Stripe.js tokenization when collecting all payments.
- Provide customers option of storing payment information for future transactions.
- Stored customer card information can be used for orders created in the frontend or backend.
- Stored cards deleted by customer in Magento are also removed from the corresponding Stripe customer profile.
- New payments can be authorize or authorize and capture.
- Authorized payments can be captured online during invoice creation.
- Full and partial refund support when creating credit memos.
- 3D Secure support for one-time and vault payments
Installation
Composer
In your Magento 2 root directory run
composer require pmclain/module-stripe
bin/magento setup:upgrade
Magento Version Requirements
Release | Magento Version |
---|---|
2.1.x | >=2.2.5 |
2.0.x | 2.2.0-2.2.4 |
1.x.x | 2.1.x |
None | 2.0.x |
Configuration
The configuration can be found in the Magento 2 admin panel under
Store->Configuration->Sales->Payment Methods->Stripe
Feature Roadmap
There is no ETA for implementation, but here is the list in order of priority.
- Multi-shipping address support
- Stripe Radar
Testing and Local Development
WARNING The docker setup included is intended for local development only.
Local Development
cd ./dev
docker-compose up -d
docker-compose exec app module-installer
docker-compose exec app magento-installer
Create the host entry 127.0.0.1 stripe.docker
Execute Tests
- Setup
docker-compose -f dev/docker-compose.yml up -d
docker-compose -f dev/docker-compose.yml exec app module-installer
- Unit -
docker-compose -f dev/docker-compose.yml exec app test-unit
- Integration -
docker-compose -f dev/docker-compose.yml exec app test-integration
- Acceptance -
docker-compose -f dev/docker-compose.yml exec app test-acceptance
License
Open Software License v3.0