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

Abort Defer transaction requires txAuthNo #149

Closed
pendledt opened this issue Feb 27, 2020 · 2 comments
Closed

Abort Defer transaction requires txAuthNo #149

pendledt opened this issue Feb 27, 2020 · 2 comments

Comments

@pendledt
Copy link

pendledt commented Feb 27, 2020

As I currently understand it, the following SagePay Direct transactions can be aborted:

  • Deferred before it's released
  • Authorisation before it's captured

To process the abort, Deferred requires the TxAuthNo whereas Authorisation does not.

At the moment, the SharedAbortRequest class doesn't include TxAuthNo so aborting a deferred transaction results in an error with message "3072 : The TxAuthNo field is missing."

Please correct me if I have this wrong, otherwise I will submit a PR for the change.

Thanks

@pendledt
Copy link
Author

For some reason SharedAbortRequest was different to the current version. Updated and everything is working.

@judgej
Copy link
Member

judgej commented Feb 27, 2020

Thank you for letting me know.

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