Zen Cart Logo
Forums / Addon Payment Modules / Payeezy error PAYEEZY-FDTOKEN-MISSING

Payeezy error PAYEEZY-FDTOKEN-MISSING

Views: 7,298

Results 21 to 40 of 42
5 Nov 2016, 1:04 AM
#21
djwgates avatar

djwgates

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

Payeezy error PAYEEZY-FDTOKEN-MISSING

Has anyone found a solution to this issue?
I have taken all the new steps creating developer accounts and whatever they require, triple checked my payment module configuration and everything is in order.
No matter what I do I still get the same error - "We could not initiate your transaction because of a system scripting error. Please report this error to the Store Owner: PAYEEZY-FDTOKEN-MISSING".

This is a Zen Cart store I has setup for a family member. Last month out of the blue, the FirstData payment handler stopped working for no apparent reason.
I work in IT and have access to some very skilled developers and programmers.
They all agree that everything is in order on my end.

I'm starting to suspect the issue is with my ISP. PowWeb. I'll be the first to admit they suck.
I have called all parties in involved for tech support and get the run around.
Payeezy says to check with Zen cart. PowWeb says to check with Payeezy and Zen Cart.
There is no tech support for my issue.

Has anyone out there had any luck actually getting this module to work?

5 Nov 2016, 2:52 AM
#22
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

What version of the module are you using? Needs to be at least 0.93

I helped someone set it up on a site yesterday. It was as easy as installing the files and entering the credentials (after we got them all from First Data and Payeezy). Even worked on a 1.3.8 site (ya, I was surprised too).

7 Nov 2016, 6:00 PM
#23
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

Ran into an issue on another site, where javascript errors on the page were preventing the Payeezy JS javascript code from running. Once those other errors were fixed, Payeezy worked fine.

A future improvement we may make is to rename our use of the '$' variable for accessing jQuery functions to 'jQuery', to avoid clashing with other javascript libraries that rewrite the '$' meaning indiscriminately.

A related issue was that an old template was being used, and was missing the #paymentSubmit element that Zen Cart 155 uses for form validations in javascript. Check your tpl_checkout_payment_default.php:

<div class="buttonRow forward"[B] id="paymentSubmit"[/B]><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT, 'onclick="submitFunction('.zen_user_has_gv_account($_SESSION['customer_id']).','.$order->info['total'].')"'); ?></div>
24 Jan 2017, 4:07 PM
#24
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

I am having the same error come up with this plugin.

History is a new install 1.5.4
Version 0.93 of the plugin
Verified all data with Payeezy and they ran my credentials separately to confirm they work.

I saw your last post about making sure the template has paymentSubmit being named in tpl_checkout_payment_default.php, I did not have that so I added it and now it looks like this:

<div class="buttonRow forward" id="paymentSubmit"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT, 'onclick="submitFunction('.zen_user_has_gv_account($_SESSION['customer_id']).','.$order->info['total'].')"'); ?></div>

I am still getting the error: We could not initiate your transaction because of a system scripting error. Please report this error to the Store Owner: PAYEEZY-FDTOKEN-MISSING

I also am getting these JSerrors when I visit the page:

Uncaught ReferenceError: $ is not defined
    at index.php?main_page=checkout_payment:274
index.php?main_page=checkout_payment:458 Uncaught ReferenceError: jQuery is not defined
    at index.php?main_page=checkout_payment:458

Do you have any further advice on this issue?

25 Jan 2017, 2:58 PM
#26
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

DrByte:

Looks like you probably don't have jQuery loaded by your template.
Here's how it's done in v1.5.5: https://github.com/zencart/zencart/blob/v155/includes/templates/template_default/common/html_header.php#L120-L124

DrByte, thank you for your reply.

I checked the page source on the same page that causes the issue and this is what I have loading as far as I can tell.

