ValidatorCallback
Respond to the events triggered by the developer's validator. Developers will need to implement this interface if custom validation checks need to be provided before finalizing an order. If the purchase is properly verified, call onSuccess, otherwise call onFailure so the library can appropriately continue the lifecycle of a customer's order.