       @setAttribute 'action', actionUrl
       @setAttribute 'method', 'post'
 
-      @emit 'PayPalTokenLoaded'
+      @emit 'PaypalTokenLoaded'
 
 
   getFields: -> {


    { paymentController } = KD.singletons

    paymentController.getPayPalToken planTitle, planInterval, (err, token) =>

      @state.token = token


class PaypalFormView extends KDFormViewWithFields

  getInitialState: -> KD.utils.dict()

