Facebook Pixel triggers purchase event on Checkout - facebook

I get an error in Facebook, saying the Purchase event is fire multiple time in a session. It's suggest me, to look at deduplication issue. However, the issue seems more attached to the fact, that the Purchase event is fired on the Checkout page (alvinecph.dk/checkout). It's also triggered on the Thank you page.
I haven't set up any manual events. I only use Facebook for Woocommerce to connect to the pixel.
And I can't seem to find anywhere online, where the same issue is experienced. So my hope is that someone in here could help me identify in which direction to look at, to solve this issue.
BR
Martin

Related

Not able to pay signup fee for chrome web store

I've been trying to pay the 5$ fee to be able to publish a chrome extension, but I'm stuck at the dialog. I've successfully added my card and I'm also able to select it in the dialog but when hitting the "buy" button the page just refreshes and the dialog appears again. When taking a look at the console I can see that there seems to be an invalid adress (see image) Error in console
I know this forum isn't made for these type of discussions but I couldn't find any way to contact the team behind it and the website itself links to stackoverflow (more specifically the google-chrome-app tag).
I think this has been for over one week.
https://www.reddit.com/r/chrome/comments/c1strb/cant_pay_5_developer_fee_its_been_days/
https://support.google.com/chrome/thread/7999997?hl=en
https://support.google.com/chrome/thread/8312321?hl=en
Nobody knows what to do, nobody knows where to actually get help, nobody knows how to reach anyone that could properly fix this, not even google support employees...

Facebook review, vague to no explanation of failure

For the last three days, 3 different submissions, I have not been able to pass Facebooks review process. The only feedback I am given is:
I clicked around to see if I could find more details, but there aren't any; as far as I can tell, that's it. At this point I have submitted a support ticket, but thought I'd check in here on SO to see if any others have experienced this vague response.
UPDATE - 2015-05-251
After waiting over the weekend to see if fb would answer my direct support ticket (which I submitted thursday or friday of last week) I came to find that this ticket has just vanished; as if I never submitted it. I know it was there, I was watching it over the weekend. I tried to check it around noon (PST) today and it was gone.
Without any further indication from fb what we're doing wrong, I tried again to submit a review request. I made a few changes to screenshot instructions, added some new information about contacting us if something is wrong (i.e., phone number), and added a few more pieces of information about the publish process. Hoping to hear back from them tomorrow (Tuesday) if not sooner.
UPDATE - 2015-05-25[2]
I got a response from one of the support members on the FB dev page pointing out that there is a good chance that I was not viewing 'all' tickets on my fb dev support page. He was right. I found the support ticket there with someone from fb offering to help me get things straightened out tomorrow (Tuesday). Will update here once I get more information.
Jimmy (I answered your post on the Developer's group). I found this:
"My app was rejected for 'General Issues'. What does this mean?
The App Review process involves loading your app on each supported platform, logging in with Facebook, and using every Facebook integration that you're requesting in review. This often results in what we call 'general issues.' These are errors or bugs relating to loading your app, logging into your app or the general functionality of your app. This means we weren't able to test the permissions you request in your submission.
Since these are issues that prevent us from reviewing your Facebook functionality, we can't comment in detail about how your app uses the Facebook functionality you've submitted for review. Because of this, we reject with 'General Issues' and provide feedback about this on each platform.
If you receive a 'General Issues' rejection, please carefully read all of the feedback. Each platform will receive individual feedback that should explain what issues were experienced in review."
https://developers.facebook.com/docs/facebook-login/review/faqs#scores_achievements
After my final update above (posted on 5/25/2015) I was later informed by the individual assigned to my support ticket that Facebook had a bug in their system that was preventing my submission from being approved. After waiting it out (about 2 days) they got the bug fixed on their end and this morning my submission was fully approved.
The best solution I can think of is: If you've triple-checked and tested your code and you are still failing the review process and getting no explanation as to why - check in with Facebook support either by submitting a ticket (if you have that option) or by reaching out on their Facebook Dev page. It's a closed group but they don't seem strict in any sense about who they approve to join. FB devs moderate the group, so posting your situation along with your App ID seems very helpful.
Thanks to everyone who chimed in on this one, here and on the fb dev page.

Automatically Detect Facebook Activity

I am an experienced WordPress developer but sadly I have very little experience with Facebook SDK's.
What I am wondering is if it is possible to create code that will detect whenever a user likes a post/page, "unlikes" a post/page, shares a post/page and logs in to the website via Facebook.
I know that if the like, share and login buttons are coded by myself that I can get a response from the events. However I am wanting to add code to my achievements/points plugin that would detect the events from code that is created by someone else, such as a plugin or the website owner so that it can award the user with points/achievements.
I have tried using the "FB.Event.subscribe" event in the JS SDK to hook into events but this has so far been unsuccessful.
P.S. I don't expect a full tutorial or "cut & paste" code, I am simply wondering if it is possible or if I am wasting my time. Any helpful links and/or offers to help will be greatly appreciated.

Turn off Notifications for Facebook Comments Plugin

We've implemented the Facebook Comments box on our website. I'm set up as a moderator, which means I receive a Facebook notification anytime anyone posts a comment via the comments box.
Happy to say we receive much engagement on our sites, but unfortunately this means I receive a notification almost every other minute. Do we know if there's a way to turn this notification feature off? At least for myself and not other moderators? I'd really just like to be alerted of activity on my own personal Facebook profile, rather than my website
Thanks in advance!
There doesn't seem to be a way to turn them off (I've searched extensively). However, you can create a separate Facebook account – "Grace Moderator", or something like that – and set that as the moderator instead of your main account. Then you won't get the notifications in your main account.

