fixed bug of the redirect link on success page. changed in DB so shop_available is 0 by default; added lines in markPaid functions to set available