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-9154][ECP-9491] Excessive network usage while making a virtual purchase #2581

Open
embolden opened this issue Apr 10, 2024 · 4 comments · May be fixed by #2770
Open

[ECP-9154][ECP-9491] Excessive network usage while making a virtual purchase #2581

embolden opened this issue Apr 10, 2024 · 4 comments · May be fixed by #2770
Assignees
Labels
Bug report Indicates that issue has been marked as a possible bug

Comments

@embolden
Copy link

Describe the bug
When placing an order for a virtual product adyen.js makes ~100 calls to each of dfp.1.0.0.html, fingerprintjs2.js, and risk.1.0.0.js. This transfers 2.8MB over the network. Purchasing a physical product makes ~6 calls on the same environment.

To Reproduce
Steps to reproduce the behavior:
Assuming a clean Magento 2 installation with only the Adyen plugin installed and a sample virtual product.

  1. Add virtual product to cart
  2. Go to checkout
  3. Observe network tab

Expected behavior
I would expect that 1 call would be sufficient for these.

Magento version
2.4.6-p4

Plugin version
9.3.0

Screenshots
Sorry for the resolution - Github limits to 10MB.
https://github.com/Adyen/adyen-magento2/assets/1679978/0a04b624-5149-45c8-90c6-7adaadbc84a7

Desktop (please complete the following information):

  • OS: MacOS Sonoma 14.1.1 (23B81)
  • Browser: Chrome
  • Version: 123.0.6312.107
@embolden embolden added the Bug report Indicates that issue has been marked as a possible bug label Apr 10, 2024
@candemiralp candemiralp changed the title Excessive network usage while making a virtual purchase [ECP-9154] Excessive network usage while making a virtual purchase Apr 23, 2024
@candemiralp
Copy link
Member

Hello @embolden,

Thank you for raising this issue. We've created an internal investigation ticket.

Best regards,
Can

@candemiralp candemiralp self-assigned this Apr 23, 2024
@candemiralp
Copy link
Member

Hello @embolden,

We've successfully reproduced this issue. But considering the current priorities, we won't be able to provide a fix soon. However, as a temporary solution, you can disable risk data collection which triggers all of those calls.

Please add the following line to these configuration parameters.

risk: {
    enabled: false
}

You will be informed once we find an elegant solution to this issue.

Best regards,
Can

@candemiralp candemiralp changed the title [ECP-9154] Excessive network usage while making a virtual purchase [ECP-9154][ECP-9491] Excessive network usage while making a virtual purchase Sep 30, 2024
@JamelleG
Copy link

JamelleG commented Oct 8, 2024

Hello @candemiralp,

We are also experiencing the same issue. While we know there is a temporary workaround by disabling the risk data collection, do you have any updates on when a permanent fix might be available?

Especially given that Adyen v8 support/maintenance ends in January 2025 (https://github.com/Adyen/adyen-magento2?tab=readme-ov-file#support--maintenance).

@candemiralp
Copy link
Member

candemiralp commented Oct 14, 2024

Hello @embolden & @JamelleG,

Thank you for your patience. We have introduced a POC to this issue and are looking forward for some pilot tests. Could you please share your insights on the PR #2770?

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

Successfully merging a pull request may close this issue.

3 participants