-
Notifications
You must be signed in to change notification settings - Fork 3
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
Retrieving iDEAL issuers from transient catches exceptions #69
Comments
This issue was brought to our attention again via internal HelpScout ticket: https://secure.helpscout.net/conversation/1942250530/24187?folderId=1425710. The customer probably made a mistake while setting up the iDEAL Advanced certificate, but didn't see the underlying error message:
|
I think we should also combine this directly with the following issue: The following
I believe we should als abstract the way we use the WordPress https://developer.wordpress.org/apis/handbook/transients/ API. We know from the iDEAL Advanced integration guide that it is not allowed to request the iDEAL issuers for each transaction:
I think this is less important with, for example, the Mollie API: |
This has been improved in wp-pay-core/views/meta-box-gateway-test.php Lines 68 to 101 in 00ce242
|
I believe this has been discussed before, the
Gateway->get_transient_issuers()
method catches exceptions. As a result, as an administrator you will not always see error messages that occur when retrieving the iDEAL issuers.wp-pay-core/src/Core/Gateway.php
Lines 157 to 186 in 40a63d7
This catch was added in 2c9a6bf on March 31, 2022. Probably also necessary because the switch from errors to exceptions has not yet been made properly / completely.
This can be seen, for example, in the Gravity Forms integration:
We should remove the catch from the
Gateway->get_transient_issuers()
method and handle the exceptions downstream.The text was updated successfully, but these errors were encountered: