Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing manage relations form #18

Open
code2prog opened this issue Jul 20, 2018 · 9 comments
Open

Missing manage relations form #18

code2prog opened this issue Jul 20, 2018 · 9 comments

Comments

@code2prog
Copy link

Latest wordpress and latest WooCommerce-Salesforce-integration plugin.

The application is connected to Salesforce, but the relationship management form does not appear.

@matejbasic
Copy link
Contributor

@code2prog do you have any entry in the error log?

@code2prog
Copy link
Author

code2prog commented Jul 20, 2018

@matejbasic I do not see any errors in the php logs and the JS console in the browser
2018-07-20_19-48-40

@limist
Copy link

limist commented Aug 25, 2018

@matejbasic I'm seeing a similar situation; signed up for Salesforce, have latest WP, have WC 3.3.x; after setting up the latest version of the WC-Salesforce-integration plugin, activating it, setting up the Salesforce app (and waiting), and then doing the initial connection, I get redirected back to the settings page with no relationships showing. No error message that I saw either. What's a good way to debug this please? This plugin looks great, hoping to actually enjoy it soon, thanks!

@limist
Copy link

limist commented Aug 27, 2018

Update: tried everything again, making a new Salesforce App, entering the new Consumer key and secret, granting approval again; initially I saw the same behavior: redirected back to the Settings screen, didn't see any relations. Without changing anything I tried clicking "Save changes" and after that, the relationships showed up. However, that brought another set of problems, so I'll open a new issue about those...

@matejbasic
Copy link
Contributor

@limist @code2prog we're still trying to recreate this bug, did you tried to delete the plugin and reinstall?

@rachidbigm
Copy link

rachidbigm commented Sep 25, 2018

@matejbasic I have the same problem here, and i can't see any errors showing.
I have deleted the plugin and reinstalled it again but the same problem occured !

WC version : 3.4.5
WP version : 4.9.8

@rachidbigm
Copy link

After one hour of debugging...

I figured out the problem, when encrypting the token the final token returned by the Encryption method is empty and then the option is not saved in the database or saved but empty.

So when you make the calls to display the relationships the token is not there and the form will not be displayed.

File: WooCommerce-Salesforce-integration-master / includes / controllers / core-class-nwsi-salesforce-token-manager.php
Functions: load_access_token (), save_access_token (), load_refresh_token (), save_refresh_token ()

@wearethreebears
Copy link

Was anyone able to get this working?

Many thanks

@benbois
Copy link

benbois commented Apr 27, 2021

Hi,
I'd like to know if this plugin is still in dev.
I get the same problem: manage relations form and no error even after a fresh installation of the plugin.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants