I'm trying to process a payment with Stripe, but am getting an error after the form submits and reloads. The error is
"Sorry, there was an unexpected error communicating with the payment gateway."
I did a little digging and dumped out the exception being throw inside OrdersService.php file. The exception message says "The number parameter is required"
Any thoughts what the issue may be?
UPDATE: Here is the code
Checkout Page: https://gist.github.com/bryantAXS/6989698
JS: https://gist.github.com/bryantAXS/6989724 (Token created at line 315)
I can confirm the token is being created and added to the payment[token] field correctly before the page has submitted.
UPDATE 2: I've written a new answer below that is a temporary fix until more clarification or the source is updated.