Skip to content

Commit

Permalink
Update GetAdyenPaymentMethodsByProduct.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hossam-adyen authored Feb 2, 2024
1 parent 1d948fb commit 1330153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/GetAdyenPaymentMethodsByProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function execute(
$service = new PaymentsApi($adyenClient);

$responseObj = $service->paymentMethods(new PaymentMethodsRequest($paymentMethodRequest));
$response = (array)$responseObj->jsonSerialize();
$response = json_decode(json_encode($responseObj->jsonSerialize()), true);

if (!$response) {
return [];
Expand Down

0 comments on commit 1330153

Please sign in to comment.