Skip to content

Commit

Permalink
Merge pull request #16 from gillesbourgeat/dump-version-1-3-2
Browse files Browse the repository at this point in the history
Add new route for fail url with message
  • Loading branch information
gillesbourgeat authored Jan 21, 2019
2 parents 4dd6e06 + 3439903 commit adc4a16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Config/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<language>fr_FR</language>
<language>en_US</language>
</languages>
<version>1.3.1</version>
<version>1.3.2</version>
<authors>
<author>
<name>Thelia</name>
Expand Down
5 changes: 5 additions & 0 deletions Config/routing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<requirement key="order_id">\d+</requirement>
</route>

<route id="cmcic.payfail.with.message" path="/cmcic/payfail/{order_id}/{message}" methods="get">
<default key="_controller">CmCIC\Controller\CmcicPayResponse::payfail</default>
<requirement key="order_id">\d+</requirement>
</route>

<route id="cmcic.receive" path="/cmcic/validation" methods="post">
<default key="_controller">CmCIC\Controller\CmcicPayResponse::receiveResponse</default>
</route>
Expand Down

0 comments on commit adc4a16

Please sign in to comment.