Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Partners
CiviCooP
AIVL
koalecttocivi
Commits
24448307
Commit
24448307
authored
May 25, 2022
by
ErikHommel
Browse files
fixing total fee stuff
parent
8699be40
Changes
1
Hide whitespace changes
Inline
Side-by-side
CRM/Koalecttocivi/KoalectTransaction.php
View file @
24448307
...
...
@@ -210,8 +210,9 @@ class CRM_Koalecttocivi_KoalectTransaction {
if
(
!
empty
(
$incomingParams
[
'total_fee'
]))
{
$totalFee
=
(
int
)
$incomingParams
[
'total_fee'
];
Civi
::
log
()
->
debug
(
'total fee is nu: '
.
$totalFee
);
$fee
=
$totalFee
[
'total_fee'
]
/
100
;
$data
[
'total_fee'
]
=
round
(
$fee
,
2
);
$totalFee
=
$totalFee
/
100
;
$data
[
'total_fee'
]
=
round
(
$totalFee
,
2
);
Civi
::
log
()
->
debug
(
'total fee is na afloop: '
.
$data
[
'total_fee'
]);
}
if
(
!
empty
(
$incomingParams
[
'stripe_payout_net'
]))
{
$stripeNet
=
(
int
)
$incomingParams
[
'stripe_payout_net'
]
/
100
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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