You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The idempotency key is not set in the request header, because Adyen\Service\AbstractResource::requestHttp does not pass the requestOptions param.
To Reproduce
Install library.
Use Adyen\Service\ResourceModel\Checkout\PaymentLinks::create with the $requestOptions set to ['idempotency' => ].
Uxing xdebug or similar, see how the $requestOptions param is lost along the way and not sent in the header.
Expected behavior
The request options should be passed to Adyen\HttpClient\CurlClient::requestHttp and the idempotency key should be sent in the header of the request.
The text was updated successfully, but these errors were encountered:
Upon further work with implementation I realised that this implementation is deprecated and to use Adyen\Service\Checkout\PaymentLinksApi::paymentLinks instead.
Describe the bug
The idempotency key is not set in the request header, because Adyen\Service\AbstractResource::requestHttp does not pass the requestOptions param.
To Reproduce
Expected behavior
The request options should be passed to Adyen\HttpClient\CurlClient::requestHttp and the idempotency key should be sent in the header of the request.
The text was updated successfully, but these errors were encountered: