Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throwing AdyenException for successful response #176

Closed
cangelis opened this issue Mar 26, 2020 · 2 comments
Closed

Throwing AdyenException for successful response #176

cangelis opened this issue Mar 26, 2020 · 2 comments
Assignees
Labels

Comments

@cangelis
Copy link
Contributor

PHP version: 7.3
Library version: 6.0.1
Description

Adyen library is throwing the AdyenException for successful api results in transferFunds calls.

See the stacktrace.

Adyen\AdyenException: {"pspReference":"4215852201976584","resultCode":"Received","merchantReference":"RefundFee_4515852201309999"} in /tmp/vendor/adyen/php-api-library/src/Adyen/HttpClient/CurlClient.php:289
Stack trace:
#0 /tmp/vendor/adyen/php-api-library/src/Adyen/HttpClient/CurlClient.php(97): Adyen\HttpClient\CurlClient->handleResultError('{"pspReference"...', Object(Monolog\Logger))
#1 /tmp/vendor/adyen/php-api-library/src/Adyen/Service/AbstractResource.php(83): Adyen\HttpClient\CurlClient->requestJson(Object(Adyen\Service\Fund), 'https://cal-liv...', Array, NULL)
#2 /tmp/vendor/adyen/php-api-library/src/Adyen/Service/Fund.php(113): Adyen\Service\AbstractResource->request(Array)
#3 /var/task/app/Services/Adyen.php(161): Adyen\Service\Fund->transferFunds(Array)
@cyattilakiss cyattilakiss self-assigned this Mar 26, 2020
@cyattilakiss
Copy link
Contributor

Hi @cangelis ,

Thank you for raising this issue. I will create the ticket for ourselves and create the fix asap.

Best,
Attila
Adyen

@cyattilakiss
Copy link
Contributor

Hi @cangelis ,

We are going to release the fix in version 6.1.0. I will close this issue for now but please feel free to reopen if the issue is still there.

Best,
Attila
Adyen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants