Written by danielgoldak. Last updated on July 6, 2023. Fixed a problem with processing payments when ajax is disabled.