Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
hossam-adyen committed Feb 21, 2024
1 parent dba5fe3 commit e925780
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Plugin/PaymentVaultDeleteToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ public function beforeDelete(PaymentTokenRepositoryInterface $subject, PaymentTo
);

$response = $recurringService->disable(new DisableRequest($request));

$responseData = json_decode(json_encode($response->jsonSerialize()), true);
$this->dataHelper->logResponse($responseData);

} catch (AdyenException $e) {
$this->adyenLogger->error(sprintf(
'Error while attempting to disable token with id %s: %s',
Expand Down

0 comments on commit e925780

Please sign in to comment.