<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.barion.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Horinkaa</id>
	<title>Barion Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.barion.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Horinkaa"/>
	<link rel="alternate" type="text/html" href="https://docs.barion.com/Special:Contributions/Horinkaa"/>
	<updated>2026-11-21T04:33:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://docs.barion.com/index.php?title=Sandbox&amp;diff=3619</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Sandbox&amp;diff=3619"/>
		<updated>2022-09-29T13:47:17Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Test cards */  typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PageTitle|title=Setting up the Sandbox environment and testing payments}}&lt;br /&gt;
&lt;br /&gt;
=Sandbox server=&lt;br /&gt;
Although Barion payments are super easy to integrate, we strongly advise all developers to use the sandbox server for development and testing, before going live. &lt;br /&gt;
&lt;br /&gt;
There are many advantages of using the sandbox server for testing:&lt;br /&gt;
*Sandbox is available 7/24/365, you can even start working at night or during weekends (many developers do just that, but please note that except for the Facebook group, [[Support|support]] is only available during working hours)&lt;br /&gt;
*Sandbox is totally self-service, no contract or NDA needed to use it&lt;br /&gt;
*No transaction fees are spent during development and testing&lt;br /&gt;
*The live and the sandbox systems are completely separated, so the same e-mail address can be used in both systems (warning: easy to mix them up!)&lt;br /&gt;
&lt;br /&gt;
=Limitations in functionality=&lt;br /&gt;
The sandbox server is a copy of the live Barion servers, with some minor differences:&lt;br /&gt;
&lt;br /&gt;
*From the developers perspective, the only difference is the URL&lt;br /&gt;
*No real money in the sandbox, all transactions are using &amp;quot;test&amp;quot; money that has no real value&lt;br /&gt;
*Since the sandbox is not using real money, withdrawal to bank accounts is not possible &lt;br /&gt;
*Real bank cards do not work, we provide a test card&lt;br /&gt;
*Top-up is only possible with test card&lt;br /&gt;
*The servers are of smaller capacity&lt;br /&gt;
*Simple SSL certificates are used&lt;br /&gt;
*Sandbox servers are updated regularly without notice (we are doing our best not to lose any data)&lt;br /&gt;
&lt;br /&gt;
[[file:live-sandbox.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=Registering accounts=&lt;br /&gt;
Just as in the live server, a simple online form is needed to register a Barion account. Each merchant needs a Barion account, or Wallet, as we call it. Payments are credited onto this account, immediately after payment. Note: It is easy to mix up the live and sandbox accounts, so please always double check before calling support. &lt;br /&gt;
&lt;br /&gt;
https://secure.test.barion.com/Registration&lt;br /&gt;
&lt;br /&gt;
This URL is identical to https://test.barion.com/Registration, the word &amp;quot;secure&amp;quot; can be omitted.&lt;br /&gt;
&lt;br /&gt;
=Opening a shop=&lt;br /&gt;
Opening a shop in the sandbox is the same as opening one in the live server. The only difference is that the sandbox is wired to automatically approve all changes, while the live server requires a human compliance officer to approve the shop. &lt;br /&gt;
&#039;&#039;&#039;Note that you still have to &amp;lt;u&amp;gt;send the shop for approval&amp;lt;/u&amp;gt; on the shop editing page!&#039;&#039;&#039;&lt;br /&gt;
Also prepare for questions and some minor paperwork when switching from sandbox to live.&lt;br /&gt;
&lt;br /&gt;
=API URL=&lt;br /&gt;
The base URL for the Barion API is the same as the live, with the word &amp;quot;test&amp;quot; added.&lt;br /&gt;
&lt;br /&gt;
https://api.test.barion.com&lt;br /&gt;
&lt;br /&gt;
=HTTPS and Certificates=&lt;br /&gt;
All communication with the Barion system must be done using TLS v1.1 / 1.2 - former encryption standards (SSLv3, TLS1.0 etc.) are not allowed. You can test your solution on the Sandbox server.&lt;br /&gt;
&lt;br /&gt;
Our sandbox server is using more economical certificates, than the live server. Standard HTTPS certificate is used, instead of Extended Validation (EV), and a less well known brand has been chosen. This does not effect security and development, and applies only to the sandbox.&lt;br /&gt;
&lt;br /&gt;
=Test cards=&lt;br /&gt;
&lt;br /&gt;
The sandbox server is connected to a card acquirer, so all transactions using the test card reach out to that server. This can cause a variation in card processing time. Please note, that if you make many payments to a merchant, the account can reach a balance where another level of KYC is required, and the account will be temporarily suspended. Suspended accounts can initiate payments, but can not send or withdraw money. Try to avoid this, or in case you don&#039;t, drop a mail to support. &lt;br /&gt;
&amp;lt;br&amp;gt;Each test cards are represented with different value in the response of &amp;lt;code&amp;gt;GetPaymentState&amp;lt;/code&amp;gt; (see &amp;lt;code&amp;gt;FundingInformation&amp;lt;/code&amp;gt; -&amp;gt; &amp;lt;code&amp;gt;ProcessResult&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
[[file:Test-card2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 1&#039;&#039;&#039; - SUCCEED - the card transaction was successful&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 5559&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;Successful&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 2&#039;&#039;&#039; - FAIL - the card transaction was unsuccessful: card number, CVC or/and expiry is wrong.&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 4446&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;ProblemWithCard&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 3&#039;&#039;&#039; - FAIL - the card transaction was unsuccessful due to insufficient funds&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 9999&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;LowFunds&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 4&#039;&#039;&#039; - FAIL - the credit card has been reported lost or stolen&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 1111&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;LostOrStolenCard&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 5&#039;&#039;&#039; - FAIL - the payment card was declined by the acquirer&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 3331&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;Declined&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 6&#039;&#039;&#039; - FAIL - Due to potentially fraudulent transaction, the monitoring system declined the transaction&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 6664&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;FraudulentTransaction&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 7&#039;&#039;&#039; - FAIL - the card transaction failed due to the card system&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 7779&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;CardSystemError&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;CARD 8&#039;&#039;&#039; - FAIL - the payment card did not support SCA at the time of the transaction&lt;br /&gt;
*BIN: &#039;&#039;&#039;4444 8888 8888 0006&#039;&#039;&#039;&lt;br /&gt;
*Expiration date: &#039;&#039;&#039;any future date&#039;&#039;&#039;&lt;br /&gt;
*CVC: &#039;&#039;&#039;any 3-digit number&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
GetPaymentState result: &amp;lt;code&amp;gt;ScaSoftDeclined&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Payment GUI=&lt;br /&gt;
The payment GUI in the sandbox server is the same as in the live, with some exceptions:&lt;br /&gt;
*A black bar is present at the top, with a message saying &amp;quot;sandbox server&amp;quot;&lt;br /&gt;
*The Comodo Site Authority is missing, since the sandbox server uses a different SSL certificate&lt;br /&gt;
*The URL has the word &amp;quot;test&amp;quot; in it&lt;br /&gt;
*It only accpets the test card, no real cards can be used&lt;br /&gt;
*All payments are with &amp;quot;test&amp;quot; money, not real money&lt;br /&gt;
&lt;br /&gt;
[[file:Sandbox-payment-gui.PNG|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Confirmation e-mails are actually sent out in the Sandbox environment as well, so DO NOT use any real e-mail address that does not belong to you. Please use your own personal or development e-mail address, or if you do not care about the e-mail itself, use the @example.com e-mail domain.&lt;br /&gt;
|color=#1993c7}}&lt;br /&gt;
&lt;br /&gt;
=Using the Barion Web App in Sandbox mode=&lt;br /&gt;
You can log into the Barion Web App on the same URL, with the word &amp;quot;test&amp;quot; added. A black bar is shown on top of each screen to help differentiate from the live server.&lt;br /&gt;
https://secure.test.barion.com/&lt;br /&gt;
&lt;br /&gt;
This URL is identical to https://test.barion.com/, the word &amp;quot;secure&amp;quot; can be omitted.&lt;br /&gt;
&lt;br /&gt;
= Using the Barion Mobile App in Sandbox mode =&lt;br /&gt;
You can also use the Barion Mobile App with the sandbox server by entering &amp;lt;tt&amp;gt;test#&amp;lt;/tt&amp;gt; before the e-mail address when logging into the app. The title bar of the app turns green to help differentiate from live accounts. You can download the app from Google Play or from the App Store.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
test#youremail@example.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_release_notes_-_2022.08.29&amp;diff=3574</id>
		<title>Barion release notes - 2022.08.29</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_release_notes_-_2022.08.29&amp;diff=3574"/>
		<updated>2022-08-18T13:27:17Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Profile menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PageTitle|title=Barion release notes - 2022.08.29}}&lt;br /&gt;
&lt;br /&gt;
=Short summary=&lt;br /&gt;
We are publishing some new features and user interface improvements in this release. The following features and updates will be rolled out:&lt;br /&gt;
&lt;br /&gt;
* Profile menu,&lt;br /&gt;
* Wallet menu changes,&lt;br /&gt;
* New shop creating and editing flow,&lt;br /&gt;
* New possible error response in Payment/Start,&lt;br /&gt;
* non-domestic CZK withdraws disabled on [[Withdraw-BankTransfer-v2]] (use [[Withdraw-BankTransfer-v2]] instead)&lt;br /&gt;
&lt;br /&gt;
=Profile menu=&lt;br /&gt;
&lt;br /&gt;
Barion is introducing a Profile menu on secure.barion.com. Some of the features are moved from the left-sided Wallet menu under the new Profile menu. The purpose of the development is to separate the functions related to your profile and your wallet. We applied industry standards during the design to make it intuitive, familiar, and self-explanatory.&lt;br /&gt;
You can access the Profile menu on the top right corner of the screen. After the update you will be able to access the following features from the Profile menu in your personal wallet:&lt;br /&gt;
*&#039;&#039;&#039;Profile&#039;&#039;&#039;: view and edit your personal data here.&lt;br /&gt;
*&#039;&#039;&#039;Verification&#039;&#039;&#039;: If you need higher limits and have not verified your identity before navigate here.&lt;br /&gt;
*&#039;&#039;&#039;Change password&#039;&#039;&#039;: change your login credentials here.&lt;br /&gt;
*&#039;&#039;&#039;Block&#039;&#039;&#039;: If you think someone unauthorized has access to your account, or have any other reasons to block it, click here.&lt;br /&gt;
*&#039;&#039;&#039;Sign out&#039;&#039;&#039;: simply sign out of your account.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Profile-menu_1.gif|800px]]&lt;br /&gt;
&lt;br /&gt;
=Wallet menu changes=&lt;br /&gt;
&lt;br /&gt;
We also adjusted the names of the Wallet menu to make it more convenient for existing and new users, the icons remained the same.&lt;br /&gt;
Business organizations can still access the company data and the verification from the ‘Business profile’ on the left side under the &#039;Wallet&#039; menu.&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Business organizations can still access the company data and the verification from the ‘Business profile’ on the left side under the Wallet menu.|color=#1993c7}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Wallet-menu-1.gif|800px]]&lt;br /&gt;
&lt;br /&gt;
=New shop creation and editing flow=&lt;br /&gt;
&lt;br /&gt;
== Overview of the user&#039;s shops ==&lt;br /&gt;
&lt;br /&gt;
We made some UI changes to the shop table. Instead of the lock icon and the &#039;&#039;Open/Closed&#039;&#039; column, the grid now indicates the actual status marked with a colour-coded circle. This will help you understand the circumstances of a certain shop status, and how it affects the operation of the shop.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-list-2022-01.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The colour of the dot is indicating the shop&#039;s state of operation (in layman&#039;s terms, &#039;&#039;is my shop functioning or not?&#039;&#039;), not the status of the shop.|color=#1993c7}}&lt;br /&gt;
&lt;br /&gt;
At any moment, the colours should always indicate the following, with examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&#039;color:#40b91b&#039;&amp;gt;&#039;&#039;&#039;Green&#039;&#039;&#039;&amp;lt;/span&amp;gt;: the shop is functioning and customers can pay in it &lt;br /&gt;
** an open shop&lt;br /&gt;
** a shop waiting for approval of a modification&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&#039;color:#ddb323&#039;&amp;gt;&#039;&#039;&#039;Yellow&#039;&#039;&#039;&amp;lt;/span&amp;gt;: the shop is NOT functioning, customers can NOT pay in the shop, but this might change later&lt;br /&gt;
** a temporarily closed shop&lt;br /&gt;
** a shop that is still being created&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&#039;color:#d9534f&#039;&amp;gt;&#039;&#039;&#039;Red&#039;&#039;&#039;&amp;lt;/span&amp;gt;: the shop is NOT functioning and will never function again, operation is permanently ceased, and this can not change&lt;br /&gt;
** a shop that was closed permanently by the owner&lt;br /&gt;
** a shop of a deleted user&lt;br /&gt;
&lt;br /&gt;
== Creating a shop ==&lt;br /&gt;
&lt;br /&gt;
One of the most important changes in the shop onboarding form is that the &#039;&#039;&#039;Send to approval&#039;&#039;&#039; button has been removed. You should focus on creating the shop with as much data as you have. We will highlight what is missing and you can come back anytime you want and fill out the rest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-01.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You only need to choose a name for your new shop and press Save. We will highlight if something is missing at the next step.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-02.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is an example if some data is missing, we highlight it for you.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-03.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Submitting a shop for approval ==&lt;br /&gt;
&lt;br /&gt;
Once you provided all the necessary pieces of data, you need to submit it for approval. You may decide to do this later, in case you still need to edit something. &lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-04.png|800px]]&lt;br /&gt;
&lt;br /&gt;
If you decide to submit the shop later, you can also submit it from the shop table directly, no need to navigate to the edit shop screen.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-06.png|800px]]&lt;br /&gt;
&lt;br /&gt;
If you submit the shop for approval, either from the grid or from the edit result screen, you will see a confirmation message.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-05.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Editing an existing shop ==&lt;br /&gt;
&lt;br /&gt;
You will be able to edit your functioning shops just as before. The form validation and the success messages changed have been adjusted to the new process.&lt;br /&gt;
&lt;br /&gt;
Since all data is mandatory for a shop to be opened, you must enter all data when editing shops too, we will highlight it to you if something is missing.&lt;br /&gt;
All modifications require approval, but in the meantime, the shop will continue operating.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-edit-2022-01.png|800px]]&lt;br /&gt;
&lt;br /&gt;
After editing a shop, you will see a message reminding you that the modifications need approval.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-edit-2022-02.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Api Payment/Start error indicates closed shop ==&lt;br /&gt;
&lt;br /&gt;
Up until now, if a merchant perpared a payment (via [[Payment-Start-v2|/v2/Payment/Start]] API endpoint) and the shop was closed, a generic AuthenticationFailed error was returned. From now on, a more descriptive ShopIsClosed error will be the response.&lt;br /&gt;
&lt;br /&gt;
== Non-domestic CZK withdraws disabled on /v2/Withdraw/BankTransfer ==&lt;br /&gt;
&lt;br /&gt;
Due to some limitations on our partner&#039;s side, we have to upgrade our Withdraw api to v3 ([[Withdraw-BankTransfer-v3|/v3/Withdraw/BankTransfer]]) for non-domestic (transfers initiated outside of Czechia) CZK payments. This means, that the older v2 ([[Withdraw-BankTransfer-v2|/v2/Withdraw/BankTransfer]]) one had to be disabled for this type of transactions. The change only affects the non-domestic CZK withdraws initiated on our API, all other currencies can still use the v2 api (HUF, EUR, USD, domestic CZK).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_release_notes_-_2022.08.29&amp;diff=3573</id>
		<title>Barion release notes - 2022.08.29</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_release_notes_-_2022.08.29&amp;diff=3573"/>
		<updated>2022-08-18T13:27:08Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Profile menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{PageTitle|title=Barion release notes - 2022.08.29}}&lt;br /&gt;
