This is on Stripe V1. The extractTokenData in local stripe.js pulls data-stripe="token" which then causes JS errors, because stripe is not expecting that data. The returned error does not work with JS.

Solution: $(':input[data-stripe]').not('[data-stripe="token"]').each(function() { on line 110 - instead of $(':input[data-stripe]').each(function() {.

Hope someone finds this useful. Can make a patch if that's helpful as well.

CommentFileSizeAuthor
#3 remove-token.patch401 bytesjustindhoffman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

justindhoffman created an issue. See original summary.

torgosPizza’s picture

A patch to review would be great. Thanks!

justindhoffman’s picture

FileSize
401 bytes

Here's the patch.

justindhoffman’s picture

Status: Active » Needs review

hamrant’s picture

Status: Needs review » Closed (fixed)

Confirm, patch #3 fixed error "Received unknown parameter: token"