Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iwl-live
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Anthony.Suerte
iwl-live
Commits
0b4116d9
Commit
0b4116d9
authored
Sep 22, 2021
by
Antonio.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hotfix 0922
parent
b0a1d01f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
11 deletions
+12
-11
controller.php
logic/deposit/controller.php
+2
-2
EasyPaymentLinkAPI.php
logic/deposit/ext/EasyPaymentLinkAPI.php
+1
-1
logic.php
logic/deposit/logic.php
+1
-1
model.php
logic/deposit/model.php
+1
-0
logic.php
logic/middleware/logic.php
+1
-1
EasyPaymentLink.php
logic/middleware/purposes/EasyPaymentLink.php
+1
-1
PaymentAPI.php
logic/middleware/purposes/PaymentAPI.php
+1
-2
model.php
logic/settlement/model.php
+4
-3
No files found.
logic/deposit/controller.php
View file @
0b4116d9
...
...
@@ -2,8 +2,8 @@
require_once
(
'ext/ESnappedAPI.php'
);
require_once
(
'ext/EasyPaymentLinkAPI.php'
);
require_once
(
SITE_LOGICS
.
'
deposit/logic.php'
);
require_once
(
SITE_LOGICS
.
'
/deposit/config.php'
);
require_once
(
'../logic/
deposit/logic.php'
);
require_once
(
'../logic
/deposit/config.php'
);
class
ControlDeposit
extends
LogicDeposit
{
...
...
logic/deposit/ext/EasyPaymentLinkAPI.php
View file @
0b4116d9
...
...
@@ -71,7 +71,7 @@ class EasyPaymentLinkAPI extends System {
*/
private
$currency
;
p
rivate
function
__construct
(){
p
ublic
function
__construct
(){
parent
::
__construct
();
$this
->
setParameter
();
}
...
...
logic/deposit/logic.php
View file @
0b4116d9
<?php
require_once
(
SITE_LOGICS
.
'
deposit/model.php'
);
require_once
(
'../logic/
deposit/model.php'
);
class
LogicDeposit
extends
DepositModelClass
{
...
...
logic/deposit/model.php
View file @
0b4116d9
...
...
@@ -2889,6 +2889,7 @@ class DepositModelClass extends ModelClassEx {
$eplAPI
->
process
();
// verdict
if
(
$eplAPI
->
getHttpCode
()
==
"200"
){
$eplAPI
->
redirectToForm
();
}
...
...
logic/middleware/logic.php
View file @
0b4116d9
<?php
require_once
(
SITE_LOGICS
.
'
logic/middleware/model.php'
);
require_once
(
'../
logic/middleware/model.php'
);
class
LogicMiddleware
extends
MiddlewareModelClass
{
...
...
logic/middleware/purposes/EasyPaymentLink.php
View file @
0b4116d9
...
...
@@ -64,7 +64,7 @@ class EasyPaymentLink extends System {
* コンストラクタ
*
*/
p
rivate
function
__construct
(){
p
ublic
function
__construct
(){
parent
::
__construct
();
$this
->
eplconf
=
$this
->
getConfiguration
();
$this
->
eplTransactionId
=
$this
->
getDataGet
(
"transaction_id"
);
...
...
logic/middleware/purposes/PaymentAPI.php
View file @
0b4116d9
...
...
@@ -51,9 +51,8 @@ class PaymentAPI extends System {
* コンストラクタ
*
*/
p
rivate
function
__construct
(){
p
ublic
function
__construct
(){
parent
::
__construct
();
$this
->
initSettings
();
}
...
...
logic/settlement/model.php
View file @
0b4116d9
...
...
@@ -322,7 +322,7 @@ class SettlementModelClass extends ModelClassEx {
PARAM_CURRENCY
=>
$this
->
currency
,
PARAM_RATE
=>
$this
->
getRateEx
(),
"uniqueSubmission"
=>
!
$this
->
isLoopData
(
$invalid
)
?
$this
->
formName
.
md5
(
$this
->
paymentAPIConf
->
middleware_sig
n
_passphrase
)
:
NO_STRING
,
$this
->
formName
.
md5
(
$this
->
paymentAPIConf
->
middleware_sig_passphrase
)
:
NO_STRING
,
PARAM_MESSAGE
=>
$this
->
msg
];
}
...
...
@@ -474,11 +474,12 @@ class SettlementModelClass extends ModelClassEx {
}
private
function
validateProcessing
(){
if
(
$this
->
uniqueSubmission
==
$this
->
formName
.
md5
(
$this
->
paymentAPIConf
->
middleware_sig_token
)){
print_r
(
$this
->
paymentAPIConf
);
if
(
$this
->
uniqueSubmission
==
$this
->
formName
.
md5
(
$this
->
paymentAPIConf
->
middleware_sig_passphrase
)){
$this
->
setData
();
$this
->
arrangeFreeParams
();
}
else
{
$this
->
invalidFormParams
(
"Invalid Submission Identifier!"
)
;
$this
->
invalidFormParams
[]
=
"Invalid Submission Identifier!"
;
$this
->
setType
(
TYPE_FAIL
);
}
}
...
...
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