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

[ECP-9327] Magento sending to Adyen the IP of our frontend proxy instead of the IP of the shopper #2673

Open
acourtiol opened this issue Jul 8, 2024 · 1 comment
Assignees
Labels
Bug report Indicates that issue has been marked as a possible bug

Comments

@acourtiol
Copy link

acourtiol commented Jul 8, 2024

Describe the bug
Since the change introduced in version 8.19.1 with the PR 2101 the IP address sent by the extension to Adyen is the one from the frontend proxy if used in an headless setup instead of the one from the shopper. Rollbacking the changes from PR 2101 is fixing the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Use this extension after version 8.19.1 on a Magento headless
  2. Make an order
  3. On Magento BO the IP address of the shopper making the order is displayed
  4. On Adyen BO the IP address isn't the one from the shopper making the order but the one from the frontend proxy (BFF)

Expected behavior
The shopper IP address should be the one appearing on the Adyen BO, else it breaks the anti-fraud logic based on IP addresses

Magento version
2.4.7

Plugin version
9.4.1

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS 14
  • Browser: Chrome
  • Version: 126

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro
  • OS: iOS 17
  • Browser: Chrome
  • Version: 126

Additional context
Our headless frontend and BFF are hosted on AWS, proxying the requests to the Adobe Commerce API hosted on Adobe Commerce Cloud

@acourtiol acourtiol added the Bug report Indicates that issue has been marked as a possible bug label Jul 8, 2024
@acourtiol acourtiol changed the title Magento sending to Adyen the IP of our frontend proxy instead of the IP of the user Magento sending to Adyen the IP of our frontend proxy instead of the IP of the shopper Jul 15, 2024
@candemiralp candemiralp changed the title Magento sending to Adyen the IP of our frontend proxy instead of the IP of the shopper [ECP-9327] Magento sending to Adyen the IP of our frontend proxy instead of the IP of the shopper Jul 17, 2024
@candemiralp candemiralp self-assigned this Jul 17, 2024
@candemiralp
Copy link
Member

Hello @acourtiol,

Thank you for creating this issue. We have created an internal investigation ticket. Once the investigation is done, you will be notified.

Best Regards,
Can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Indicates that issue has been marked as a possible bug
Projects
None yet
Development

No branches or pull requests

2 participants