Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PW-1661 Implement local payment methods #39

Merged
merged 34 commits into from
Nov 11, 2019
Merged

PW-1661 Implement local payment methods #39

merged 34 commits into from
Nov 11, 2019

Conversation

msilvagarcia
Copy link
Contributor

@msilvagarcia msilvagarcia commented Nov 7, 2019

This Pull Request contains changes from Pull Requests #27 and #35. It also wraps up the development of Local Payment Methods that work with a simple setup, like iDeal, Sofort and Dotpay.

marcoss and others added 30 commits October 17, 2019 12:26
* Add an exception that is usually logged somewhere

* Create a refund model

* Simplify unnecessary abstraction

* Replace qualifier with an import

* Listen to actionOrderSlipAdd hook

* Fix notification message

* Add a method to get an order by order slips

This will be used as the merchant reference in the refund request. When a refund notification arrives, we need to be sure to fetch an order based on this order slip id.

* Change reference to ID

* Adjust fetching of order object based on order slips

* Fix order object fetching

* Fix module

* Update service/modification/Refund.php

Co-Authored-By: Alessio Zampatti <[email protected]>

* Remove logging

* Extract method for SQL query

* Make intentions more explicit

* Fix Refund tests

* Fix Refund tests

* Refactor the Adyen main class

* Help @Aleffio

Co-Authored-By: Alessio Zampatti <[email protected]>
* Add PHP Code Sniffer

* Move configuration around

* Clarify PHPCS instruction
# Conflicts:
#	adyen.php
#	controllers/admin/AdminAdyenPrestashopCronController.php
#	controllers/front/Payment.php
#	controllers/front/ThreeDSProcess.php
#	controllers/front/Validate3d.php
#	service/adapter/classes/order/OrderAdapter.php
* Use the PrestaShop Service Locator

* Show up Local Payment Methods
* Use the PrestaShop Service Locator

* Add a wrapper for ServiceLocator

* Use the wrapped ServiceLocator

* Show up Local Payment Methods

* Redirect shopper to external authorisation

* Display and log error on uncaught response codes
Co-Authored-By: cyattilakiss <[email protected]>
@msilvagarcia msilvagarcia changed the title PW-1661 Implement iDeal payment method PW-1661 Implement local payment methods Nov 11, 2019
@msilvagarcia msilvagarcia merged commit 0efada8 into develop Nov 11, 2019
@msilvagarcia msilvagarcia deleted the PW-1661 branch November 11, 2019 12:47
@cyattilakiss cyattilakiss mentioned this pull request Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants