Is it possible to have JSPayment API call a method before it makes the payment. The method would return true|false for the call to happen or not? This would be to solve the following scenario:
- User "A" Logs in and vews Invoice # 100
- User "B" logs in and views Invoice # 100
- User B pushes "Pay now"
- User "A" tries to pay.