&lt;br /&gt;
=Short summary=&lt;br /&gt;
We are publishing some new features and user interface improvements in this release. The following features and updates will be rolled out:&lt;br /&gt;
&lt;br /&gt;
* Profile menu,&lt;br /&gt;
* Wallet menu changes,&lt;br /&gt;
* New shop creating and editing flow,&lt;br /&gt;
* New possible error response in Payment/Start,&lt;br /&gt;
* non-domestic CZK withdraws disabled on [[Withdraw-BankTransfer-v2]] (use [[Withdraw-BankTransfer-v2]] instead)&lt;br /&gt;
&lt;br /&gt;
=Profile menu=&lt;br /&gt;
&lt;br /&gt;
Barion is introducing a Profile menu on secure.barion.com. Some of the features are moved from the left-sided Wallet menu under the new Profile menu. The purpose of the development is to separate the functions related to your profile and your wallet. We applied industry standards during the design to make it intuitive, familiar, and self-explanatory.&lt;br /&gt;
You can access the Profile menu on the top right corner of the screen. After the update you will be able to access the following features from the Profile menu in your personal wallet:&lt;br /&gt;
*&#039;&#039;&#039;Profile&#039;&#039;&#039;: view and edit your personal data here.&lt;br /&gt;
*&#039;&#039;&#039;Verification&#039;&#039;&#039;: If you need higher limits and have not verified your identity before navigate here.&lt;br /&gt;
*&#039;&#039;&#039;Change password&#039;&#039;&#039;: change your login credentials here.&lt;br /&gt;
*&#039;&#039;&#039;Block&#039;&#039;&#039;: If you think someone unauthorized has access to your account, or have any other reasons to block it, click here.&lt;br /&gt;
*&#039;&#039;&#039;Sign out&#039;&#039;&#039;: simply sign out of your account.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Profile-menu_1.gif]]&lt;br /&gt;
&lt;br /&gt;
=Wallet menu changes=&lt;br /&gt;
&lt;br /&gt;
We also adjusted the names of the Wallet menu to make it more convenient for existing and new users, the icons remained the same.&lt;br /&gt;
Business organizations can still access the company data and the verification from the ‘Business profile’ on the left side under the &#039;Wallet&#039; menu.&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Business organizations can still access the company data and the verification from the ‘Business profile’ on the left side under the Wallet menu.|color=#1993c7}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Wallet-menu-1.gif|800px]]&lt;br /&gt;
&lt;br /&gt;
=New shop creation and editing flow=&lt;br /&gt;
&lt;br /&gt;
== Overview of the user&#039;s shops ==&lt;br /&gt;
&lt;br /&gt;
We made some UI changes to the shop table. Instead of the lock icon and the &#039;&#039;Open/Closed&#039;&#039; column, the grid now indicates the actual status marked with a colour-coded circle. This will help you understand the circumstances of a certain shop status, and how it affects the operation of the shop.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-list-2022-01.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The colour of the dot is indicating the shop&#039;s state of operation (in layman&#039;s terms, &#039;&#039;is my shop functioning or not?&#039;&#039;), not the status of the shop.|color=#1993c7}}&lt;br /&gt;
&lt;br /&gt;
At any moment, the colours should always indicate the following, with examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&#039;color:#40b91b&#039;&amp;gt;&#039;&#039;&#039;Green&#039;&#039;&#039;&amp;lt;/span&amp;gt;: the shop is functioning and customers can pay in it &lt;br /&gt;
** an open shop&lt;br /&gt;
** a shop waiting for approval of a modification&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&#039;color:#ddb323&#039;&amp;gt;&#039;&#039;&#039;Yellow&#039;&#039;&#039;&amp;lt;/span&amp;gt;: the shop is NOT functioning, customers can NOT pay in the shop, but this might change later&lt;br /&gt;
** a temporarily closed shop&lt;br /&gt;
** a shop that is still being created&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&#039;color:#d9534f&#039;&amp;gt;&#039;&#039;&#039;Red&#039;&#039;&#039;&amp;lt;/span&amp;gt;: the shop is NOT functioning and will never function again, operation is permanently ceased, and this can not change&lt;br /&gt;
** a shop that was closed permanently by the owner&lt;br /&gt;
** a shop of a deleted user&lt;br /&gt;
&lt;br /&gt;
== Creating a shop ==&lt;br /&gt;
&lt;br /&gt;
One of the most important changes in the shop onboarding form is that the &#039;&#039;&#039;Send to approval&#039;&#039;&#039; button has been removed. You should focus on creating the shop with as much data as you have. We will highlight what is missing and you can come back anytime you want and fill out the rest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-01.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You only need to choose a name for your new shop and press Save. We will highlight if something is missing at the next step.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-02.png|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is an example if some data is missing, we highlight it for you.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-03.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Submitting a shop for approval ==&lt;br /&gt;
&lt;br /&gt;
Once you provided all the necessary pieces of data, you need to submit it for approval. You may decide to do this later, in case you still need to edit something. &lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-04.png|800px]]&lt;br /&gt;
&lt;br /&gt;
If you decide to submit the shop later, you can also submit it from the shop table directly, no need to navigate to the edit shop screen.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-06.png|800px]]&lt;br /&gt;
&lt;br /&gt;
If you submit the shop for approval, either from the grid or from the edit result screen, you will see a confirmation message.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-form-2022-05.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Editing an existing shop ==&lt;br /&gt;
&lt;br /&gt;
You will be able to edit your functioning shops just as before. The form validation and the success messages changed have been adjusted to the new process.&lt;br /&gt;
&lt;br /&gt;
Since all data is mandatory for a shop to be opened, you must enter all data when editing shops too, we will highlight it to you if something is missing.&lt;br /&gt;
All modifications require approval, but in the meantime, the shop will continue operating.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-edit-2022-01.png|800px]]&lt;br /&gt;
&lt;br /&gt;
After editing a shop, you will see a message reminding you that the modifications need approval.&lt;br /&gt;
&lt;br /&gt;
[[File:Shop-edit-2022-02.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== Api Payment/Start error indicates closed shop ==&lt;br /&gt;
&lt;br /&gt;
Up until now, if a merchant perpared a payment (via [[Payment-Start-v2|/v2/Payment/Start]] API endpoint) and the shop was closed, a generic AuthenticationFailed error was returned. From now on, a more descriptive ShopIsClosed error will be the response.&lt;br /&gt;
&lt;br /&gt;
== Non-domestic CZK withdraws disabled on /v2/Withdraw/BankTransfer ==&lt;br /&gt;
&lt;br /&gt;
Due to some limitations on our partner&#039;s side, we have to upgrade our Withdraw api to v3 ([[Withdraw-BankTransfer-v3|/v3/Withdraw/BankTransfer]]) for non-domestic (transfers initiated outside of Czechia) CZK payments. This means, that the older v2 ([[Withdraw-BankTransfer-v2|/v2/Withdraw/BankTransfer]]) one had to be disabled for this type of transactions. The change only affects the non-domestic CZK withdraws initiated on our API, all other currencies can still use the v2 api (HUF, EUR, USD, domestic CZK).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=RecipientAddress&amp;diff=3532</id>
		<title>RecipientAddress</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=RecipientAddress&amp;diff=3532"/>
		<updated>2022-08-16T13:39:37Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Inalid Czech foreign transfer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Recipient Address}}&lt;br /&gt;
