Coder Social home page Coder Social logo

buckaroo-it / magento Goto Github PK

View Code? Open in Web Editor NEW
1.0 9.0 2.0 1.35 MB

Repository containing the Magento 1 Payment Plugin by Buckaroo

PHP 82.37% Shell 0.16% HTML 14.54% CSS 1.87% JavaScript 1.06%
bancontact creditcards ideal magento magento1-enterprise magento1-extension magento1-module magento1-payment-gateway

magento's People

Contributors

buckaroo-rene avatar buckaroo-rens avatar harli91 avatar khoa-buckaroo avatar saranchuk-hys avatar vlad-smorodskiy-hys avatar vladislav-padalka-hys avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento's Issues

Unable to install package using composer

Since version 5.2.1 it is no longer possible to install the extension using composer. After running composer require buckaroo/magento1 the following error occurs.

Installation failed, reverting ./composer.json to its original content.

                                                                                   
  [ErrorException]                                                                 
  Unable to find deploy strategy for module: "buckaroo/magento1" no known mapping  
  sourceDir: "/data/magento/vendor/buckaroo/magento1" 

I believe this is because the modman file has been deleted. Can you re-introduce a way to install the extension using composer without manually copying files like explained in the composer install guide?

Chrome users are send to an empty cart page instead of the success page after a succesfull payment.

Since this month multiple of our Magento 1 clients (and Magento 2 but that is not related to this M1 module) have reported issues where a lot of revenue is no longer tracked for their orders (1/3 of the amount), even though the orders were payed and had a correct status in Magento.

We see the following happening in the access logs and our own tests:
`[25/Aug/2020:10:30:40 +0200] "POST /buckaroo3extended/notify/return/ HTTP/1.0" 302 0 "https://checkout.buckaroo.nl/html/redirect.ashx?r=id" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Safari/604.1"

[25/Aug/2020:10:30:40 +0200] "GET /checkout/onepage/success/ HTTP/1.0" 302 0 "https://checkout.buckaroo.nl/html/redirect.ashx?r=id" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Safari/604.1"

[25/Aug/2020:10:30:40 +0200] "GET /checkout/cart/ HTTP/1.0" 200 761538 "https://checkout.buckaroo.nl/html/redirect.ashx?r=id" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Mobile/15E148 Safari/604.1"`

So a customer is send first to the success page, but the page is never outputted and a customer is instead redirected to the cart page... which appears to be empty. A successful payment message is shown. The redirect is caused because the session assigned to the customer at that point no longer contains any data, and also no getLastSuccessQuoteId value.

The redirect is triggered by the following line: app/code/core/Mage/Checkout/controllers/OnepageController.php:282
/** * Order success action */ public function successAction() { $session = $this->getOnepage()->getCheckout(); if (!$session->getLastSuccessQuoteId()) { $this->_redirect('checkout/cart'); return; }

We found out this appears to be happening (for now) only in the Chrome browser and see multiple pages reporting this or providing fixes for M1/M2:
OpenMage/magento-lts#414 (comment)
https://github.com/Veriteworks/CookieFix

I was able to fix this for my own computer by disabling the flags used for SameSite in Google Chrome under chrome://flags/. Specifically:

  1. SameSite by default cookies
  2. Enable removing SameSite=None cookies
  3. Cookies without SameSite must be secure

We are now mostly wondering if something in the Buckaroo module can be changed to fix this issue.

We are also curious if changing the custom url for Buckaroo to a subdomain of our client would fix the above issues, since that is a feature of Buckaroo, but beyond this module perhaps.

Can't install buckaroo through packagist for magento 1

Hey,

I cannot install the module through packagist. Could you solve this for me?

Error when installing:

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 1 install, 0 updates, 0 removals
  - Installing tig/buckaroo-magento1 (v4.20.0): Downloading (failed)    Failed to download tig/buckaroo-magento1 from dist: The "https://api.github.com/repos/tig-nl/buckaroo-magento1/zipball/36fda34c0149e703e79cc39fea0197c7e7202224" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing tig/buckaroo-magento1 (v4.20.0): Cloning 36fda34c01

                                                                                                       
  [RuntimeException]                                                                                   
  Failed to clone https://github.com/tig-nl/buckaroo-magento1.git via https, ssh protocols, aborting.  
                                                                                                       
  - https://github.com/tig-nl/buckaroo-magento1.git                                                    
    Cloning into '/var/www/html/example/vendor/tig/buckaroo-magento1'...                            
    remote: Invalid username or password.                                                              
    fatal: Authentication failed for 'https://github.com/tig-nl/buckaroo-magento1.git/'                
                                                                                                       
  - [email protected]:tig-nl/buckaroo-magento1.git                                                        
    Cloning into '/var/www/html/example/vendor/tig/buckaroo-magento1'...                            
    ERROR: Repository not found.                                                                       
    fatal: Could not read from remote repository.                                                      
                                                                                                       
    Please make sure you have the correct access rights                                                
    and the repository exists.                                                                         
                                                                                                       

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.