Closed dweedon-stripe closed 4 years ago
injectStripe
elements.getElement()
confirmCardPayment
confirmCardSetup
handle*
createPaymentMethod
I wrote unit tests. I updated the demos and made sure they worked.
@dweedon-stripe looks like you need to run prettier.
Otherwise the changes look good to me!
Summary & motivation
injectStripe
so that users will be able to callelements.getElement()
.confirmCardPayment
andconfirmCardSetup
examples, remove the deprecatedhandle*
docs.createPaymentMethod
, move all the docs and examples to use the new signature.Testing & documentation
I wrote unit tests. I updated the demos and made sure they worked.