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
6
Merge Requests
6
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
3a37f696
Commit
3a37f696
authored
Apr 20, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HelloAsso : fix error in synchro 3
parent
c72fed9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
HelloAssoController.php
src/Controller/HelloAssoController.php
+7
-0
No files found.
src/Controller/HelloAssoController.php
View file @
3a37f696
...
...
@@ -131,6 +131,13 @@ class HelloAssoController extends CRUDController
// type : "Donation", "Payment", "Registration", "Membership", "MonthlyDonation", "MonthlyPayment", "OfflineDonation", "Contribution", "Bonus"
$itemType
=
$item
[
'type'
];
$itemState
=
$item
[
'state'
];
$payments
=
isset
(
$item
[
'payments'
])
?
$item
[
'payments'
]
:
null
;
// statePayment : "Pending", "Authorized", "Refused", "Unknown", "Registered", "Error", "Refunded", "Refunding", "Waiting", "Canceled", "Contested", "WaitingBankValidation", "WaitingBankWithdraw"
$statePayment
=
'NONE'
;
$paymentReceiptUrl
=
''
;
if
(
null
!=
$payments
)
{
$statePayment
=
isset
(
$payments
[
0
][
'state'
])
?
$payments
[
0
][
'state'
]
:
'NONE'
;
}
$helloasso
->
setType
(
$itemType
);
$userFirstname
=
''
;
...
...
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