<script type="text/javascript" src="min/?f=/includes/templates/tableau/jscript/jquery/jquery-1.11.3.min.js,/includes/templates/tableau/jscript/jquery/jquery-migrate-1.2.1.min.js,/includes/templates/tableau/jscript/jquery/jquery.jpanelmenu.min.js,/includes/templates/tableau/jscript/jquery/jquery_jpanel.js,/includes/templates/tableau/jscript/jquery/jquery.fancybox.js,/includes/templates/tableau/jscript/jquery/jquery_categories.js,/includes/templates/tableau/jscript/jquery/jquery_filters.js&1483652847"></script>
<!-- Include jQuery library -->
<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>-->

To me that looks like I do have Jquery loading, specifically version 1.11.3, but it looks like I also have a version 1.9.1 which is being commented out for some reason.

Should these be swapped or should I enable both? Or is it something else entirely?

25 Jan 2017, 3:08 PM
#27
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

You can ignore or delete the 1.9.1. You only need "one" to be loaded. And in javascript the last one loaded overrides the prior ones.

But the error message you posted indicated that jQuery wasn't found ... which in the most basic sense suggests it's not being loaded. There could be other aggravating factors by your template, your other plugins, or quite possibly even with whatever addon you're using to combine js files.

I haven't had any issue with the Payeezy module on a vanilla Zen Cart install.

25 Jan 2017, 3:19 PM
#28
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

DrByte:

You can ignore or delete the 1.9.1. You only need "one" to be loaded. And in javascript the last one loaded overrides the prior ones.

But the error message you posted indicated that jQuery wasn't found ... which in the most basic sense suggests it's not being loaded. There could be other aggravating factors by your template, your other plugins, or quite possibly even with whatever addon you're using to combine js files.

I haven't had any issue with the Payeezy module on a vanilla Zen Cart install.

DrByte, do you provide services to help people with problems like this? Im about to need a developer to help me if I can't find a clue...

25 Jan 2017, 4:19 PM
#29
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

dremhmrk2:

DrByte, thank you for your reply.

I checked the page source on the same page that causes the issue and this is what I have loading as far as I can tell.

<script type="text/javascript" src="min/?f=/includes/templates/tableau/jscript/jquery/jquery-1.11.3.min.js,/includes/templates/tableau/jscript/jquery/jquery-migrate-1.2.1.min.js,/includes/templates/tableau/jscript/jquery/jquery.jpanelmenu.min.js,/includes/templates/tableau/jscript/jquery/jquery_jpanel.js,/includes/templates/tableau/jscript/jquery/jquery.fancybox.js,/includes/templates/tableau/jscript/jquery/jquery_categories.js,/includes/templates/tableau/jscript/jquery/jquery_filters.js&1483652847"></script> <!-- Include jQuery library --> <!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>-->
> 
> To me that looks like I do have Jquery loading, specifically version 1.11.3, but it looks like I also have a version 1.9.1 which is being commented out for some reason.
> 
> Should these be swapped or should I enable both? Or is it something else entirely?
Since you use A numinx template, you probably also use the js/css loader. I know that the latest version load jquery and javascripts at the bottom of the page instead of in the head. Zen cart was not build for this, and can lead to jquery being loaded to late in the process when a page is being rendered..
25 Jan 2017, 4:21 PM
#30
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

Design75:

Since you use A numinx template, you probably also use the js/css loader. I know that the latest version load jquery and javascripts at the bottom of the page instead of in the head. Zen cart was not build for this, and can lead to jquery being loaded to late in the process when a page is being rendered..

Thank you for your reply. I checked the source and all of my JS includes are happening in the HEAD of the document..

25 Jan 2017, 4:50 PM
#31
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

