-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe.js token was not passed #255
Comments
It looks like you are using Joomla. Can you test with this fork (5.x branch) and feedback as it should be working fine with Joomla: https://github.com/mattwire/com.drastikbydesign.stripe |
Yes Joomla 3.8.8.
send you links to the 2 test sites by mail |
Hi, Hope this helps I was getting a similar issue with Drupal 7.59. civi 5.1.2 and stripe 4.7.3, Cloudlinux Cpanel server, PHP 5.6.3 Testing got me this far:
On further testing:
So something in the setup/environment maybe... The good news. manually installing the 4.7.3-dev version seems to be working! |
I'm geting a similar issue on WordPress + CiviCRM 5.4.0 + the 4.7.3-dev version of the Stripe extension, but only if I go this route:
That fails with js token not passed. If instead I do this:
That works without throwing the js token not passed error. Let me know if I can provide more info. Thanks. |
@mpwoodward I think you will find that is not an issue with the 5.x fork here https://github.com/mattwire/com.drastikbydesign.stripe |
Thanks so much for your work on the fork! That solved one problem but seems to have introduced another, unless I'm doing something weird. The first route above works now, which is great. If I do the second series of steps, for some reason it fails with "no email address found" even though the contact has an email address. If I then go to the contact I'll see that their email address has indeed been wiped out, but even if I re-add it, the next time I do a transaction this way it will blank out the email address again. I'll submit this as an issue on your fork as well but wanted to make sure it was part of this discussion. Thanks again for your work! |
It was working some time ago ... but now I get constant errors with this message
So did now 2 fresh installs on same server (php 5.6.) and another one on different server (php7)
In all of these same problem. Working with "Pay later" ...
CiviCRM 5.1.2.
Stripe (com.drastikbydesign.stripe) version 4.7.3
`May 24 09:57:30 [info] $Fatal Error Details = Array
(
[message] => Stripe.js token was not passed! Report this message to the site administrator.
[code] =>
)
May 24 09:57:30 [info] $backTrace = #0 //html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(381): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 //html/media/civicrm/ext/com.drastikbydesign.stripe/CRM/Core/Payment/Stripe.php(375): CRM_Core_Error::fatal("Stripe.js token was not passed! Report this message to the site administrator.")
#2 //html/administrator/components/com_civicrm/civicrm/CRM/Core/Payment.php(1191): CRM_Core_Payment_Stripe->doDirectPayment((Array:64), "event")
#3 //html/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php(1338): CRM_Core_Payment->doPayment((Array:64), "event")
#4 //html/administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php(591): CRM_Event_Form_Registration_Confirm->processPayment(Object(CRM_Core_Payment_Stripe), (Array:64))
#5 //html/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(447): CRM_Event_Form_Registration_Confirm->postProcess()
#6 //html/administrator/components/com_civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#7 //html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Event_Form_Registration_Confirm), "next", "Next")
#8 //html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Event_Form_Registration_Confirm), "next")
#9 //html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Event_Form_Registration_Confirm), "next")
#10 //html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("next")
#11 //html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Core_Controller->run((Array:3), NULL)
#12 //html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:15))
#13 //html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#14 //html/components/com_civicrm/civicrm.php(96): CRM_Core_Invoke::invoke((Array:3))
#15 //html/components/com_civicrm/civicrm.php(11): civicrm_invoke()
#16 //html/libraries/src/Component/ComponentHelper.php(382): require_once("//html/components/com_civicrm/civicrm.php")
#17 //html/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent("//html/components/com_civicrm/civicrm.php")
#18 //html/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent("com_civicrm")
#19 //html/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#20 //html/libraries/src/Application/CMSApplication.php(195): Joomla\CMS\Application\SiteApplication->doExecute()
#21 //html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#22 {main}
`
The text was updated successfully, but these errors were encountered: