recurly-js
recurly-js copied to clipboard
If formRef unmounts during call, recurly.token fails silently.
As stated here, if a race condition occurs where a form is unmounting as a call to recurly.token is running it is possible for recurly.token to fail when the formRef dissapears.
This failure produces no noticeable crashes or errors, and does not hit the callback making it difficult to trace.
@MalusGreen Apologies for not replying sooner. We will proceed to investigate this async disconnect bug. Could you provide us with a repro code sample in order to help us clarify what is happening? Thank you!