&lt;br /&gt;
This structure represents recipient address that is used as the recipient of an outgoing bank (wire) transfer from the Barion system.&lt;br /&gt;
&lt;br /&gt;
= API usage =&lt;br /&gt;
&lt;br /&gt;
This structure is used by the following API endpoints:&lt;br /&gt;
* [[Withdraw-BankTransfer-v3]]&lt;br /&gt;
&lt;br /&gt;
= Property list =&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Country&lt;br /&gt;
| string&lt;br /&gt;
|&lt;br /&gt;
* Required&lt;br /&gt;
* Exactly 3 characters long&lt;br /&gt;
| The country of the recipient, in 3-letter country code (ISO 3166-1 Alpha-3) format&lt;br /&gt;
|-&lt;br /&gt;
| Street || string ||&lt;br /&gt;
* Required&lt;br /&gt;
||Street and street number part of the address of the recipient. Used when transferring money outside Hungary and/or other than HUF and for fraud analysis.&lt;br /&gt;
|-&lt;br /&gt;
| City || string || &lt;br /&gt;
* Required&lt;br /&gt;
|| City part of the address of the recipient. Used when transferring money outside Hungary and/or other than HUF.&lt;br /&gt;
|-&lt;br /&gt;
| Zip || string || &lt;br /&gt;
* Required&lt;br /&gt;
* Max. 16 characters long&lt;br /&gt;
|| Zip part of the address of the recipient. Used when transferring money outside Hungary and/or other than HUF and for fraud analysis.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additional length restrictions for this type apply based on currency:  &lt;br /&gt;
&lt;br /&gt;
* in the case of &amp;lt;strong&amp;gt;CZK&amp;lt;/strong&amp;gt; currency:&lt;br /&gt;
** &amp;lt;strong&amp;gt;Street&amp;lt;/strong&amp;gt;: max. 35 characters&lt;br /&gt;
** &amp;lt;strong&amp;gt;City&amp;lt;/strong&amp;gt;: max. 35 characters&lt;br /&gt;
* in the case of &amp;lt;strong&amp;gt;HUF&amp;lt;/strong&amp;gt;, &amp;lt;strong&amp;gt;EUR&amp;lt;/strong&amp;gt;, and &amp;lt;strong&amp;gt;USD&amp;lt;/strong&amp;gt; currencies:&lt;br /&gt;
** &amp;lt;strong&amp;gt;Sum of Street, City, And Zip&amp;lt;/strong&amp;gt;: max. 54 characters&lt;br /&gt;
&lt;br /&gt;
== Examples for recipient address ==&lt;br /&gt;
&lt;br /&gt;
=== Valid Czech foreign transfer ===&lt;br /&gt;
&lt;br /&gt;
Currency is &amp;lt;code&amp;gt;CZK&amp;lt;/code&amp;gt;, bank account number format is &amp;lt;code&amp;gt;IBAN&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
All components are shorter than their maximum lengths.&lt;br /&gt;
&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;Country&amp;quot;: &amp;quot;Deu&amp;quot;,&lt;br /&gt;
    &amp;quot;Zip&amp;quot;: &amp;quot;80804&amp;quot;,&lt;br /&gt;
    &amp;quot;City&amp;quot;: &amp;quot;München&amp;quot;,&lt;br /&gt;
    &amp;quot;Street&amp;quot;: &amp;quot;Leopoldstraße 146.&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
