> For the complete documentation index, see [llms.txt](https://docs.merchant.alb.ua/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.merchant.alb.ua/en/payment-widgets-for-cms/wordpress/troubleshooting-faq.md).

# Troubleshooting (FAQ)

## Troubleshooting (FAQ)

#### The token "flies off" (disappears/resets) after saving settings

Ensure that the page option is added to the list of allowed parameters (settings API) and that the user has administrator rights.

#### Incorrect time in "Token valid until"

Check the website's time zone. You can output the `tokenExpiration` from the bank's gateway logs and compare it with the actual time.

#### Re-authorization

According to the bank's terms, the token is valid for 24 hours; automatic renewal is performed approximately every 12 hours. The *Re-authorize Now* button updates the token manually.

#### Console errors (404) for log files

If there are no logs yet, the plugin does not show an error on the page, but there may be a 404 error in DevTools for the request. This is not critical; the file will appear after the first successful write.

#### Payment method not displayed on checkout

The checkout page must necessarily contain the shortcode `[woocommerce_checkout]`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.merchant.alb.ua/en/payment-widgets-for-cms/wordpress/troubleshooting-faq.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
