com.drastikbydesign.stripe
com.drastikbydesign.stripe copied to clipboard
Card Details not being passed/recognised
Drupal 7.56 webform 7.x-4.x-dev 7.x-4.x-dev
using latest dev versions to see if another unrelated issue is solved
Submitting a Webform with CiviCRM integration produices the errors:
Card Number is a required field. Security Code is a required field. Expiration Date is a required field.
Card Details were entered in the form correctly
Meanwhile the following error:
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. Stripe.js token was not passed! Report this message to the site administrator.
Is produced when trying to make a payment via an event registration form.
On a separate install (possibly not related) but still with Event registration, the payment is processed but the page hangs and gives a HTTP ERROR 500 (possibly a server issue, investigating that)
@Prometheus2704 thanks for the report. Would you mind turning on the debugging switch in
https://github.com/drastik/com.drastikbydesign.stripe/blob/4.7-dev/js/civicrm_stripe.js#L230
...and report back with an error code?
Thanks!
Where will I find the log?
The log is your js console in your web browser. So in Chrome, View>Developer>JavaScript Console
No errors are displayed in the console when using WebForm, but that appears to be an issue with Webform CiviCRM as the Expiration Date is also causing issues with the Dummy Processor.
The following is reported on the native Event registration page (entering participant info and CC details):
Uncaught TypeError: CRM.$ is not a function at register?id=2&reset=1:489
Uncaught ReferenceError: cj is not defined at register?id=2&reset=1:545
Uncaught TypeError: $ is not a function
at civicrm_billingblock_creditcard_helper (BillingBlock.js?r=CVyi3:11)
at BillingBlock.js?r=CVyi3:90
at BillingBlock.js?r=CVyi3:92
civicrm_billingblock_creditcard_helper @ BillingBlock.js?r=CVyi3:11
(anonymous) @ BillingBlock.js?r=CVyi3:90
(anonymous) @ BillingBlock.js?r=CVyi3:92
Uncaught ReferenceError: cj is not defined
at skipPaymentMethod (register?id=2&reset=1:1149)
at register?id=2&reset=1:1164
skipPaymentMethod @ register?id=2&reset=1:1149
(anonymous) @ register?id=2&reset=1:1164
ncaught TypeError: CRM.$ is not a function
at register?id=2&reset=1:1214
(anonymous) @ register?id=2&reset=1:1214
Uncaught ReferenceError: cj is not defined
at register?id=2&reset=1:1236
(anonymous) @ register?id=2&reset=1:1236
Uncaught ReferenceError: cj is not defined
at civicrm_stripe.js:226
(anonymous) @ civicrm_stripe.js:226
Obviously only the last entry is directly related to civicrm_stripe
Also:
Uncaught query function not defined for Select2 undefined
prepareOpts @ select2.min.js?p24ten:1
prepareOpts @ select2.min.js?p24ten:2
init @ select2.min.js?p24ten:1
(anonymous) @ select2.min.js?p24ten:2
each @ jquery.min.js?p24ten:2
each @ jquery.min.js?p24ten:2
e.fn.select2 @ select2.min.js?p24ten:2
(anonymous) @ Common.js?p24ten:455
each @ jquery.min.js?p24ten:2
each @ jquery.min.js?p24ten:2
$.fn.crmSelect2 @ Common.js?p24ten:412
(anonymous) @ Common.js?p24ten:1035
dispatch @ jquery.min.js?p24ten:3
r.handle @ jquery.min.js?p24ten:3
trigger @ jquery.min.js?p24ten:3
(anonymous) @ jquery.min.js?p24ten:3
each @ jquery.min.js?p24ten:2
each @ jquery.min.js?p24ten:2
trigger @ jquery.min.js?p24ten:3
(anonymous) @ Common.js?p24ten:1479
i @ jquery.min.js?p24ten:2
fireWith @ jquery.min.js?p24ten:2
ready @ jquery.min.js?p24ten:2
K @ jquery.min.js?p24ten:2
On the Confirmation Page:
Uncaught TypeError: CRM.$ is not a function at register?_qf_Confirm_display=true&qfKey=7c7f105a9a31f5ab0db917846ee27be1_9716:475
(anonymous) @ register?_qf_Confirm_display=true&qfKey=7c7f105a9a31f5ab0db917846ee27be1_9716:475
Uncaught ReferenceError: on_load_init_blocks is not defined at register?_qf_Confirm_display=true&qfKey=7c7f105a9a31f5ab0db917846ee27be1_9716:571
(anonymous) | @ | register?_qf_Confirm…846ee27be1_9716:571
Uncaught ReferenceError: cj is not defined at civicrm_stripe.js:226
(anonymous) @ civicrm_stripe.js:226
Finally the error in the OP is displayed
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
Stripe.js token was not passed! Report this message to the site administrator.