Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
crefopay
Magento 2
Commits
7248a2a3
Commit
7248a2a3
authored
May 02, 2019
by
Vincent Mrose
💬
Browse files
Consumer no longer returns an exception when the order was paid with CP
Signed-off-by:
Vincent Mrose
<
v.mrose@crefopay.de
>
parent
de65bcbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
7248a2a3
...
...
@@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
## [0.9.3-mnshandling] - 2019-05-02
### Fixed
-
The MNS handling no longer throws an error when an order was paid with CrefoPay
## [0.9.3] - 2019-04-04
### Fixed
-
Reloading the payment selection does not display the credit card inputs again (#5)
...
...
app/code/Trilix/CrefoPay/Model/Mns/Consumers/AbstractConsumer.php
View file @
7248a2a3
...
...
@@ -35,7 +35,7 @@ abstract class AbstractConsumer
*/
public
function
process
(
MnsEvent
$event
)
{
if
(
$this
->
orderHelper
->
hasCrefoPayment
(
$this
->
getOrder
(
$event
)))
{
if
(
!
$this
->
orderHelper
->
hasCrefoPayment
(
$this
->
getOrder
(
$event
)))
{
throw
new
MnsConsumerException
(
sprintf
(
'Can not process MNS event for increment order ID %s. The order has not been paid with CrefoPay.'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment