Topic-icon JFBC conflict with payplans app

Active Subscriptions:

None
9 years 5 months ago #49041 by dennisth19
Hi,

i have installed payplans for easysocial. Also i use the payplans app for paying with social likes.
The problem is, that the facebook button is not loaded. If i disable jfbc system plugin it works.
Payplans said, this is an issue from jfbc and need to be solved from our side.


File Attachment:
The topic has been locked.
Support Specialist
9 years 5 months ago #49058 by mel
Replied by mel on topic JFBC conflict with payplans app
Can you provide the URL where you are seeing this problem? We will be looking around to see if a file called all.js is included on the page. This is the older deprecated Facebook Javascript library and not all components have been updated to remove it as they need to. JFBConnect uses FB's new sdk.js file properly. Usually a conflict like you're seeing is because both are on the page and all.js needs to be removed.

-Melissa
The topic has been locked.
Active Subscriptions:

None
The topic has been locked.
Support Specialist
9 years 5 months ago #49076 by mel
Replied by mel on topic JFBC conflict with payplans app
Please PM me an account username and password that I can visit that URL with. When I visit the page, I am redirected to create an account and as there are many different options in your registration, I do not know which one to choose to get to that screen.
The topic has been locked.
Support Specialist
9 years 5 months ago #49085 by mel
Replied by mel on topic JFBC conflict with payplans app
Looking at the page source, Payplans is using the all.js file still. As recommended by Facebook, apps need to transition to sdk.js
developers.facebook.com/docs/apps/upgrading/

New path: In order to support Graph API versioning and the new Facebook Login, the JS SDK must be loaded from a new path. The old location was connect.facebook.net/en_US/all.js and the new location is connect.facebook.net/en_US/sdk.js.


If the section of code in Payplans that is adding all.js is removed and the JFBCSystem plugin is enabled, your functionality should work again. The old and new versions of the Javascript file will not work together and JFBConnect will not work until this is resolved.

-Melissa
The topic has been locked.