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

Missing option to get result of the payment session? #520

Closed
martinpl opened this issue Jul 10, 2023 · 2 comments
Closed

Missing option to get result of the payment session? #520

martinpl opened this issue Jul 10, 2023 · 2 comments

Comments

@martinpl
Copy link

Hello

I'm integrating Adyen payments straight forward way, payment works great but after successful payment I want to check payment status on server side, this is possible via curl (curl -X GET https://checkout-test.adyen.com/v70/sessions/CS12345678?sessionResult=SOME_DATA) but from my understanding this API (v14) don't support that or I missed something and there is way to do that?

Thanks!

https://docs.adyen.com/online-payments/build-your-integration?platform=Web&integration=Drop-in&version=5.43.0&tab=embed_script_and_stylesheet_2#get-payment-outcome

@jillingk
Copy link
Contributor

Hi @martinpl,

Thanks a lot for reaching out to us here! I actually wasn't aware of this endpoint and after looking into it, it seems might actually also not be the preferred way of retrieving the session result. Hence this endpoint is also not visible in the explorer and this library. I'm reaching out internally now to check wether it actually should be used or not, and will let you know as soon as I get a response.

In the meantime I'd definitely recommend instead using webhooks, as this is always the most preferred way to receive asynchronous request! If you need any help setting up webhooks let me know and we can take a look.

Best, Jilling
Adyen

@wboereboom
Copy link
Contributor

Hi @martinpl,

Just updating this thread to confirm that this feature is currently available in our latest library release (v15.1.0).
It can be found in Adyen\Service\Checkout by calling getResultOfPaymentSession.

Kind Regards,
Wouter
Adyen

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

No branches or pull requests

3 participants