Answers.Body: <p>Turned out to be a problem with my Resource URL paths. Changed from the relative CiviCRM URL variables to absolute paths.  </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-25T10:09:41.137Z
Answers.Text: See https://lab.civicrm.org/dev/joomla/issues/5
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-24T19:44:04.820Z
Answers.LastActivityDate: 2019-03-24T19:44:04.820Z
Answers.UserDisplayName: Jonathan Garton
Answers.Body: <p>Same issue here, running under Drupal.  Resolution was also a Resource URL.  The page not found error was for:
      sites/default/files/civicrm/<strong>ext</strong>/com.drastikbydesign.stripe/js/civicrm_stripe.js</p>
  
  <p>Civicrm>Administer > System Settings > Resource URLs</p>
  
  <p>Changed Extension Resource URL from
       [civicrm.files]/<strong>ext</strong>/
       to
       [civicrm.files]/<strong>custom_ext</strong>/</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-25T18:18:46.947Z
Answers.LastActivityDate: 2019-07-25T18:18:46.947Z
Answers.UserDisplayName: Sophie Miron
Body: <p>Having problems getting Stripe working.  </p>
  
  <p>Joomla: 3.9.4
  CiviCRM: 5.11 (is this a problem?)
  Stripe extension: 5.3.2
  Stripe API: 2019-2-19</p>
  
  <p>Getting this result on the contribute page: </p>
  
  <blockquote>
    <p>Failed to create Stripe Customer: Payment Response:  Type:
    invalid_request_error Code: resource_missing Message: No such token:
    Stripe Token</p>
  </blockquote>
  
  <p>Stripe shows this: </p>
  
  <blockquote>
    <p>Request POST body {   "description": "My test name (CiviCRM)",<br>
    "card": "Stripe Token",   "email": "tester@jonssweb.net",<br>
    "metadata": {
        "civicrm_contact_id": "15"   } }</p>
    
    <p>Response body {   "error": {
        "code": "resource_missing",
        "doc_url": "<a href="https://stripe.com/docs/error-codes/resource-missing" rel="nofollow noreferrer">https://stripe.com/docs/error-codes/resource-missing</a>",
        "message": "No such token: Stripe Token",
        "param": "card",
        "type": "invalid_request_error"   } }</p>
  </blockquote>
  
  <p>I've been scouring the forums for ideas to try and have checked my API keys many, many times.  We have Stripe working fine with Wild Apricot.   Any ideas would be appreciated.  Thank you! </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-24T16:37:39.403Z
Comments.Text: It sounds like something isn't quite right on the front-end. Do you have the javascript or a link to the page being used to generate a token? The literal string value "Stripe Token" is being passed off to your backend here, rather than a token id, which should look something like `tok_xxyyyyyzz`
Comments.UserDisplayName: duck
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-24T17:02:01.683Z
Comments.Text: Correct, this is the script on the front end form page:
  <input id="stripe-token" class="payproc-metadata" name="stripe_token" type="hidden" value="Stripe Token" />
Comments.UserDisplayName: Jonathan Garton
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-24T17:25:13.377Z
Comments.Text: Any javascript errors in the browser console when you load your checkout page? https://developers.google.com/web/tools/chrome-devtools/console/ 
  https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
Comments.UserDisplayName: duck
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-24T18:22:47.480Z
Comments.Text: Yes, quite a few errors in fact, here's an example of a 404: 
  /components/com_civicrm/civicrm/templates/CRM/Core/BillingBlock.js?r=UmUQd. 
  I went looking for this file and instead of being in that path, the file is under the /Administration/components/com_civicrm/civicrm...etc.   
  Not sure if the site is supposed to know to go there, or if it's an installation problem?
Comments.UserDisplayName: Jonathan Garton
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-03-24T19:04:09.290Z
Comments.Text: Changing the resource URL's to absolute values has fixed the primary problem of the extension not loading, Stripe is now working properly.  However, I'm still getting an error upon submission of a test contribution (member signup) form.  
  "One of parameters (value: ) is not of the type Boolean" This me be unrelated, and will update the post when I figure it out.
Comments.UserDisplayName: Jonathan Garton
Tags: <stripe>
Title: Stripe "No such token: Stripe Token"
ThreadText: # Stripe "No such token: Stripe Token"
  
  (Asked by: username_0 on 2019-03-24)
  
  Having problems getting Stripe working.
  
  Joomla: 3.9.4
  CiviCRM: 5.11 (is this a problem?)
  Stripe extension: 5.3.2
  Stripe API: 2019-2-19
  
  Getting this result on the contribute page:
  
  > Failed to create Stripe Customer: Payment Response: Type:
  > invalid\_request\_error Code: resource\_missing Message: No such token:
  > Stripe Token
  
  Stripe shows this:
  
  > Request POST body { "description": "My test name (CiviCRM)",  
  > "card": "Stripe Token", "email": "tester@jonssweb.net",  
  > "metadata": {
  > "civicrm\_contact\_id": "15" } }
  >
  > Response body { "error": {
  > "code": "resource\_missing",
  > "doc\_url": "<https://stripe.com/docs/error-codes/resource-missing>",
  > "message": "No such token: Stripe Token",
  > "param": "card",
  > "type": "invalid\_request\_error" } }
  
  I've been scouring the forums for ideas to try and have checked my API keys many, many times. We have Stripe working fine with Wild Apricot. Any ideas would be appreciated. Thank you!
  
  **Tags:** stripe
  
  > **Comments:**
  > **username_1**: It sounds like something isn't quite right on the front-end. Do you have the javascript or a link to the page being used to generate a token? The literal string value "Stripe Token" is being passed off to your backend here, rather than a token id, which should look something like `tok_xxyyyyyzz`  
  > **username_0**: Correct, this is the script on the front end form page: <input id="stripe-token" class="payproc-metadata" name="stripe_token" type="hidden" value="Stripe Token" />  
  > **username_1**: Any javascript errors in the browser console when you load your checkout page? https://developers.google.com/web/tools/chrome-devtools/console/  https://developer.mozilla.org/en-US/docs/Tools/Browser_Console  
  > **username_0**: Yes, quite a few errors in fact, here's an example of a 404:  /components/com_civicrm/civicrm/templates/CRM/Core/BillingBlock.js?r=UmUQd.  I went looking for this file and instead of being in that path, the file is under the /Administration/components/com_civicrm/civicrm...etc.    Not sure if the site is supposed to know to go there, or if it's an installation problem?  
  > **username_0**: Changing the resource URL's to absolute values has fixed the primary problem of the extension not loading, Stripe is now working properly.  However, I'm still getting an error upon submission of a test contribution (member signup) form.   "One of parameters (value: ) is not of the type Boolean" This me be unrelated, and will update the post when I figure it out.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2019-03-24. Score: 3
  
  Turned out to be a problem with my Resource URL paths. Changed from the relative CiviCRM URL variables to absolute paths.
  
  > **Comments:**
  > **username_2**: See https://lab.civicrm.org/dev/joomla/issues/5  
  
  ---
  
  ### Answer by username_3 on 2019-07-25. Score: 0
  
  Same issue here, running under Drupal. Resolution was also a Resource URL. The page not found error was for:
  sites/default/files/civicrm/**ext**/com.drastikbydesign.stripe/js/civicrm\_stripe.js
  
  Civicrm>Administer > System Settings > Resource URLs
  
  Changed Extension Resource URL from
  [civicrm.files]/**ext**/
  to
  [civicrm.files]/**custom\_ext**/
  
  
  ---
  
  