Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
c463c934
Commit
c463c934
authored
Mar 26, 2024
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add debug
parent
de69d0fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
PaymentController.php
src/Controller/PaymentController.php
+2
-0
PaymentStatusExtension.php
src/EventListener/PaymentStatusExtension.php
+1
-0
No files found.
src/Controller/PaymentController.php
View file @
c463c934
...
@@ -228,6 +228,8 @@ class PaymentController extends AbstractController
...
@@ -228,6 +228,8 @@ class PaymentController extends AbstractController
//We must indeed prevent a user from a browser reload e.g.
//We must indeed prevent a user from a browser reload e.g.
if
(
$payment
->
getIsRecurrent
())
{
if
(
$payment
->
getIsRecurrent
())
{
var_dump
(
"This is recurring payment, yes !"
);
die
;
//Because we take into account all incoming notifications for recurring payments,
//Because we take into account all incoming notifications for recurring payments,
//neither successive recurring payment occurences nor initial recurring payment should be
//neither successive recurring payment occurences nor initial recurring payment should be
//handled by this controler as it will lead to duplicates.
//handled by this controler as it will lead to duplicates.
...
...
src/EventListener/PaymentStatusExtension.php
View file @
c463c934
...
@@ -59,6 +59,7 @@ class PaymentStatusExtension implements ExtensionInterface
...
@@ -59,6 +59,7 @@ class PaymentStatusExtension implements ExtensionInterface
*/
*/
public
function
onPostExecute
(
Context
$context
)
public
function
onPostExecute
(
Context
$context
)
{
{
var_dump
(
"onPostExecute called !!!!"
);
$request
=
$context
->
getRequest
();
$request
=
$context
->
getRequest
();
if
(
false
==
$request
instanceof
Generic
)
{
if
(
false
==
$request
instanceof
Generic
)
{
return
;
return
;
...
...
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