buckaruby 2.1.0 → 2.1.1
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/lib/buckaruby/transaction_type.rb +4 -4
- data/lib/buckaruby/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 999b6cb27ab479a14f6f11fe0cce0692cc7b9f73026e46c61ff9e061acfab71d
|
4
|
+
data.tar.gz: f571d647ee4166f6f5eb1abcfa806dd3807d6790b8823d564807d3c013f963ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376b94f44ac00d239b2da91b36e1a8de4642e0a6f46e4ed891d9609423166908ad320d7354a436412b3b1569bcada08e1809abedb57f9e83e8e4105ab29201e9
|
7
|
+
data.tar.gz: 81d9650be0ab685f877e73ac5856f546cb5617461218ec4212ad9d72ddc8bf665c717b3db7961ad5435b60533ebb5e613e39fd3212e8fdf73a68acf900dbdaba
|
@@ -10,7 +10,7 @@ module Buckaruby
|
|
10
10
|
|
11
11
|
module_function
|
12
12
|
|
13
|
-
# See https://docs.buckaroo.io/
|
13
|
+
# See https://docs.buckaroo.io/docs/integration-transaction-type-overview
|
14
14
|
def parse(brq_transaction_type, brq_recurring)
|
15
15
|
if brq_transaction_type && !brq_transaction_type.empty?
|
16
16
|
case brq_transaction_type
|
@@ -37,7 +37,7 @@ module Buckaruby
|
|
37
37
|
'C812', 'C872', 'C972', 'V034', 'V040', 'V046',
|
38
38
|
'V094', 'V245', 'V288', 'V308', 'V333', 'V705', # Maestro
|
39
39
|
|
40
|
-
'V003', 'V030', 'V036', 'V042'
|
40
|
+
'V003', 'V030', 'V036', 'V042', 'C990' # American Express
|
41
41
|
|
42
42
|
# Check the recurring flag to detect a normal or recurring transaction.
|
43
43
|
if brq_recurring&.casecmp('true')&.zero?
|
@@ -67,7 +67,7 @@ module Buckaruby
|
|
67
67
|
'C873', 'C970', 'V070', 'V076', 'V082', 'V246',
|
68
68
|
'V286', 'V305', 'V330', 'V703', # Maestro
|
69
69
|
|
70
|
-
'V066', 'V072', 'V078', 'V103'
|
70
|
+
'V066', 'V072', 'V078', 'V103', 'C992' # American Express
|
71
71
|
TransactionType::REFUND
|
72
72
|
when 'C501', 'C502', 'C562', # (SEPA) Direct Debit
|
73
73
|
'V111', # PayPal
|
@@ -82,7 +82,7 @@ module Buckaruby
|
|
82
82
|
'C546', 'C551', 'C814', 'C874', 'V134', 'V140',
|
83
83
|
'V146', 'V545', 'V546', # Maestro
|
84
84
|
|
85
|
-
'V130', 'V136', 'V142'
|
85
|
+
'V130', 'V136', 'V142', 'C993' # American Express
|
86
86
|
TransactionType::REVERSAL
|
87
87
|
end
|
88
88
|
else
|
data/lib/buckaruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buckaruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kentaa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -136,14 +136,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
136
|
requirements:
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: 3.0.0
|
140
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
146
|
+
rubygems_version: 3.5.3
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Ruby library for communicating with the Buckaroo Payment Engine 3.0.
|