=== Invalid Czech foreign transfer ===&lt;br /&gt;
&lt;br /&gt;
Currency is &amp;lt;code&amp;gt;CZK&amp;lt;/code&amp;gt;, bank account number format is &amp;lt;code&amp;gt;IBAN&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Street&amp;lt;/code&amp;gt; is 36 characters long, making the address invalid for CZK transfers.&lt;br /&gt;
&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;Country&amp;quot;: &amp;quot;Hun&amp;quot;,&lt;br /&gt;
    &amp;quot;Zip&amp;quot;: &amp;quot;1183&amp;quot;,&lt;br /&gt;
    &amp;quot;City&amp;quot;: &amp;quot;Budapest&amp;quot;,&lt;br /&gt;
    &amp;quot;Street&amp;quot;: &amp;quot;Ferihegyi repülőtérre vezető út 23/B&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
=== Valid EUR transfer ===&lt;br /&gt;
&lt;br /&gt;
Currency is &amp;lt;code&amp;gt;EUR&amp;lt;/code&amp;gt; (note: same rules for &amp;lt;code&amp;gt;USD&amp;lt;/code&amp;gt; and foreign &amp;lt;code&amp;gt;HUF&amp;lt;/code&amp;gt;), bank account number format is &amp;lt;code&amp;gt;IBAN&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Street&amp;lt;/code&amp;gt; is 36 characters long, &amp;lt;code&amp;gt;City&amp;lt;/code&amp;gt; is 8 characters long, and &amp;lt;code&amp;gt;Zip&amp;lt;/code&amp;gt; is 4. The sum is 48, which is &amp;amp;lt;= 54 so this address is valid for this transfer.&lt;br /&gt;
&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;Country&amp;quot;: &amp;quot;Hun&amp;quot;,&lt;br /&gt;
    &amp;quot;Zip&amp;quot;: &amp;quot;1183&amp;quot;,&lt;br /&gt;
    &amp;quot;City&amp;quot;: &amp;quot;Budapest&amp;quot;,&lt;br /&gt;
    &amp;quot;Street&amp;quot;: &amp;quot;Ferihegyi repülőtérre vezető út 23/B&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
=== Invalid EUR transfer ===&lt;br /&gt;
&lt;br /&gt;
Currency is &amp;lt;code&amp;gt;EUR&amp;lt;/code&amp;gt;, bank account number format is &amp;lt;code&amp;gt;IBAN&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Street&amp;lt;/code&amp;gt; is 58 characters long, which is in itself longer than the total allowed 54 for &amp;lt;code&amp;gt;Street&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;City&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;Zip&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;Country&amp;quot;: &amp;quot;Hun&amp;quot;,&lt;br /&gt;
    &amp;quot;Zip&amp;quot;: &amp;quot;1183&amp;quot;,&lt;br /&gt;
    &amp;quot;City&amp;quot;: &amp;quot;Budapest&amp;quot;,&lt;br /&gt;
    &amp;quot;Street&amp;quot;: &amp;quot;Ferihegyi repülőtérre vezető út 23/B 7. emelet 27-es lakás&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Zip&amp;lt;/code&amp;gt; is more than 16 characters long, which makes the address invalid even if the total for the three components that are counted in the maximum 54 characters is short enough.&lt;br /&gt;
