William Rees
1 min readJul 17, 2020

--

Great post, I recently implemented this but was receiving the error "You must provide a Stripe Element or a valid token type to create a Token."

To resolve this issue I had to change self.cardNumber to self.card in the purchase method

--

--

William Rees
William Rees

Written by William Rees

Software engineer with 10+ years of experience. I primarily work on the Microsoft and .NET ecosystem and have extensive experience with Microsoft Azure

No responses yet