Get your own customer support community
Get Satisfaction imported this topic into its internal tracking system, Zendesk.
 

Problem with fastpass link

Hi .. I am getting some strange responses when i try to use a fastpass link.

1.) Using a direct PHP link:
Using the PHP library, I am able to successully create a link like the following:
http://getsatisfaction.com/fastpass?o...

Debugging this link in the debugger on the fastpass page tells me:


Debug Results - Success
Details

* Fastpass URL was valid
* No user account for myemail@mydomain.com exists. It will be created if this fastpass is used.
* Consumer Key was correct
* Consumer Key has Fastpass access

Extracted Data

--- !map:HashWithIndifferentAccess
name: sadfsasdf
twitter_name: nullstyle
uid: aValidUuid
email: myemail@mydomain.com



The page which loads up however looks like the following:


var GSFN;
if(GSFN == undefined) {
GSFN = {};
}

GSFN_fastpass = true;
GSFN.fastpass_url = ...
GSFN.return_url = "http:\/\/getsatisfaction.com\/yola\/admin\/fastpasses\/debug";
GSFN.fastpass_nonce = "0750c32dc2d4e6a7547840a3aded2caa";
GSFN.company_url = "http:\/\/getsatisfaction.com\/yola";
GSFN.company_name = "Yola";

GSFN.company_cname = "";

GSFN.wait_for_common_code = function() {
if(GSFN.fastpass_common_loaded) {
GSFN.rewrite_satisfaction_urls_if_needed();

} else {
setTimeout(GSFN.wait_for_common_code, 100);
}
};

setTimeout(GSFN.wait_for_common_code, 100);


.. which looks like it might work if it where inside script tags?

anyhu .. then i tried with the javascript method (which worked a little better)

* in my footer I have:


FastPass::script(CONSUMER_KEY, CONSUMER_SECRET, UserDetails()->email, UserDetails()->name, UserDetails()->id, false, array("twitter_name" => "nullstyle"));


I create the link like so:


href="javascript:GSFN.goto_gsfn();"


.. which generates what looks like an htmlencoded url ..

at least this time it will actually get me to get Satisfaction (instead of dumping javascript all over my screen), and it shows the 'return to Yola' link ... and that works, but no form of logging in is occurring .. in fact, it is killing my existing (different) session ...

debugging this url give me:

Debug Results - Failed
Details

* Fastpass signature was invalid
* Consumer Key was not found in the database



I'm a little confused at this point .. are the mistakes on my side/problems with the way that I have implemented this? .. or are they on GSFN?

Currently I am testing locally, but if you ping me I can point you to a staging environment.
 
indifferent I’m not sure ...
Inappropriate?
6 people have this problem

The company marked this problem solved.


User_default_medium