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

When XML for request cannot be validated, warnings are triggered #18

Open
juriansluiman opened this issue Sep 17, 2013 · 1 comment
Open
Milestone

Comments

@juriansluiman
Copy link
Owner

The check for XML validation can raise php warnings. When the dom is invalid, the SlmIdealPayment\Exception\XmlValidationException is given:

Generated XML for directory request could not be validated

But this causes also quite some warnings to be triggered:

Warning: DOMDocument::schemaValidate() [domdocument.schemavalidate]: Element '{http://www.idealdesk.com/ideal/messages/mer-acq/3.3.1}purchaseID': [facet 'pattern'] The value '' is not accepted by the pattern '[a-zA-Z0-9]+'. in /my/site/vendor/slm/ideal-payment/src/SlmIdealPayment/Client/StandardClient.php on line 295
@divyalankadasari
Copy link

Hi Is this issue fixed, We are getting this error and xml cannot be validated, could you please suggest where are we going wrong

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

No branches or pull requests

2 participants