This kit doesn't properly handle the various ways in which requests can fail: it doesn't catch exceptions, and it only returns a generic message like "Token processing error" if it detects an error, which can lead you to think the PSP is having difficulties, when in fact it's just the user's browser or network messing up.
This kit doesn't properly handle the various ways in which requests can fail: it doesn't catch exceptions, and it only returns a generic message like "Token processing error" if it detects an error, which can lead you to think the PSP is having difficulties, when in fact it's just the user's browser or network messing up.
I'll make a pull request later.