I am trying to implement autopay on lightbox2 gallery.
My code is bugging when I close the gallery. When testing, the script is sometimes continuing to call my