nType,
                                plan_duration: planDuration,
                                email: email,
                                token: '{{ .Token }}'
                            },
                            function(success, body) {
                                if (success) {
                                    try {
                                        var res = JSON.parse(body);
                                        stripe.redirectToCheckout({
                                  