> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weblium.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Connecting PayU as a payment method

PayU allows merchants to offer customers a full slate of popular local, global, and alternative payment methods tailored to the needs of local markets.

||| ${color}[#F97700](Important:) Payment methods are available on websites with paid and Trial subscriptions.
|| ${color}[#FFA800](Note:) PayU has two currencies available for receiving payments: Polish Zloty (PLN) and Czech Koruna (CZK). More information about currency conversion can be found [here](https://developers.payu.com/europe/docs/services/multi-currency/).

# Connecting PayU to an online store

1. If you already have a PayU account, log in by following [this link](https://secure.payu.com/user/login?_eventId=changeLang).

If you do not have an account, [register using this link](https://registration.payu.com/boarding/#/form).

2. After you register a business account, log in to it.

| ${color}[#1AA900](Hint:) You can more clearly familiarize yourself with the registration process and subsequent receipt of your credentials to connect the integration [in this article](https://developers.payu.com/europe/docs/get-started/set-up-account/) from PayU.

3. In your website settings on Weblium, go to the **Your Store** section, then to the **Payment methods** subsection, and click on the **Add** button next to **PayU**:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-angl-1_882ge5.png)

4. Paste **client_id ①** (Identifier) ​​and **client_secret ②** (Secret Key) into the appropriate fields:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-angl-2_ia0q3p.png)

5. To the **Success redirect URL ③** and **Failure redirect URL ④** fields, you can add links to your custom success and failure pages you had created.

||| ${color}[#F97700](Important:) You should paste the links that start from `https://`.
| ${color}[#1AA900](Tip:) To know how to add pages, check [this guide](https://help.weblium.com/en-us/article/adding-pages-and-subpages-xbuaj2/). You can also learn how to customize a "Thank you" page in [this article](https://help.weblium.com/en-us/article/creating-a-thank-you-page-wc8zfu/).

6. After all the fields are filled in correctly, save the changes:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-angl-3_femol6.png)

||| ${color}[#F97700](Important:) The currency in your PayU account must match the one specified in the store settings on Weblium.

7. [Publish](https://help.weblium.com/en-us/article/publishing-a-site-tgxmch/) your site for the changes to take effect.

###### Deactivating the payment method
If necessary, you can hide the payment system without deleting it.
For that, return to the **Payment methods** section, and in the **Connected payment methods** subsection, turn the switch off:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-angl-4_1k3ad8u.png)

# Connecting PayU to work in test mode

You can connect PayU in test mode to check the operation of the payment method without using your own bank card.

1. To do this, you need to create a test account [by following this link](https://registration-merch-prod.snd.payu.com/boarding/#/registerSandbox/).

If you already have a test account, you can log in by [clicking on this link](https://merch-prod.snd.payu.com/user/login).

2. In your test account, on the main page, click on the **My shops** button:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-5_1xog3yb.png)

3. Add a store and complete its registration. Once completed, the last step will give you test credentials, namely **client_id** and **client_secret**:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-6_1p4wmzk.png)

4. Return to Weblium and activate the **Test Mode** switch, then paste the previously copied data into the corresponding fields **①** and **②**:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-angl-7_fp5rmr.png)

||| ${color}[#F97700](Important:) The non-test mode fields marked with an asterisk below must also be filled in. You can enter the same sandbox credentials there if you have not entered data for real payments.

5. Save changes and [publish](https://help.weblium.com/en-us/article/publishing-a-site-tgxmch/) your website.

6. After setting up the test mode correctly, you can place a test order in your online store, where after filling out the shopping cart, you will see a payment page similar to this:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/payu-8_7494ph.png)