eszek
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Hi Marija,
Just a quick update:
I also completed the additional test you suggested.
I used a completely new Chrome Incognito session and repeated the Meta OAuth connection process.
The connection flow completed successfully again and Meta displayed:
“WooCommerce By Meta is connected to Facebook.”
However, the result is unchanged:
facebook_config still contains:
pixel_id = 0
access_token = empty
The log still shows:
“Cannot create the API instance because the access token is missing.”
So we can exclude browser cache/session as the cause.
It looks like the OAuth process finishes correctly on the Meta side, but Meta for WooCommerce 3.7.3 does not persist the returned access token and pixel ID into WordPress.
Could you please escalate this as an OAuth callback / token saving issue?
Best regards,
LászlóHi Marija,
I tested the reconnection again using a completely new incognito browser session.
The OAuth setup completed again, but the WordPress configuration is still unchanged.
The wp_options value for facebook_config is still:
a:4:{s:8:”pixel_id”;s:1:”0″;s:7:”use_pii”;b:1;s:7:”use_s2s”;b:0;s:12:”access_token”;s:0:””;}
So the selected Pixel ID and the access token are still not saved.
This does not appear to be caused by browser cache.
Best regards,
László BódisHi Marija,
thank you for the follow-up.
I completed all suggested troubleshooting steps:
- cleared WooCommerce transients/cache
- removed the old Meta for WooCommerce configuration
- deleted the plugin configuration data
- reinstalled Meta for WooCommerce 3.7.3
- completed the full OAuth connection process again
During the new setup I was able to select:
Business:
Kompszek
Facebook Page:
E-Szék
Instagram:
kompszek
Catalog:
Kompszék Katalógus
Ad Account:
Komp-Szék Kft.
Pixel:
E-Szék Pixel (1808817553861175)
The Meta OAuth process finishes successfully and Meta displays:
"WooCommerce By Meta is connected to Facebook"
However, after returning to WordPress, the plugin configuration is still incomplete.
The wp_options table contains:
facebook_config:
a:4:{s:8:"pixel_id";s:1:"0";s:7:"use_pii";b:1;s:7:"use_s2s";b:0;s:12:"access_token";s:0:"";}
So:
- pixel_id remains 0
- access_token remains empty
This looks very similar to the issue reported by @trealbe:
"Cannot create the API instance because the access token is missing."
It seems that the OAuth flow succeeds on the Meta side, but the returned credentials are not persisted in WordPress.
Meta for WooCommerce version:
3.7.3
WooCommerce:
10.9.1
PHP:
8.3.31
I will also provide:
- System Status report
- latest facebook_for_woocommerce log
WordPress debug logging was disabled, therefore no debug.log entries were generated.
Could you please check if there is a known issue where OAuth completes but the access token is not stored?
Thank you.
Best regards,
László Bódis
https://pastebin.com/NYDCKQVz
https://pastebin.com/VibjPhFEHi Marija,
I have some additional information after further troubleshooting.
I repeated the complete Meta for WooCommerce connection process.
During the setup I was able to select:
- Business: Kompszek
- Facebook Page: E-Szék
- Instagram account: kompszek
- Catalog: Kompszék Katalógus
- Ad Account: Komp-Szék Kft.
- Pixel: E-Szék Pixel (1808817553861175)
The connection process finished successfully and Meta confirmed that:
"WooCommerce By Meta is connected to Facebook."
However, I checked the WordPress database after this successful connection.
In the wp_options table the facebook_config value is still:
a:4:{s:8:"pixel_id";s:1:"0";s:7:"use_pii";b:1;s:7:"use_s2s";b:0;s:12:"access_token";s:0:"";}
This shows that:
- the selected Pixel ID was not saved
- the access token was not saved
The OAuth connection appears successful on the Meta side, but the plugin configuration in WordPress remains empty.
The installed plugin version is:
Meta for WooCommerce 3.7.3
Could you please advise why the OAuth result is not being written back into the WordPress configuration?
Thank you.
Best regards,
László Bódis
Viewing 4 replies - 1 through 4 (of 4 total)