- Issue created by @gillarf
I based my implementation on the example form, but it was not clear to me at first that i needed to set the amount of the payment by passing '#stripe_amount' => $amount in the stripe Form API element.
The example is more complicated than you might think at first, and uses an eventsubscriber to set the amount being paid.
The other fields available for the element can be seen in Stripebase.php
Fixed
2.0
Documentation