Updates
This commit is contained in:
@ -44,7 +44,7 @@ class Toku extends Controller
|
||||
$body = $request->getBody();
|
||||
$input = json_decode($body->getContents(), true);
|
||||
try {
|
||||
if ($tokuService->updatePago($input['payment_intent'])) {
|
||||
if ($tokuService->successEvent($input)) {
|
||||
return $responseFactory->createResponse(204);
|
||||
}
|
||||
return $responseFactory->createResponse(409, 'Payment could not be updated');
|
||||
|
Reference in New Issue
Block a user