These are chat archives for Payum/Payum

21st
Mar 2016
David Fuhr
@davidfuhr
Mar 21 2016 14:42
makasim: is is possibly to invalidate a (notify) token form an action? after processing my notification i want to invalidate the notification token but PayumBundle keeps the notification token around
Max Kotliar
@makasim
Mar 21 2016 16:54

@davidfuhr It is better to do in an extension. filter out any not notify request and ones without the token. You can do on the postExecute of the first request.

Inject the http request verifier and do something like this $this->httpRequestVerifier->invalidate($request->getToken());