barion 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +20 -0
- data/lib/barion/engine.rb +0 -4
- data/lib/barion/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d23899cd1faa26a462818468992333505e31cd8e527d66ade714702290b2e3a7
|
4
|
+
data.tar.gz: df04e95e6e1f285378797a7306db42e552dd141d670fa20ccd60a75a7c446002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e2f44b1383f74650297f1aff71d07c5e97250ac46ceec969e1ce5f82fec035b22db528135415d7a738c5daf3207f314f001b523e486d7e1e14b3923c2a9183
|
7
|
+
data.tar.gz: 25ab29e074d382de0dcd7d1f6e26db12393925551a9e8728f9a231b377429c731d2e0eb018c141fd6340a2ef41179f07ada1b6fda0bc3a9cf74759e9b3cfd845
|
data/README.md
CHANGED
@@ -61,6 +61,26 @@ You have to open the shop Details from the `Action` dropdown of your shop. Pleas
|
|
61
61
|
[Implementing the Base Barion Pixel](https://docs.barion.com/Implementing_the_Base_Barion_Pixel)
|
62
62
|
|
63
63
|
Your Barion Pixel ID can be found in the Details page of your Barion shop. Every webshop (with a unique POSKey) has a different Barion Pixel ID. You can find your Barion Pixel ID in your Barion wallet: click `Manage my shops` menu, `Actions` next to your shop and then `Details`.
|
64
|
+
This gem provides helpers to inject base Barion Pixel implementation into your layout as below:
|
65
|
+
|
66
|
+
```html
|
67
|
+
<html>
|
68
|
+
<head>
|
69
|
+
...
|
70
|
+
<!-- Adds JS implementation with Pixel ID -->
|
71
|
+
<%= pixel_pixel_basic_js %>
|
72
|
+
|
73
|
+
<!-- Adds no script supported implementation with Pixel ID -->
|
74
|
+
<%= pixel_basic_noscript %>
|
75
|
+
|
76
|
+
<!-- Combines the above two together -->
|
77
|
+
<%= pixel_basic_tags %>
|
78
|
+
</head>
|
79
|
+
<body>
|
80
|
+
...
|
81
|
+
</body>
|
82
|
+
</html>
|
83
|
+
```
|
64
84
|
|
65
85
|
#### Sandbox (default: true)
|
66
86
|
|
data/lib/barion/engine.rb
CHANGED
data/lib/barion/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Péter Nagy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
|
-
rubygems_version: 3.5.
|
107
|
+
rubygems_version: 3.5.11
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
110
|
summary: Barion payment engine for Ruby on Rails
|