:( well it was worth a try. Do you have a link available to your site? Makes trouble shooting a lot easier.> dremhmrk2:

Thank you for your reply. I checked the source and all of my JS includes are happening in the HEAD of the document..

25 Jan 2017, 4:58 PM
#32
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

buymerlinDOTcom

19 Mar 2017, 4:04 PM
#33
kenteman avatar

kenteman

New Zenner

Join Date:
Sep 2011
Posts:
21
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

dremhmrk2:

buymerlinDOTcom

Add me to the list. I am having the same problem. I started getting this yesterday:

We could not initiate your transaction because of a system scripting error. Please report this error to the Store Owner: PAYEEZY-FDTOKEN-MISSING

URL is midwestglobalgroup.com, Payzeey version 0.93.

19 Mar 2017, 6:49 PM
#34
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

Kenteman:

Add me to the list. I am having the same problem. I started getting this yesterday:

We could not initiate your transaction because of a system scripting error. Please report this error to the Store Owner: PAYEEZY-FDTOKEN-MISSING

URL is midwestglobalgroup.com, Payzeey version 0.93.
Your problems are multifold:

  • the winchester template is one in a series of templates that has historically distributed old files not compatible with ZC v1.5.5 ... so that could be a contributor
  • I can see on https pages of your site that you're getting "insecure content failed to load" because your jquery-easing plugin is loading from a cdn over http instead of https
  • you're using a javascript/css minifier of some sort, which might be mangling the javascript used by the payeezy js module. For troubleshooting i usually suggest turning such things off until you've ruled them out. Also remove scripts one by one until the problem goes away; then start putting them back to identify which one is causing the problem, and take action accordingly.

The Payeezy JS module requires that there be NO javascript errors happening on your site, else it will fail to operate.

This is not a problem with the Payeezy module as far as I can tell at this point.

4 Sep 2017, 12:05 PM
#35
aquaticaddiction avatar

aquaticaddiction

New Zenner

Join Date:
Apr 2008
Posts:
30
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

I too am getting the same error PAYEEZY-FDTOKEN-MISSING

Running ZC Version v1.5.5e
Running PayEezy v0.96

IE Debugger comes up clean, and no errors in log file.
Shop URL - https://anglersartistry.com/store/

Thanks!

4 Sep 2017, 1:34 PM
#36
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

AquaticAddiction:

I too am getting the same error PAYEEZY-FDTOKEN-MISSING

Running ZC Version v1.5.5e
Running PayEezy v0.96

IE Debugger comes up clean, and no errors in log file.
Shop URL - https://anglersartistry.com/store/

Thanks!
99% of the time it's something preventing the javascript from firing properly.

Aside: while it would surprise me if it's related, you've got your site Down For Maintenance, and sometimes that can interfere with payment processing.

4 Sep 2017, 3:41 PM
#37
aquaticaddiction avatar

aquaticaddiction

New Zenner

Join Date:
Apr 2008
Posts:
30
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

Yeah, I switched it to live mode for a test, but still came up. Ended up just moving towards the hosted Firstdata Payment system as a fallback for now until I can get the kinks worked out of the gateway.

I couldn't find anything in debugger, is there something else I can run to look to see I there's a JS issue that's causing it to be unhappy?

15 Mar 2018, 12:50 AM
#38
jonasrullo avatar

jonasrullo

New Zenner

Join Date:
Sep 2009
Posts:
27
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

I'm getting the FDTOKEN missing error.
Zen is 1.3.9. If I enter any number in the _fdtoken form fieldfield, I can get to Confirm order page.
I have no javascript errors. Jquery is loading because my popup images running jquery work fine.

The Payeezy/Card Connect rep says I do not need a TA_TOKEN. There is an additional charge to add a TA_TOKEN according to the account rep.
API keys are activated and correct.
What else is there to check?

Yes, all is set to Live. Keys are from the LIve tab in Payeezy developer pages.

15 Mar 2018, 1:29 AM
#39
jonasrullo avatar

jonasrullo

New Zenner

Join Date:
Sep 2009
Posts:
27
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

When looking at the form fields on the page, the _fdtoken field is blank, which I believe is what the code is checking for. This happens before it checks to see if any API keys are missing.

I'm using Payeezy .94.
I cannot tell if the code is even attempting to contact the Payeezy url. Is there some kind of flag I can set to check this?

15 Mar 2018, 1:39 AM
#40
jonasrullo avatar

jonasrullo

New Zenner

Join Date:
Sep 2009
Posts:
27
Plugin Contributions:
0

Re: Payeezy error PAYEEZY-FDTOKEN-MISSING

Same result with .97