Post by ru-lefthanded » Wed May 25, 2022 10:33 pm

Running 3.03.2, default theme with numerous extensions running.
No errors in maintenance or showing in the error logs via the web host

When try to edit an order in admin / home / orders, we can edit:
1. Customer details
2. Products
3. Payment Address
BUT it then stops there - you click continue but it stays on the same page (even though everything is completed) & wont let you access:
4. Shipping Details
5. Totals

In firefox developer tools, you do see an Api message pop up (index.php?route=api/payment/address&api_token=blahblahblah&store_id=0 - and that token appears when you look at the session tokens in the Api list for the main IP (the IP address associated with this is allowed / enabled)

I tried Cartbinbder's "API issue fix" but that didnt solve the issue.

Am running TheKrotek's Disable API checks extension

The only other error showing in debugger is Cookie “language” has been rejected for invalid domain. index.php Cookie “currency” has been rejected for invalid domain. Not sure if this is relevant or not!

Have searched for answers on here but cant find anything that helps :(

Thanks in advance :)

New member

Posts

Joined
Tue Sep 03, 2013 3:39 am

Post by grgr » Thu May 26, 2022 10:57 am

ru-lefthanded wrote:
Wed May 25, 2022 10:33 pm
In firefox developer tools, you do see an Api message pop up (index.php?route=api/payment/address&api_token=blahblahblah&store_id=0
Click on that entry, expand it, go to the Response tab and see what is in there.
There should be some array data, but if there is an error it can sometimes be seen in there.

-
Image Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by ru-lefthanded » Thu May 26, 2022 4:58 pm

Thanks

Brings up the following - cant immeditately spot an error but am not technical!! Only thing I did notice is that the token changes but that is probably what its meant to!

XHRPOSThttps://xxx/index.php?route=api/payment/address&api_token=95fdc28100a38c832ce787e171&store_id=0
[HTTP/2 200 OK 1358ms]


POST
https://xxx/index.php?route=api/payment ... store_id=0
Status
200
OK
VersionHTTP/2
Transferred1.83 kB (118 B size)
Referrer Policystrict-origin-when-cross-origin


access-control-allow-origin
*
cache-control
no-store, no-cache, max-age=0, must-revalidate, private, max-stale=0, post-check=0, pre-check=0
content-type
application/json
date
Thu, 26 May 2022 08:47:07 GMT
host-header
8441280b0c35cbc1147f8ba998a563a7
server
fbs
set-cookie
spcsrf=849c79b88835d693f8e93b6a09fe1a95; path=/; SameSite=Strict; HttpOnly; expires=Thu, 26-May-22 10:47:06 GMT
set-cookie
language=en-gb; expires=Sat, 25-Jun-2022 08:47:06 GMT; Max-Age=2592000; path=/; domain=www.xxx
set-cookie
currency=GBP; expires=Sat, 25-Jun-2022 08:47:07 GMT; Max-Age=2592000; path=/; domain=www.xxx
set-cookie
apbct_prev_referer=https%3A%2F%2Fxxx%2Fadmin%2Findex.php%3Froute%3Dsale%2Forder%2Fedit%26user_token%3DjFRCBjKx2cGJADHYGl8kVi4AACGXa3gi%26order_id%3D102; path=/; SameSite=Lax
set-cookie
apbct_timestamp=1653554827; path=/; SameSite=Lax
set-cookie
apbct_cookies_test=%7B%22cookies_names%22%3A%5B%22apbct_prev_referer%22%2C%22apbct_timestamp%22%5D%2C%22check_value%22%3A%229763edd8ccfded7c9f226cdb98566028%22%7D; path=/; SameSite=Lax
set-cookie
apbct_prev_referer=https%3A%2F%2Fxxx%2Fadmin%2Findex.php%3Froute%3Dsale%2Forder%2Fedit%26user_token%3DjFRCBjKx2cGJADHYGl8kVi4AACGXa3gi%26order_id%3D102; path=/; SameSite=Lax
set-cookie
apbct_timestamp=1653554827; path=/; SameSite=Lax
set-cookie
apbct_cookies_test=%7B%22cookies_names%22%3A%5B%22apbct_prev_referer%22%2C%22apbct_timestamp%22%5D%2C%22check_value%22%3A%229763edd8ccfded7c9f226cdb98566028%22%7D; path=/; SameSite=Lax
vary
Accept-Encoding
x-content-encoding-over-network
br
X-Firefox-Spdy
h2
x-httpd-modphp
1
x-hw
1653554826.cds325.lo4.hn,1653554826.cds062.lo4.sc,1653554827.cdn2-redis02-lhr1.stackpath.systems.-.wx,1653554827.cds062.lo4.p
x-proxy-cache-info
DT:1

Accept
application/json, text/javascript, */*; q=0.01
Accept-Encoding
gzip, deflate, br
Accept-Language
en-GB,en;q=0.5
Connection
keep-alive
Content-Length
169
Content-Type
application/x-www-form-urlencoded; charset=UTF-8
Cookie
SPSI=5525496ea25430ef2596ce790f953ff6; SPSE=bNS4+qHWXdhHQWbS1XUDkbgo8RTUJAPmvKfpLTry2YCofUoenX8sfAT7WThJlBjp862k/yMMjjkQIffdUw2vRQ==; OCSESSID=025f21ffb75a968366d3dcf1cc; spcsrf=f33791ecd2f61b3e6292acd90307f567; apbct_prev_referer=https%3A%2F%2Fxxx%2Fadmin%2Findex.php%3Froute%3Dsale%2Forder%2Fedit%26user_token%3DjFRCBjKx2cGJADHYGl8kVi4AACGXa3gi%26order_id%3D102; apbct_timestamp=1653554782; apbct_cookies_test=%7B%22cookies_names%22%3A%5B%22apbct_prev_referer%22%2C%22apbct_timestamp%22%5D%…stamp=1653554704; apbct_fkp_timestamp=0; apbct_pointer_data=%5B%5D; apbct_timezone=1; apbct_visible_fields=0; apbct_visible_fields_count=0; TawkConnectionTime=0; twk_idm_key=fXmOf7Pdz0C03L_iuZ4ue; twk_uuid_627a6c617b967b11798ea7fa=%7B%22uuid%22%3A%221.6raap3SIUOYlOXx0SEvZ4yb1Ha9yXh9C9hHOiwf9RQl0XJJtQcSi4BHCmxIIRKdiXepEPrUcdJBSr18j3Cz30QPyCebRoJHABmzLGSPKuOTKLcAWBIjC48DzoEGiXukLEu5zOWjkyvyaAT1fCyrooKT1zJgwfmk%22%2C%22version%22%3A3%2C%22domain%22%3A%22xxx%22%2C%22ts%22%3A1653554707281%7D
DNT
1
Host
xxx
Origin
https://xxx
Referer
https://xxx/admin/index.php?route=sale/ ... der_id=102
Sec-Fetch-Dest
empty
Sec-Fetch-Mode
cors
Sec-Fetch-Site
same-origin
TE
trailers
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0

New member

Posts

Joined
Tue Sep 03, 2013 3:39 am

Post by ADD Creative » Fri May 27, 2022 2:05 am

Check your config.php and admin/config.php all have the same domain. You seem to have a mix of www. and non www. Alos clear all your cookies for that domain.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: Baidu [Spider], integraa, Semrush [Bot] and 265 guests