spree_vpago 2.1.0.pre.beta → 2.1.0.pre.beta2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac9ebb30360bdac410477eba475204db0657f2d0c889ba118f6e10521f62ce68
4
- data.tar.gz: 70fdd4cddec94d4fc8b8d612eff5c37b13876147fb0b92a4f65d4a2768826ed1
3
+ metadata.gz: 7762fd00c3971c15bad786f57f1d4a48016a52729af279889fca137d51c16295
4
+ data.tar.gz: 135a13d3bd1d09c795db6ea4e822be884de017f91ae3ff605e194df85876ff41
5
5
  SHA512:
6
- metadata.gz: 9b2dc5d7933fe620a71b3547d732e36fd2123c4f026dae2c36017c4069bcb7b1d4f9b93ee6cd01ddf3af8bc61d3dd2249349809f560e10c3609bce299275a17e
7
- data.tar.gz: cab46dc87d5a1bea1066fbee5a8c9c70802e944219af02d2df6d7f4adc27fb734d075536fefeeb68824cf576070f9e599d4ea0ec63e63d838b33ba0672ec6924
6
+ metadata.gz: 45befd6607d1f43c22b894e7e21ca366b569f67931bfb8381d755004f6afe9cf0ca78a2e64082db2166934c8dbfaaf23bd4bf85f2e5a29f3e6b433051bf2406c
7
+ data.tar.gz: 84ab1a6c957344ebbb03a9ad8a7f4fc155f80555e5d303da67b6e65da5383076c2d301c50e1f7e689246656544c9088badf95e3db38a529b675e0892e6c75056
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spree_vpago (2.1.0.pre.beta)
4
+ spree_vpago (2.1.0.pre.beta2)
5
5
  faraday
6
6
  google-cloud-firestore
7
7
  spree_api (>= 4.5)
@@ -0,0 +1,7 @@
1
+ <%
2
+ # create payment on the backend
3
+ # we don't allow payment to be created by the backend
4
+
5
+ %>
6
+
7
+
@@ -1,7 +1,7 @@
1
1
  module SpreeVpago
2
2
  module_function
3
3
 
4
- VERSION = '2.1.0-beta'.freeze
4
+ VERSION = '2.1.0-beta2'.freeze
5
5
 
6
6
  def version
7
7
  Gem::Version.new VERSION
@@ -40,11 +40,14 @@ module Vpago
40
40
  end
41
41
 
42
42
  def merchant_auth
43
- {
43
+ merchant_auth = {
44
44
  'mc_id' => merchant_id,
45
45
  'tran_id' => transaction_id,
46
46
  'complete_amount' => amount.to_s
47
- }.to_json
47
+ }
48
+
49
+ merchant_auth['payout'] = payout unless payout.nil?
50
+ merchant_auth.to_json
48
51
  end
49
52
 
50
53
  def merchant_auth_encryption
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_vpago
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.pre.beta
4
+ version: 2.1.0.pre.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - You
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-04 00:00:00.000000000 Z
11
+ date: 2025-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -260,6 +260,8 @@ files:
260
260
  - app/views/spree/acleda_redirects/show.html.erb
261
261
  - app/views/spree/admin/payments/source_forms/_payment_payway.html.erb
262
262
  - app/views/spree/admin/payments/source_forms/_payway_v2.html.erb
263
+ - app/views/spree/admin/payments/source_forms/_true_money.html.erb
264
+ - app/views/spree/admin/payments/source_forms/_vattanac_mini_app.html.erb
263
265
  - app/views/spree/admin/payments/source_views/_acleda.html.erb
264
266
  - app/views/spree/admin/payments/source_views/_acleda_mobile.html.erb
265
267
  - app/views/spree/admin/payments/source_views/_payment_payway.html.erb