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

Address validation error leads to PHP Notice #83

Closed
sydekumf opened this issue Jul 4, 2017 · 3 comments
Closed

Address validation error leads to PHP Notice #83

sydekumf opened this issue Jul 4, 2017 · 3 comments
Labels

Comments

@sydekumf
Copy link

sydekumf commented Jul 4, 2017

Hi there,

we had an address validation error (which is correct as the address was not correct) but the response from Payone lead to a PHP notice in the module.

In https://github.com/PAYONE-GmbH/magento-2/blob/master/Model/Api/Request/Consumerscore.php#L118 it is expected that the response has the score field, but in a case of a wrong address the response looks like:

[04-Jul-2017 07:29:34 UTC] array (
  'status' => 'INVALID',
  'errorcode' => '4041',
  'secstatus' => '30',
  'errormessage' => 'Address not found',
  'customermessage' => 'Address not found. Please verify your data.',
)

That is the reasons why line 118 throws a notice and nothing happens in the frontend (no message).

Thanks for your help :-)

@fjbender fjbender added the bug label Jul 4, 2017
@fjbender
Copy link
Contributor

fjbender commented Jul 4, 2017

We'll look into it (MAG2-33).

@sydekumf
Copy link
Author

What is the current status of this? We are still experiencing the issue :-)

@T-Kuchel
Copy link
Contributor

We ( @FATCHIP-GmbH ) are still working on that. We'll inform you immediately when this issue is solved.
Thank you for your patience!

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

No branches or pull requests

3 participants