Skip to content
GitLab
Explore
Sign in
sanaviron-quilmes
paypertic-sdk
Compare revisions
9df768903204b51adbd6db144d6822a8e6080815 to 5b32cd6f93c5483d2f88957828a0457f98f6c596
Commits on Source (2)
refs #47181
· cfe9fe11
Valentín Tobares
authored
Jan 29, 2024
cfe9fe11
Merge branch 'feature/47181-error-devolucion-pago-tic' into 'develop'
· 5b32cd6f
Fernando Alvez
authored
Feb 02, 2024
refs #47181 See merge request sanaviron-quilmes/paypertic-sdk!1
5b32cd6f
Hide whitespace changes
Inline
Side-by-side
sdk/lib/paypertic.php
View file @
5b32cd6f
...
...
@@ -125,9 +125,10 @@ class PPT
/**
* Refund accredited payment
* @param string $id
* @param string $amount
* @return array(json)
*/
public
function
refund_payment
(
$id
)
public
function
refund_payment
(
$id
,
$amount
)
{
$request
=
array
(
"uri"
=>
"/pagos/devolucion/
{
$id
}
"
,
...
...
@@ -135,7 +136,8 @@ class PPT
"access_token"
=>
$this
->
get_access_token
()
),
"data"
=>
array
(
"type"
=>
"online"
"type"
=>
"online"
,
"amount"
=>
$amount
,
)
);
...
...