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

Use pspreference to fetch adyen payment #572

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jasperP98
Copy link

Summary

In the \Adyen\Shopware\ScheduledTask\Webhook\RefundWebhookHandler::handleSuccessfulNotification you try to fetch the adyen payment by its original reference but this function \Adyen\Shopware\Service\AdyenPaymentService::getAdyenPayment will try to search this via the pspreference.

Copy link

@AndreasA
Copy link
Contributor

would this fix #564 ?

@sneakyvv
Copy link
Contributor

sneakyvv commented Jan 8, 2025

We're not really sure what the original PSP reference is or when it might differ from the psp reference field, but I guess you guys would know, right?

Either way, this fixes our issue as we're noticing that transactions CAN be found with the psp reference while they CANNOT be found with the original reference, so it seems like an obvious fix, but the deeper WHY is not clear.

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

Successfully merging this pull request may close these issues.

3 participants