Open WesleyJohnson opened 9 years ago
Sorry for the delayed answer. I think the easiest would be to add optional properties simply by adding setter and getter for the predefined Parameters (eg.: iframeCssUrl) but don't add them to the requiredOrder array in the class. Then it would be nescessary to union these parameters with the array of GetParametersWithFingerprint().
Please feel free to fork and create a pull request.
Wirecard often has additional parameters that can be sent through Wirecard Checkout Seamless that are both optional and should not be computed as part of the fingerprint. For instance, on a DataStorageInit request, you can send parameters to define a CSS file to style the embedded iframe.
https://integration.wirecard.at/doku.php/wcs:pci3_fallback:start?s[]=iframecssurl
Additionally, for FrontendInitRequests, you can define as many additional parameters as you want and Wirecard will return those parameters back to you when doing the server-to-server POST to your confirmUrl endpoint. for Wirecard Checkout Seamless and all of your url endpoints for Wirecard Checkout Page.
https://integration.wirecard.at/doku.php/request_parameters (Customer Parameters set by yoursef).
It would be great if support could be added for this feature. As it stands I've had to change the superclass Get methods so that I'm easily able to define them. And change you might add this in the future?