Coder Social home page Coder Social logo

aune-io / magento2-stripe Goto Github PK

View Code? Open in Web Editor NEW
13.0 6.0 7.0 115 KB

Stripe payments integration module for Magento 2

License: Open Software License 3.0

PHP 90.05% CSS 0.05% JavaScript 6.02% HTML 3.88%
magento2 magento2-module magento2-extension magento2-payment-gateway stripe stripe-payments

magento2-stripe's Introduction

Magento 2 Stripe Payments

Stripe payments integration module for Magento 2.

Build Status Coverage Status Latest Stable Version Latest Unstable Version Total Downloads License

System requirements

This extension supports the following versions of Magento:

  • Community Edition (CE) versions 2.1.x, 2.2.x and 2.3.x
  • Enterprise Edition (EE) versions 2.1.x, 2.2.x and 2.3.x

Installation

  1. Require the module via Composer
$ composer require aune-io/magento2-stripe
  1. Enable the module
$ bin/magento module:enable Aune_Stripe
$ bin/magento setup:upgrade
  1. Login to the admin
  2. Go to Stores > Configuration > Sales > Payment Methods > Aune - Stripe
  3. Enter your Stripe API Keys and set the payment method as active
  4. (Optional) Enable customer storing in Stripe or Vault to allow customers to reuse their payment methods

SCA

Version 4 of the extension supports SCA with the following warnings:

  • vaulting it's not backward compatibile: previous versions of the extension used the source id as gateway token, version 4 uses the payment method id. If you are upgrading, you can either empty the vault or write a script to change the gateway token.
  • partial capture will refund the remaining amount: this is due to how capturing a payment intent works, see the official documentation here.
  • payment intent confermation is done on the frontend: it is strongly reccommended to use Authorize as Payment Action and capture payments when generating the Magento invoice, to avoid having captured transaction without orders in case of timeouts or server errors.

Authors, contributors and maintainers

Author:

License

Licensed under the Open Software License version 3.0

magento2-stripe's People

Contributors

renatocason avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

magento2-stripe's Issues

SCA Support?

Chris here from Stripe checking in if you plan on supporting European customers once the SCA / PSD2 regulation comes into effect? (Strong Customer Authentication requirement)

We’ve written an overview on the risk of getting blocked by the EU's law starting enforcement September 14th https://stripe.com/payments/strong-customer-authentication

Please let me know your plans as customers are actively asking us for SCA-ready solutions. We would love to feature this plugin our SCA-ready app gallery during August: https://stripe.com/works-with/sca-ready

Thanks, please reach out if you have questions

Chris Traganos
Developer Relations @ Stripe

Issue with Magento 2.2.7

Hi,

Magento 2.2.7

When I'm trying to install with composer below is the output:

Problem 1
- Can only install one of: magento/module-ui[101.1.0, 101.0.7].
- Can only install one of: magento/module-ui[101.1.0, 101.0.7].
- Can only install one of: magento/module-ui[101.0.7, 101.1.0].
- aune-io/magento2-stripe 3.0.0 requires magento/module-ui 101.1.* -> satisfiable by magento/module-ui[101.1.0].
- Installation request for aune-io/magento2-stripe ^3.0 -> satisfiable by aune-io/magento2-stripe[3.0.0].
- Installation request for magento/module-ui (locked at 101.0.7) -> satisfiable by magento/module-ui[101.0.7].

Could you please help us to fix this

Uncaught Error: Class 'Stripe\\Stripe' not found

Hi,

I have installed this extension on 2.2.6 version and got the error like this:-

"Fatal Error: 'Uncaught Error: Class 'Stripe\Stripe' not found in /app/code/Aune/Stripe/Model/Adapter/StripeAdapter.php:87\nStack trace:\n#0
/app/code/Aune/Stripe/Model/Adapter/StripeAdapter.php(60): Aune\Stripe\Model\Adapter\StripeAdapter->setAppInfo('AuneStripeM2', '2.1.0', 'https://gitbub....')\n#1
/app/code/Aune/Stripe/Model/Adapter/StripeAdapter.php(45): Aune\Stripe\Model\Adapter\StripeAdapter->initCredentials()\n#2 \/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Aune\Stripe\Model\Adapter\StripeAdapter->__construct(Object(Aune\Stripe\Gateway\Config\Config), Object(Magento\Framework\Module\ModuleList))\n#3
/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Aune\\Stripe\\Mod...', Array)\n#4 //app/code/Aune/Stripe/Model/Adapter/StripeAdapter.php' on line 87"

Could you please help on the same ??

wrong cctypes_stripe_mapper mastercard

Stripe catch payment but magento order is not created (server error msg is displayed), the user can then retry the payment directly. This behavior is very bad as multiples payments are charged without user notification.
As a enhancement I would suggest to cancel the stripe payment on server error if possible.

version: 2.0.0
card type : mastercard (american-express is ok)

exception logs:
[2017-10-21 11:13:59] main.CRITICAL: Notice: Undefined index: mastercard in /var/www/xxx/vendor/aune-io/magento2-stripe/Gateway/Response/VaultDetailsHandler.php on line 147 {"exception":"[object] (Exception(code: 0): Notice: Undefined index: mastercard in /var/www/xxx/vendor/aune-io/magento2-stripe/Gateway/Response/VaultDetailsHandler.php on line 147 at /var/www/xxx/vendor/magento/framework/App/ErrorHandler.php:61)"} []

PR made #3

new customer every order

Hi,

I am testing this and have found it creates a new customer with same email adress everytime I place the order. Should it not just create one customer and then reuse the customer to make a new charge?

I am also running into server errors, do you experience the same problems?

Greets,
Thomas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.