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

PHP SDK suggestion #5

Open
ricattricks opened this issue Aug 8, 2020 · 0 comments
Open

PHP SDK suggestion #5

ricattricks opened this issue Aug 8, 2020 · 0 comments

Comments

@ricattricks
Copy link

You should throw exceptions so we can handle errors and prevent fatal errors from breaking the flow when retrieving possible transactions. For exemple in this statement:

TransactionCaller::getTransactionDetailsByTransactionIdRequest($transaction_id, $credentials, $config_arr);

If "$transaction_id" is invalid, then it will likely return a FATAL ERROR and brreak the code, unless there's already an existing workaround from the SDK to handle this.

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

1 participant