&lt;br /&gt;
  {&lt;br /&gt;
    &amp;quot;Country&amp;quot;: &amp;quot;Nar&amp;quot;,&lt;br /&gt;
    /* Narnia is a very big country, too many zip codes */&lt;br /&gt;
    &amp;quot;Zip&amp;quot;: &amp;quot;61248531479548248&amp;quot;,&lt;br /&gt;
    &amp;quot;City&amp;quot;: &amp;quot;Snowy Mountain&amp;quot;,&lt;br /&gt;
    &amp;quot;Street&amp;quot;: &amp;quot;Yak Street 35.&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Valid domestic CZK and HUF transfers ===&lt;br /&gt;
&lt;br /&gt;
The same rules apply to domestic &amp;lt;code&amp;gt;CZK&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;HUF&amp;lt;/code&amp;gt; transfers as to foreign &amp;lt;code&amp;gt;CZK&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;HUF&amp;lt;/code&amp;gt; transfers, respectively. If the address is invalid, it can be omitted in the case of domestic transfers, making the whole transfer valid again.&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3527</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3527"/>
		<updated>2022-07-15T14:37:50Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */  fixing link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion logo to your Shop&#039;s footer ===&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion Pixel to your Shop&#039;s header ===&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion to your General Terms and Conditions document ===&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
=== Maintain Shopify admin settings to enable Barion Payment Gateway ===&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
==== Create a private application  ====&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
==== Adding the integration code to Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Adding a payment method on Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&amp;lt;strong&amp;gt;&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.&lt;br /&gt;
Also note, that your shop must be open to be able to save these settings!|color=#FF7A3D}}&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once logged in you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#Create_a_private_application Create a private application] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3526</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3526"/>
		<updated>2022-07-15T14:36:39Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */  formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion logo to your Shop&#039;s footer ===&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion Pixel to your Shop&#039;s header ===&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion to your General Terms and Conditions document ===&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
=== Maintain Shopify admin settings to enable Barion Payment Gateway ===&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
==== Create a private application  ====&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
==== Adding the integration code to Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Adding a payment method on Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&amp;lt;strong&amp;gt;&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.&lt;br /&gt;
Also note, that your shop must be open to be able to save these settings!|color=#FF7A3D}}&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once logged in you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3525</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3525"/>
		<updated>2022-07-15T14:31:47Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion logo to your Shop&#039;s footer ===&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion Pixel to your Shop&#039;s header ===&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion to your General Terms and Conditions document ===&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
=== Maintain Shopify admin settings to enable Barion Payment Gateway ===&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
==== Create a private application  ====&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
==== Adding the integration code to Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Adding a payment method on Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3524</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3524"/>
		<updated>2022-07-15T14:30:57Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* How to create Shopify keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion logo to your Shop&#039;s footer ===&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion Pixel to your Shop&#039;s header ===&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion to your General Terms and Conditions document ===&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
=== Maintain Shopify admin settings to enable Barion Payment Gateway ===&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
==== Create a private application  ====&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
==== Adding the integration code to Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Adding a payment method on Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3523</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3523"/>
		<updated>2022-07-15T14:29:57Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Connect your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion logo to your Shop&#039;s footer ===&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion Pixel to your Shop&#039;s header ===&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion to your General Terms and Conditions document ===&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
=== Maintain Shopify admin settings to enable Barion Payment Gateway ===&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
==== How to create Shopify keys ====&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
==== Adding the integration code to Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
==== Adding a payment method on Shopify Admin interface ====&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3522</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3522"/>
		<updated>2022-07-15T14:27:33Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Get verified » Integrate Barion for Shopify */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion logo to your Shop&#039;s footer ===&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion Pixel to your Shop&#039;s header ===&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion to your General Terms and Conditions document ===&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3521</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3521"/>
		<updated>2022-07-15T14:26:47Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Onboarding steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion logo to your Shop&#039;s footer ===&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion Pixel to your Shop&#039;s header ===&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
=== Add Barion to your General Terms and Conditions document ===&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified » Integrate Barion for Shopify ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3520</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3520"/>
		<updated>2022-07-15T14:22:47Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Connect your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
== Get verified » Integrate Barion for Shopify ==&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3519</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3519"/>
		<updated>2022-07-15T14:21:51Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding a payment method on Shopify Admin interface */  list formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
* Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3518</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3518"/>
		<updated>2022-07-15T14:21:08Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding the integration code to Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SANDBOX&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3517</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3517"/>
		<updated>2022-07-15T14:20:50Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding the integration code to Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The below steps will differ whether you create an Application for SANDBOX (see https://docs.barion.com/Sandbox) or PRODUCTION environments!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3516</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3516"/>
		<updated>2022-07-15T14:17:42Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding a payment method on Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Payments&#039;&#039; from the left side menu.&lt;br /&gt;
From the &#039;&#039;Manual payment methods&#039; area click the &#039;&#039;Add manual payment method&#039;&#039; button and choose &#039;&#039;Create custom payment method&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_Admin_Add_Custom_payment_method.png|400px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=File:Shopify_Admin_Add_Custom_payment_method.png&amp;diff=3515</id>
		<title>File:Shopify Admin Add Custom payment method.png</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=File:Shopify_Admin_Add_Custom_payment_method.png&amp;diff=3515"/>
		<updated>2022-07-15T14:15:27Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3514</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3514"/>
		<updated>2022-07-15T14:11:54Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding a payment method on Shopify Admin interface */  formating&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &#039;&#039;Settings&#039;&#039; -&amp;gt; &#039;&#039;Payments&#039;&#039; and &#039;&#039;Manual payment methods&#039;&#039;. Click to &#039;&#039;Manual payment methods&#039;&#039; then choose &#039;&#039;Create custom payment methods&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &#039;&#039;Active&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3513</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3513"/>
		<updated>2022-07-15T14:10:52Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The shop must be open to be able to maintain these settings!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3512</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3512"/>
		<updated>2022-07-15T14:09:05Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Retrieving the POS key */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &#039;&#039;Actions&#039;&#039; and &#039;&#039;Details&#039;&#039; to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language.&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3511</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3511"/>
		<updated>2022-07-15T14:08:22Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Retrieving_the_POS_key here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3510</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3510"/>
		<updated>2022-07-15T14:07:55Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Retrieving the POS key */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3509</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3509"/>
		<updated>2022-07-15T14:07:46Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Retrieving POS key */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving the POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3508</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3508"/>
		<updated>2022-07-15T14:07:35Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
=== Retrieving POS key ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3507</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3507"/>
		<updated>2022-07-15T14:06:25Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Connect your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3506</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3506"/>
		<updated>2022-07-15T14:04:24Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* How to create Shopify keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
On the main admin interface click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Apps and sales channels&#039;&#039; from the left side menu.&lt;br /&gt;
Click the &#039;&#039;Develop apps&#039; button, then the &#039;&#039;Create an app&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully you need to &#039;&#039;Install the app&#039;&#039; in order to get the Shopify API key and Shopify Password.&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify-newAppDevelopment-preAccessKey.png|Shopify-newAppDevelopment-preAccessKey.png]]&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/|color=#FF7A3D}}&lt;br /&gt;
* Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
* Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=File:Shopify-newAppDevelopment-preAccessKey.png&amp;diff=3505</id>
		<title>File:Shopify-newAppDevelopment-preAccessKey.png</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=File:Shopify-newAppDevelopment-preAccessKey.png&amp;diff=3505"/>
		<updated>2022-07-15T13:58:17Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: This is the screen visible upon creating a private app in Shopify while the Access Tokens not yet generated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
This is the screen visible upon creating a private app in Shopify while the Access Tokens not yet generated&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=File:Shopify_key_and_password.png&amp;diff=3503</id>
		<title>File:Shopify key and password.png</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=File:Shopify_key_and_password.png&amp;diff=3503"/>
		<updated>2022-07-15T13:45:11Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: Horinkaa uploaded a new version of File:Shopify key and password.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Shopify interface with highlights where Shopify Key and Password must be fed from&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=File:Shopify_key_and_password.png&amp;diff=3502</id>
		<title>File:Shopify key and password.png</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=File:Shopify_key_and_password.png&amp;diff=3502"/>
		<updated>2022-07-15T13:43:15Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: Horinkaa reverted File:Shopify key and password.png to an old version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Shopify interface with highlights where Shopify Key and Password must be fed from&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3501</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3501"/>
		<updated>2022-07-15T13:37:46Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Connect your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|Shopify_key_and_password.png]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=File:Shopify_key_and_password.png&amp;diff=3500</id>
		<title>File:Shopify key and password.png</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=File:Shopify_key_and_password.png&amp;diff=3500"/>
		<updated>2022-07-15T13:35:04Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: Horinkaa uploaded a new version of File:Shopify key and password.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Shopify interface with highlights where Shopify Key and Password must be fed from&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3499</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3499"/>
		<updated>2022-07-15T13:32:30Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF. This applies to any discount logic that reduce the sum by some percent. The final amount within Shopify must comply with the digits restrictions!|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3498</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3498"/>
		<updated>2022-07-15T13:26:47Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */  formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Shopify domain&#039;&#039;&#039; - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* &#039;&#039;&#039;Shopify API Key&#039;&#039;&#039; - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Shopify password&#039;&#039;&#039; - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* &#039;&#039;&#039;Barion Secret key (POSKey)&#039;&#039;&#039; - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* &#039;&#039;&#039;Currency&#039;&#039;&#039; - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF.|color=#FF7A3D}}&lt;br /&gt;
* &#039;&#039;&#039;Language&#039;&#039;&#039; - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Once done, do not forget to save your entry!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3497</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3497"/>
		<updated>2022-07-15T13:23:08Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* Shopify domain - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* Shopify API Key - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* Shopify password - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* Barion Secret key (POSKey) - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* Currency - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF.|color=#FF7A3D}}&lt;br /&gt;
* Language - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
Once done, do not forget to save your entry!&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3496</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3496"/>
		<updated>2022-07-15T13:12:08Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */  first steps to fill in shopify.barion.com&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
* Shopify domain - you shall type here your Shopify domain that you see in your browser address bar. &lt;br /&gt;
** i.e.: &#039;&#039;&amp;lt;nowiki&amp;gt;https://myfirstbarionshop.myshopify.com/&amp;lt;/nowiki&amp;gt;&#039;&#039;  should end up here as &#039;&#039;myfirstbarionshop.myshopify.com&#039;&#039;&lt;br /&gt;
For following two fields you need the values you saved from [https://docs.barion.com/Barion_for_Shopify#How_to_create_Shopify_keys How to create Shopify keys] step.&lt;br /&gt;
* Shopify API Key - Here you need the &#039;&#039;API key and secret key&#039;&#039; value.&lt;br /&gt;
* Shopify password - Here you need the &#039;&#039;Admin API access token&#039;&#039; value.&lt;br /&gt;
* Barion Secret key (POSKey) - You can find the POS Key of your Barion shop as described [https://docs.barion.com/Barion_for_Shopify#Filling_Barion_details_out here]&lt;br /&gt;
* Currency - Add the currency that will be used in your shop transactions. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Please bear in mind that the number of digits accepted may differ by currency. At the moment we accept two digits for CZK, EUR, USD and zero digits for HUF.|color=#FF7A3D}}&lt;br /&gt;
* Language - this will determine the language Barion Payment Gateway is shown the your clients&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3495</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3495"/>
		<updated>2022-07-15T12:46:29Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a Ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page.&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3494</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3494"/>
		<updated>2022-07-15T12:46:20Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */ add landing page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a Ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
Once logged in, you shall see the following landing page.&lt;br /&gt;
[[File:shopify.barion.com_-_main_page.png]]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=File:Shopify.barion.com_-_main_page.png&amp;diff=3493</id>
		<title>File:Shopify.barion.com - main page.png</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=File:Shopify.barion.com_-_main_page.png&amp;diff=3493"/>
		<updated>2022-07-15T12:45:02Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: This is the landing page once user logged in at shopify.barion.com&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
This is the landing page once user logged in at shopify.barion.com&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3492</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3492"/>
		<updated>2022-07-15T12:42:59Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Link your Shopify shop with Barion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=In order to be able to log in here, kindly open a Ticket at https://secure.barion.com/Remark and request that Barion API shall be accessed with username and password as well.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3491</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3491"/>
		<updated>2022-07-15T12:40:00Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: Add new onboarding step shopify.barion.com&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
== Link your Shopify shop with Barion ==&lt;br /&gt;
You need to create the link between Shopify and Barion at https://shopify.barion.com/login&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3490</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3490"/>
		<updated>2022-07-14T16:40:33Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding the integration code to Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3489</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3489"/>
		<updated>2022-07-14T16:40:23Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding the integration code to Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3488</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3488"/>
		<updated>2022-07-14T16:40:04Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding the integration code to Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3487</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3487"/>
		<updated>2022-07-14T16:39:04Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding the integration code to Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu and add the following code to the section &#039;&#039;Additional scripts&#039;&#039;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3486</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3486"/>
		<updated>2022-07-14T16:37:39Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Adding the integration code to Shopify Admin interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the Shopify Admin interface please go to &amp;quot;Settings&amp;quot; --&amp;gt; &amp;quot;Checkout&amp;quot; menu and add the following code to the section &amp;quot;Additional scripts&amp;quot;: &lt;br /&gt;
&amp;lt;br&amp;gt;(Here you should already have the text added during Pixel installation)&lt;br /&gt;
&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3485</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3485"/>
		<updated>2022-07-14T16:35:09Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* How to create Shopify keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed to configure your shop at https://shopify.barion.com/login |color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the Shopify Admin interface please go to &amp;quot;Settings&amp;quot; --&amp;gt; &amp;quot;Checkout&amp;quot; menu and add the following code to the section &amp;quot;Additional scripts&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3484</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3484"/>
		<updated>2022-07-14T16:34:26Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* How to create Shopify keys */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they will be needed!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the Shopify Admin interface please go to &amp;quot;Settings&amp;quot; --&amp;gt; &amp;quot;Checkout&amp;quot; menu and add the following code to the section &amp;quot;Additional scripts&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3483</id>
		<title>Barion for Shopify</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Barion_for_Shopify&amp;diff=3483"/>
		<updated>2022-07-14T16:34:08Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* How to create Shopify keys */  Adding NotificationBox&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Barion for Shopify=&lt;br /&gt;
&lt;br /&gt;
==New to Shopify? Upgrade your business with a fully functional webshop in no time==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Bring your business online: Create an e-commerce website backed by powerful tools that help you find customers, drive sales, and manage your day-to-day&lt;br /&gt;
&lt;br /&gt;
- Make the most out of your online business: Powerful tools already integrated into Shopify shops like insights, order management, and many integrated payment solutions&lt;br /&gt;
&lt;br /&gt;
- Online payment with Barion: Make the most out of your online business by providing online payment for customers. Barion Smart Gateway has you covered&lt;br /&gt;
&lt;br /&gt;
- Payments made international: Enjoy the benefits of Barion&#039;s many features. For example multiple languages and currencies, card payments, wire transfer payment, and mobile payments&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Have a Shopify shop? Downgrade your payment costs with Barion==&lt;br /&gt;
&lt;br /&gt;
- Join Barion and integrate our safe, secure and cost-effective solution with your shop in a few steps and start paying less fees.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Onboarding steps=&lt;br /&gt;
&lt;br /&gt;
=== Register » Create a Shop ===&lt;br /&gt;
&lt;br /&gt;
# [https://secure.barion.com/Registration/Organization?isEmailLocked=False Register a Barion account for your Business]&lt;br /&gt;
# [https://www.barion.com/en/help/business/open-and-manage-a-shop/how-can-i-create-a-barion-shop-does-this-require-any-approval/ Create a Shop]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion logo to your Shop&#039;s footer ====&lt;br /&gt;
&lt;br /&gt;
# [https://download.barion.com/barion/barion-smart-payment-banners.zip Get the Barion logo in multiple formats]&lt;br /&gt;
# [https://community.shopify.com/c/Shopify-Design/Adding-image-in-Supply-theme-Footer/td-p/352036 Insert them as image into your Shopify footer]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion Pixel to your Shop&#039;s header ====&lt;br /&gt;
&lt;br /&gt;
# [https://docs.barion.com/Getting_started_with_the_Barion_Pixel Getting started with the Pixel]&lt;br /&gt;
# [https://support.pixelunion.net/hc/en-us/articles/360047807193-Adding-app-code-to-the-head-tag-in-your-theme-liquid Adding code into your Shopify shop&#039;s theme]&lt;br /&gt;
# [https://docs.barion.com/Smar_Documentation Implement Full Pixel features with our Shopify-Pixel plugin]&lt;br /&gt;
&lt;br /&gt;
==== Add Barion to your General Terms and Conditions document ====&lt;br /&gt;
&lt;br /&gt;
# The General Terms and Conditions/Terms of Purchase has a section on paying by Barion bank card.&lt;br /&gt;
# Use the language of your website: [https://www.barion.com/en/help/business/open-and-manage-a-shop/why-are-appropriate-general-terms-and-conditionsterms-of-purchase-necessary-for-the-approval-of-the-shop/ English], [https://www.barion.com/hu/ugyfelszolgalat/elfogadohely/elfogadohely-letrehozasa-es-kezelese/miert-szukseges-megfelelo-aszfvasarlasi-feltetel-az-elfogadohely-jovahagyasahoz/ Hungarian], [https://www.barion.com/sk/podpora/firmy/prijimanie-peniazi-za-nakup--barion-obchod-integracia/pre%C4%8Do-su-potrebne-spravne-vop--podmienky-nakupu-na-schvalenie// Slovakian], [https://www.barion.com/cs/podpory/firmy/p%C5%99ijimani-pen%C4%9Bz-za-nakup-%E2%80%93-integrace-barion-shopu/pro%C4%8D-jsou-t%C5%99eba-spravne-vop--obchodni-podminky-nakupu-ke-schvaleni/ Czech], [https://www.barion.com/de/support/business/erstellen-und-verwalten-einer-akzeptanzstelle/warum-sind-angemessene-agbkaufbedingungen-fur-die-genehmigung-der-akzeptanzstelle-erforderlich/ German].&lt;br /&gt;
&lt;br /&gt;
== Connect your Shopify shop with Barion ==&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT| text=The shop in Barion system must be checked and approved for a live payment method.|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
=== How to create Shopify keys ===&lt;br /&gt;
In the Shopify admin interface please go to &amp;quot;Apps&amp;quot; and click to &amp;quot;Develop apps&amp;quot; option:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_007.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Create an app&amp;quot; button:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Define a name and an e-mail address you wish to use:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Go to your private app and click on &amp;quot;Configure Admin Api Scopes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_008.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Enable the option of &amp;quot;write_orders&amp;quot; and &amp;quot;read_orders&amp;quot; under Orders:&lt;br /&gt;
&lt;br /&gt;
[[File:Create_private_app_003.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
When the private app has been created successfully the Shopify API key and Shopify Password on the interface of Barion. &lt;br /&gt;
# Shopify API key is provided in the API credentials tab, under API key and secret block. &lt;br /&gt;
# Shopify Password must be revealed first, then provided as Shopify Password. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Mark down both codes as they both will be needed!|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
[[File:Shopify_key_and_password.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Filling Barion details out ===&lt;br /&gt;
&lt;br /&gt;
To get your Barion Shop&#039;s Secret key (POSKey), go to [https://secure.barion.com/Shop your Barion shops] click on the &amp;quot;Actions&amp;quot; and Details to find your key. Copy it to the Shopify plugins Settings page, set there the primary currency and the shops language and hit &#039;&#039;&#039;Save&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Barion_shop_poskey_2.png]]&lt;br /&gt;
&lt;br /&gt;
=== Adding the integration code to Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On the Shopify Admin interface please go to &amp;quot;Settings&amp;quot; --&amp;gt; &amp;quot;Checkout&amp;quot; menu and add the following code to the section &amp;quot;Additional scripts&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[File:Add_js_code_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The steps until now is the same for test shops, and for production shops, but this code snippet is different.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TEST&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.test.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;,&lt;br /&gt;
sandboxMode: true&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PRODUCTION&#039;&#039;&#039; script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;script src=&amp;quot;https://shopify.barion.com/js/barion/barion.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;Barion.init({&lt;br /&gt;
orderId: {{ order.id }},&lt;br /&gt;
domain: &#039;{{shop.permanent_domain}}&#039;,&lt;br /&gt;
gateway: &#039;{{order.gateway}}&#039;,&lt;br /&gt;
orderStatus: &#039;{{order.financial_status}}&#039;&lt;br /&gt;
})&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Adding a payment method on Shopify Admin interface ===&lt;br /&gt;
&lt;br /&gt;
On Shopify Admin interface go to &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Payments&amp;quot; and &amp;quot;Manual payment methods&amp;quot;. Click to &amp;quot;Manual payment methods&amp;quot; then choose &amp;quot;Create custom payment methods&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_001.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
Provide the following details:&lt;br /&gt;
&lt;br /&gt;
- Custom payment method name: &#039;&#039;&#039;Barion Payments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
- Additional details: after making an order you will be directed to the billing interface of Barion.&lt;br /&gt;
&lt;br /&gt;
After you have provided everything, click to &amp;quot;Active&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:Create_manual_payment_002.png|1000px]]&lt;br /&gt;
&lt;br /&gt;
=== Get verified » Integrate Barion for Shopify ===&lt;br /&gt;
&lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/ Get verified], &lt;br /&gt;
# [https://www.barion.com/en/help/business/raise-the-limits-of-your-business-account/required-documents-for-video-identification/ The documents you need]&lt;br /&gt;
&lt;br /&gt;
= TROUBLESHOOTING =&lt;br /&gt;
&lt;br /&gt;
== Error messages and actions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The store is closed in the Barion system, payment is not allowed.&#039;&#039;&#039;&lt;br /&gt;
In this case your Barion Shop is not &#039;&#039;&#039;approved&#039;&#039;&#039; yet. If the POSKey you used is for the right shop, you have to wait until it is approved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Application not installed&#039;&#039;&#039;&lt;br /&gt;
# The javascript code you pasted from here to the Shopify Checkout settings / Additional scripts field is most likely wrong. Keep in mind that the script is a bit different for the test/sandbox and for production.&lt;br /&gt;
# Order API rights were not set to read/write for the private app&lt;br /&gt;
# The plugin (shopify.barion.com) is set to a different domain than the shop itself (has to match the domain that is visible on the checkout page).&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Smar_Documentation&amp;diff=3482</id>
		<title>Smar Documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Smar_Documentation&amp;diff=3482"/>
		<updated>2022-07-14T15:29:29Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Third step: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Documentation of smar.js}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:2em;&amp;quot; align=&amp;quot;right&amp;quot;&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
Smar.js is an add-on library, that helps implementing the Full Barion Pixel for Shopify webshop owners.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
All pages (including the order summary) need to include the following libraries:&lt;br /&gt;
* jQuery 1.1+&lt;br /&gt;
* bp.js&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
===First step===&lt;br /&gt;
Paste the following snippet somewhere between the opening and closing head tag in theme.liquid file. Click Layout &amp;gt; theme.liquid to edit the head section. Don&#039;t forget insert the base code here too: https://docs.barion.com/Implementing_the_Base_Barion_Pixel.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Smar.js snippet&#039;&#039;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;script src=&amp;quot;https://pixel.barion.com/smar.js&amp;quot; id=&amp;quot;barion_smar&amp;quot; async=&amp;quot;true&amp;quot; grantconsent=&amp;quot;&amp;lt;accept button selector&amp;gt;&amp;quot; rejectconsent=&amp;quot;&amp;lt;reject button selector&amp;gt;&amp;quot; add2cart=&amp;quot;&amp;lt;add to cart button selector&amp;gt;&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important! The &#039;&#039;&amp;lt;accept button selector&amp;gt;&#039;&#039;, &#039;&#039;&amp;lt;reject button selector&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;add to cart button selector&amp;gt;&#039;&#039; should be replaced in the snippet above according to the instruction of the third step.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;theme.liquid&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Shopify_theme.liquid.PNG|300px]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Inserting bp.js and smar.js from above to the textarea effect all the pages (excluding the checkout) will have the Barion Pixel and the Smar javascript snippets.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
===Second step===&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu. Scroll to the bottom where you find the &#039;&#039;Order status page&#039;&#039;. Insert the bp.js and smar.js again in the textarea of &#039;&#039;Additional scripts&#039;&#039; section. Copy and paste the bp.js and smar.js code snippet to the checkout page too. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Make sure to replace the placeholder for BarionPixel Id with the Barion Pixel Id of your shop!|color=#FF7A3D}} &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Checkout additinonal scripts&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Shopify_theme.liguid2.png|500px]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Third step===&lt;br /&gt;
Write the selectors for the buttons to the attributes respectively in both checkout additional script section and theme.liquid file.&lt;br /&gt;
* &#039;&#039;grantconsent&#039;&#039;: The selector of the element on which the user clicks a &#039;&#039;grantConsent&#039;&#039; event should be sent&lt;br /&gt;
* &#039;&#039;rejectconsent&#039;&#039;: The selector of the element on which the user clicks a &#039;&#039;rejectConsent&#039;&#039; event should be sent. If rejectConsent event is not applicable in your site, then let it be: rejectConsent=&amp;quot;&amp;quot;&lt;br /&gt;
* &#039;&#039;add2cart&#039;&#039;: The selector of the element on which the user clicks an &#039;&#039;addToCart&#039;&#039; event should be sent. This attribute is optional.&lt;br /&gt;
As the smar.js library relies on jQuery, all the selector or selectors can be used here. More information on selectors can be found here: [https://api.jquery.com/category/selectors/ jQuery selectors]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
Here is an example of the embedding code:&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;script src=&amp;quot;https://pixel.barion.com/smar.js&amp;quot; async=&amp;quot;true&amp;quot; id=&amp;quot;barion_smar&amp;quot; grantconsent=&amp;quot;button.cc-allow&amp;quot; rejectconsent=&amp;quot;button.cc-dismiss&amp;quot; add2cart=&amp;quot;.add-to-cart, button#add-to-cart&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The selectors can be checked with the help of Google Chrome console (Ctrl + Shift + I on Windows), then click on the arrow icon in the top left corner, then click on the button as shown on the screenshot below. In the selected line, copy a unique label from the class attribute of the button tag to the appropriate attribute of the embedding script tag.&lt;br /&gt;
&lt;br /&gt;
[[File:Smar_screenshot.png|600px]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;grantConsent&#039;&#039; event listener is attached to a button with &#039;&#039;cc-allow&#039;&#039; class:&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;button class=&amp;quot;cc-btn cc-allow&amp;quot;&amp;gt;Accept&amp;lt;/button&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The &#039;&#039;addToCart&#039;&#039; event listener is attached to any element with add-to-cart class and a button with &#039;&#039;add-to-cart&#039;&#039; id (if the &#039;&#039;add to cart&#039;&#039; button redirects to the /cart page, then this attribute can be omitted.). &lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;add-to-cart&amp;quot;&amp;gt;Add to cart&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;button id=&amp;quot;add-to-cart&amp;quot;&amp;gt;Add to cart&amp;lt;/button&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Events ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Event&lt;br /&gt;
! Description&lt;br /&gt;
! Identifiers&lt;br /&gt;
|-&lt;br /&gt;
! grantConsent&lt;br /&gt;
| Customer grants access to storing marketing cookies&lt;br /&gt;
| &amp;lt;p&amp;gt;Fill the &#039;&#039;grantconsent&#039;&#039; attribute with the appropriate selector&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;A &#039;&#039;grantconsent&#039;&#039; is also sent, when the user clicks on a button with &#039;&#039;.cc-btn-accept-all&#039;&#039; class&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;A &#039;&#039;grantconsent&#039;&#039; is also sent, if the checkbox with &#039;&#039;#marketing-cookies-checkbox&#039;&#039; is checked&amp;lt;/p&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! rejectConsent&lt;br /&gt;
| Customer rejects access to storing marketing cookies&lt;br /&gt;
| &amp;lt;p&amp;gt;Fill the &#039;&#039;rejectconsent&#039;&#039; attribute with the appropriate selector&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;A &#039;&#039;rejectConsent&#039;&#039; is also sent, if the checkbox with &#039;&#039;#marketing-cookies-checkbox&#039;&#039; is unchecked&amp;lt;/p&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! contentView&lt;br /&gt;
| Product page&lt;br /&gt;
| Automatic&lt;br /&gt;
|-&lt;br /&gt;
! categorySelection&lt;br /&gt;
| Category page&lt;br /&gt;
| Automatic&lt;br /&gt;
|-&lt;br /&gt;
! addToCart&lt;br /&gt;
| Add product(s) to cart&lt;br /&gt;
| &amp;lt;p&amp;gt;If clicking the &#039;&#039;add to cart&#039;&#039; button redirects to the &#039;&#039;/cart&#039;&#039; page, then it is automatic&amp;lt;/p&amp;gt; or &amp;lt;p&amp;gt;Fill the &#039;&#039;add2cart&#039;&#039; attribute with the appropriate selector&amp;lt;/p&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! removeFromCart&lt;br /&gt;
| Remove product(s) from cart&lt;br /&gt;
| Automatic&lt;br /&gt;
|-&lt;br /&gt;
! initiateCheckout&lt;br /&gt;
| Does not send&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! initiatePurchase&lt;br /&gt;
| Does not send&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! purchase&lt;br /&gt;
| Customer reaches the thank you page after ordering&lt;br /&gt;
| Automatic&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
After inserting the embedding snippet to the source of the webpage, hit the refresh button. The following message should appear in the console: &#039;&#039;Smar.js (v&amp;lt;current version&amp;gt;)&#039;&#039; loaded.&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=Smar_Documentation&amp;diff=3481</id>
		<title>Smar Documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=Smar_Documentation&amp;diff=3481"/>
		<updated>2022-07-14T15:29:14Z</updated>

		<summary type="html">&lt;p&gt;Horinkaa: /* Installation */ tear down installation process into more distinguishable steps&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Documentation of smar.js}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:2em;&amp;quot; align=&amp;quot;right&amp;quot;&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
Smar.js is an add-on library, that helps implementing the Full Barion Pixel for Shopify webshop owners.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
All pages (including the order summary) need to include the following libraries:&lt;br /&gt;
* jQuery 1.1+&lt;br /&gt;
* bp.js&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
===First step===&lt;br /&gt;
Paste the following snippet somewhere between the opening and closing head tag in theme.liquid file. Click Layout &amp;gt; theme.liquid to edit the head section. Don&#039;t forget insert the base code here too: https://docs.barion.com/Implementing_the_Base_Barion_Pixel.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Smar.js snippet&#039;&#039;&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;script src=&amp;quot;https://pixel.barion.com/smar.js&amp;quot; id=&amp;quot;barion_smar&amp;quot; async=&amp;quot;true&amp;quot; grantconsent=&amp;quot;&amp;lt;accept button selector&amp;gt;&amp;quot; rejectconsent=&amp;quot;&amp;lt;reject button selector&amp;gt;&amp;quot; add2cart=&amp;quot;&amp;lt;add to cart button selector&amp;gt;&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important! The &#039;&#039;&amp;lt;accept button selector&amp;gt;&#039;&#039;, &#039;&#039;&amp;lt;reject button selector&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;add to cart button selector&amp;gt;&#039;&#039; should be replaced in the snippet above according to the instruction of the third step.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;theme.liquid&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Shopify_theme.liquid.PNG|300px]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Inserting bp.js and smar.js from above to the textarea effect all the pages (excluding the checkout) will have the Barion Pixel and the Smar javascript snippets.&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
===Second step===&lt;br /&gt;
On the main admin page click &#039;&#039;Settings&#039;&#039; at the bottom of the left side menu, then select &#039;&#039;Checkout&#039;&#039; from the left side menu. Scroll to the bottom where you find the &#039;&#039;Order status page&#039;&#039;. Insert the bp.js and smar.js again in the textarea of &#039;&#039;Additional scripts&#039;&#039; section. Copy and paste the bp.js and smar.js code snippet to the checkout page too. &lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=Make sure to replace the placeholder for BarionPixel Id with the Barion Pixel Id of your shop!|color=#FF7A3D}} &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Checkout additinonal scripts&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Shopify_theme.liguid2.png|500px]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Third step:===&lt;br /&gt;
Write the selectors for the buttons to the attributes respectively in both checkout additional script section and theme.liquid file.&lt;br /&gt;
* &#039;&#039;grantconsent&#039;&#039;: The selector of the element on which the user clicks a &#039;&#039;grantConsent&#039;&#039; event should be sent&lt;br /&gt;
* &#039;&#039;rejectconsent&#039;&#039;: The selector of the element on which the user clicks a &#039;&#039;rejectConsent&#039;&#039; event should be sent. If rejectConsent event is not applicable in your site, then let it be: rejectConsent=&amp;quot;&amp;quot;&lt;br /&gt;
* &#039;&#039;add2cart&#039;&#039;: The selector of the element on which the user clicks an &#039;&#039;addToCart&#039;&#039; event should be sent. This attribute is optional.&lt;br /&gt;
As the smar.js library relies on jQuery, all the selector or selectors can be used here. More information on selectors can be found here: [https://api.jquery.com/category/selectors/ jQuery selectors]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
Here is an example of the embedding code:&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;script src=&amp;quot;https://pixel.barion.com/smar.js&amp;quot; async=&amp;quot;true&amp;quot; id=&amp;quot;barion_smar&amp;quot; grantconsent=&amp;quot;button.cc-allow&amp;quot; rejectconsent=&amp;quot;button.cc-dismiss&amp;quot; add2cart=&amp;quot;.add-to-cart, button#add-to-cart&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The selectors can be checked with the help of Google Chrome console (Ctrl + Shift + I on Windows), then click on the arrow icon in the top left corner, then click on the button as shown on the screenshot below. In the selected line, copy a unique label from the class attribute of the button tag to the appropriate attribute of the embedding script tag.&lt;br /&gt;
&lt;br /&gt;
[[File:Smar_screenshot.png|600px]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;grantConsent&#039;&#039; event listener is attached to a button with &#039;&#039;cc-allow&#039;&#039; class:&lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;button class=&amp;quot;cc-btn cc-allow&amp;quot;&amp;gt;Accept&amp;lt;/button&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The &#039;&#039;addToCart&#039;&#039; event listener is attached to any element with add-to-cart class and a button with &#039;&#039;add-to-cart&#039;&#039; id (if the &#039;&#039;add to cart&#039;&#039; button redirects to the /cart page, then this attribute can be omitted.). &lt;br /&gt;
    &amp;lt;nowiki&amp;gt;&amp;lt;span class=&amp;quot;add-to-cart&amp;quot;&amp;gt;Add to cart&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;button id=&amp;quot;add-to-cart&amp;quot;&amp;gt;Add to cart&amp;lt;/button&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Events ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Event&lt;br /&gt;
! Description&lt;br /&gt;
! Identifiers&lt;br /&gt;
|-&lt;br /&gt;
! grantConsent&lt;br /&gt;
| Customer grants access to storing marketing cookies&lt;br /&gt;
| &amp;lt;p&amp;gt;Fill the &#039;&#039;grantconsent&#039;&#039; attribute with the appropriate selector&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;A &#039;&#039;grantconsent&#039;&#039; is also sent, when the user clicks on a button with &#039;&#039;.cc-btn-accept-all&#039;&#039; class&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;A &#039;&#039;grantconsent&#039;&#039; is also sent, if the checkbox with &#039;&#039;#marketing-cookies-checkbox&#039;&#039; is checked&amp;lt;/p&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! rejectConsent&lt;br /&gt;
| Customer rejects access to storing marketing cookies&lt;br /&gt;
| &amp;lt;p&amp;gt;Fill the &#039;&#039;rejectconsent&#039;&#039; attribute with the appropriate selector&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;A &#039;&#039;rejectConsent&#039;&#039; is also sent, if the checkbox with &#039;&#039;#marketing-cookies-checkbox&#039;&#039; is unchecked&amp;lt;/p&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! contentView&lt;br /&gt;
| Product page&lt;br /&gt;
| Automatic&lt;br /&gt;
|-&lt;br /&gt;
! categorySelection&lt;br /&gt;
| Category page&lt;br /&gt;
| Automatic&lt;br /&gt;
|-&lt;br /&gt;
! addToCart&lt;br /&gt;
| Add product(s) to cart&lt;br /&gt;
| &amp;lt;p&amp;gt;If clicking the &#039;&#039;add to cart&#039;&#039; button redirects to the &#039;&#039;/cart&#039;&#039; page, then it is automatic&amp;lt;/p&amp;gt; or &amp;lt;p&amp;gt;Fill the &#039;&#039;add2cart&#039;&#039; attribute with the appropriate selector&amp;lt;/p&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! removeFromCart&lt;br /&gt;
| Remove product(s) from cart&lt;br /&gt;
| Automatic&lt;br /&gt;
|-&lt;br /&gt;
! initiateCheckout&lt;br /&gt;
| Does not send&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! initiatePurchase&lt;br /&gt;
| Does not send&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! purchase&lt;br /&gt;
| Customer reaches the thank you page after ordering&lt;br /&gt;
| Automatic&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
After inserting the embedding snippet to the source of the webpage, hit the refresh button. The following message should appear in the console: &#039;&#039;Smar.js (v&amp;lt;current version&amp;gt;)&#039;&#039; loaded.&lt;/div&gt;</summary>
		<author><name>Horinkaa</name></author>
	</entry>
</feed>