code-corps / code-corps/ember-stripe-elements

How do I get at the values in the element?

Aperta
#9 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
JavaScript
Stelle
64
Fork
39
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm just a bit confused as to how I get the values entered in the `stripe-card` element. I don't want to use the block form because I have a submit button outside of this element that will send along some other data to a server endpoint that creates a paysource in the customers stripe account. Can I have the values bound to some sort of controller / component property so I can get at those later when the user hits the submit button I have outside of the element?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.