Adyen / adyen-magento2

Adyen Payment plugin for Magento2
MIT License
155 stars 210 forks source link

[PW-2639] Klarna error message in Magento check-out is incomplete #747

Closed pascalexperius closed 2 years ago

pascalexperius commented 4 years ago

Describe the bug When Klarna refuses an order because the phone number is incomplete, the Adyen module shows a (too) brief error "The requested Payment Method is not available". It would be better to show a more extensive message like "Your order is declided by Klarna, please select another method". Or even show the exact cause of the denial.

To Reproduce Steps to reproduce the behavior:

  1. Go to Magento front-end and s
  2. Add a product to the cart and click on "proceed to checkout"
  3. Select an invalid phone number in the checkout

Expected behavior Magento would show a clear error message, so the customer would know how he/she could complete the order.

Screenshots Klarna - Error

Desktop (please complete the following information):

Describe the bug When Klarna refuses an order because the phone number is incomplete, the Adyen module shows a (too) brief error "The requested Payment Method is not available". It would be better to show a more extensive message like "Your order is declided by Klarna, please select another method". Or even show the exact cause of the denial.

To Reproduce Steps to reproduce the behavior:

  1. Go to Magento front-end and s
  2. Add a product to the cart and click on "proceed to checkout"
  3. Select an invalid phone number in the checkout

Expected behavior Magento would show a clear error message, so the customer would know how he/she could complete the order.

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

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

acampos1916 commented 4 years ago

Hello @pascalexperius,

Thank you for opening this issue. I've created an internal ticket so we can look into it. We'll let you know of any progress made.

Cheers, Ángel

tnaber commented 2 years ago

Hi @pascalexperius,

Sorry for this ticket not being picked up. I have investigated whether this problem is still relevant. I have tested the phone numbers in #749 and these are now accepted by Klarna. Additionally, in the current flow, it should not be possible to enter an incomplete phone number. Thinking about other potential errors I think the default error message 'Error with payment method please select different payment method.' suffices for now. I do agree that we should elaborate more on specifics wherever we can, however that applies not only to Klarna and is beyond the scope of this issue.

For these reasons I would like to close this ticket but I will leave it open for now as I might be missing something. Please let me know if that is the case and this is still an active problem for you :)

Cheers, Titus