     backToPLans: () ->
         @.selectedPlan = false
 
-    _onSuccessBuyPlan: (plan) ->
+    _onSuccessBuyPlan: (plan, amount, currency) ->
         @lightboxService.closeAll()
         @tgLoader.start()
 

                    google_conversion_color : "ffffff",
                    google_conversion_label : google_conversion_label
                    google_remarketing_only : false
                })

    buyPlan: () ->

            @.planId = @.validPlan.id_month
            amount = @.validPlan.amount_month

        currency = @.validPlan.currency

        if @.myPlan && @.myPlan.customer_id?
            plan = {
                'plan_id': @.planId
            }

            @._onSuccessBuyPlan(plan, amount, currency)
        else
            user = @currentUserService.getUser()

