          sessionId: res.s_id
                                        }).then(function (result) {
                                            document.getElementById("spinner-0").style.display = "none";
                                            if (result.error) {
                                                console.log(result.error);
                                                alert('Oops, there was a problem with your payment. Please try again later');
                                            