Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christoph Flathmann
SobiPro
Commits
749ef4ea
Commit
749ef4ea
authored
7 years ago
by
Sigrid Suski
Browse files
Options
Download
Email Patches
Plain Diff
(#) Wrong amount for Paypal payment if tax is set to 0 (Issue #62) / final version 1.4.4
parent
e738924f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
CHANGELOG.md
CHANGELOG.md
+2
-1
Site/opt/plugins/paypal/init.php
Site/opt/plugins/paypal/init.php
+8
-1
com_sobipro.xml
com_sobipro.xml
+2
-2
No files found.
CHANGELOG.md
View file @
749ef4ea
...
...
@@ -86,7 +86,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
(#) Missing part of JavaScript translations in backend (Issue #56)
(#) {payment.methods.html} placeholder doesn't generate correct HTML output for Paypal payment method
(#) Shown number of characters in textarea with HTML code corrected (if limitation is used)
(#) Wrong amount for Paypal payment if tax is set to 0 (Issue #62)
### 1.4.3 (19 October 2017)
...
...
This diff is collapsed.
Click to expand it.
Site/opt/plugins/paypal/init.php
View file @
749ef4ea
...
...
@@ -74,7 +74,14 @@ class SPPPaypal extends SPPlugin
$cfg
=
SPLoader
::
loadIniFile
(
'etc.paypal'
);
$rp
=
$cfg
[
'general'
][
'replace'
];
$to
=
(
$cfg
[
'general'
][
'replace'
]
==
','
)
?
'.'
:
','
;
$amount
=
str_replace
(
$rp
,
$to
,
$payment
[
'summary'
][
'sum_brutto'
]
);
$vat
=
Sobi
::
Cfg
(
'payments.vat'
,
0
);
if
(
$vat
)
{
$amount
=
str_replace
(
$rp
,
$to
,
$payment
[
'summary'
][
'sum_brutto'
]
);
}
else
{
$amount
=
str_replace
(
$rp
,
$to
,
$payment
[
'summary'
][
'sum_amount'
]
);
}
//compatibility for existing sites
if
(
array_key_exists
(
'ppcancel'
,
$data
)
)
{
...
...
This diff is collapsed.
Click to expand it.
com_sobipro.xml
View file @
749ef4ea
<?xml version="1.0" encoding="utf-8"?>
<extension
type=
"component"
version=
"3.2.0"
method=
"upgrade"
overwrite=
"true"
>
<name>
SobiPro
</name>
<creationDate>
17
January 2018
</creationDate>
<creationDate>
29
January 2018
</creationDate>
<author>
Sigsiu.NET GmbH
</author>
<authorEmail>
sobi[at]sigsiu.net
</authorEmail>
<authorUrl>
https://www.Sigsiu.NET
</authorUrl>
<copyright>
Copyright (C) 2006-2018 Sigsiu.NET GmbH
</copyright>
<license>
GNU General Public License v3
</license>
<version>
1.4.4
.K
</version>
<version>
1.4.4
</version>
<codename>
Owl
</codename>
<description>
SobiPro directory component for Joomla!
</description>
<version_number>
1.4.4
</version_number>
...
...
This diff is collapsed.
Click to expand it.
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
Legal Notice / Impressum
|
Data Protection / Datenschutzinformation