academe / SagePay-Integration

HTTP Messages for the Sage Pay REST (Pi) gateway.
GNU General Public License v3.0
9 stars 5 forks source link

Support Deferred transaction type and abort/release instructions #53

Closed judgej closed 7 years ago

judgej commented 7 years ago

New updates to the gateway API:

20-01-2017 v1 Added Deferred transaction type and abort \ release instructions.

judgej commented 7 years ago

The fetch instructions response is an array of instructions and timestampes, or a 404 if there are none. These are the instructions that have been applied to the transaction. It's not clear whether those instructions will ever get a state that can be tracked.

judgej commented 7 years ago

Added an Instruction Collection response object. This has highlighted two things:

judgej commented 7 years ago

Do we need separate Void/Abort/Release instruction responses? THey all contain the same standard type and date properties, so are identical, and even if not, could self-identify their instruction type. Maybe just one Instruction class will be enough, for now at least.