Facebook Connect <fb:login-button> No Longer Firing Callback (As of today)

Came into the office today to do some more work on my nearly completed Facebook Connect website application.
And i have discovered for some reason, the "onlogin" event of the fb:login button FBML control is no longer getting fired!!?!
To anyone else that has a Facebook Connect FBML app (and using the JavaScript API for authentication), i would advise you test your application to make sure it's still working.
A friend of mine's app (which is live) has also stopped working as of today.
What's happening is you click on the "Connect to Facebook" button, it shows the FB login dialog, you log in.
Yes, they are being logged in to Facebook correctly (thankfully), but the "onlogin" callback event is not getting fired anymore, so the page just sits there (where before the "onlogin" event would redirect to the homepage, for example).
Of course if you refresh, you are logged into Facebook.
Seriously, WTF - what have those developers at Facebook done now?!?!.
Any ideas? Has anyone read any updates/threads on this issue?
UPDATE:
8 hours and still no fix in place. I've tried to do some workarounds (there is also an onclick event of the FBML Login Button), but it's all too early in the authentication cycle.
We need to be able to hook into a post-login callback to do things like redirects, permission popups, authentication logic, etc.
Nothing we can do without Facebook fixing this.
I just hope when i come in the office tomorrow this will be 'magically' fixed, much like this issue 'magically' appeared.
Well judging by the comments here i'm not alone. It's obvious at this point that Facebook have made a change somewhere, without telling us.
I just hope they rectify this issue ASAP as there is no workaround i can see for this.
UPDATE 2
Yep - (drum roll), its yet ANOTHER bug from that team of world-class developers at Facebook: (thanks Anon for finding link) http://bugs.developers.facebook.com/show_bug.cgi?id=11733
I love it how the comment from the FB guy Marc says "Only seems to be happening on old Facebook Javascript SDK", well, enable us to do server-side authentication with your Graph API (instead of just for retrieving user details/posting), and we wont have to use the old JavaScript API!
Fun and games.
FINAL UPDATE
Facebook have (seemingly) fixed this.
Let's hope it stays fixed.
Given the 'correct' answer to Anon (as he found the link).
Please confirm and vote on this bug... this should be fixed asap!!
http://bugs.developers.facebook.com/show_bug.cgi?id=11733
if in FB.getLoginStatus you are passing second parameter as true, pls make it to false.
I resolved callback issue using this trick.
Thx
This is a bug and they are about to fix it