Identifying the type of operation
The vads_operation_type field allows to distinguish:
- a debit operation
- a refund operation
|VERIFICATION||Checking operation during token creation or token update without payment.|
If vads_operation_type is set to DEBIT, the script updates the order and registers the transaction details.
If vads_operation_type is set to CREDIT, the script updates the paid amount or adds a new transaction line in the order.