spree-paypal_merchant 6.0.3 → 6.0.4

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: 628bafaed312453b5971e9fa948b04974c7befe223923a432dd981562eb1d3db
4
- data.tar.gz: 808222f11a91d8f2f835162d9ce64b3782c95de2acc11c0d06621b70ac44a91d
3
+ metadata.gz: f40d1d9baf5a7d4b551e4d8bb0ce1c81772fb34a40dce2a7266f78374330e8a1
4
+ data.tar.gz: f4cc3f2a011c1fe9b44288b93f1bc08cbc4b3b80f30a6ed73cf09c771dda755d
5
5
  SHA512:
6
- metadata.gz: 1833821671186a5de1ffa8b1a8df6c0099bb09c20e27c5ac843511c11325a1db3efbb612e4d1b2a802b83bf3236fd4e83590a01299d57caa4f4a19f8bc10e42a
7
- data.tar.gz: f922a3aa04ccd11e9fbb1c77dd649038fad83c8790106d539c12bdb5c8718feb6b2c03d0dedaa4696a78fd6fa9ad322ae67587dd13252a0e956b21ba0481fb55
6
+ metadata.gz: 16dc581cbaa958a04c488e5f663e97671dfaf1186f74c3487bb7ec317e7c196231b253201f3d30bc471b418d87f16796b3f0e39eb3a44d7653bf2a2c7df7385c
7
+ data.tar.gz: fcd3b28716cee74a36718974d6faf7a15631c22884f77bfde74ef76a638b5d5056251fb6747b727a030ce4cfaed01ee98664e707a4346cfe82a47daf465e014d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.0.4
4
+
5
+ ### Added
6
+
7
+ - A setup guide for store staff, `docs/setup.md`: creating the PayPal app,
8
+ working out the webhook address, which events to subscribe, where the
9
+ Webhook ID goes, testing in the sandbox, and troubleshooting. The PayPal
10
+ card's **Setup guide** link under Settings → Integrations now opens it
11
+ instead of the README.
12
+ - `Gateway.description`, one line on what the provider does. The dashboard
13
+ shows it on the PayPal card before PayPal is connected, and in the "add
14
+ payment method" picker. A connected method's card still shows that record's
15
+ own Description, which storefronts may show to buyers.
16
+
3
17
  ## 6.0.3
4
18
 
5
19
  ### Added
data/README.md CHANGED
@@ -60,7 +60,10 @@ bin/rails g spree:paypal_merchant:install
60
60
  The generator copies the migrations. Pass `--auto-run-migrations` to skip the
61
61
  prompt.
62
62
 
63
- Then add a **PayPal** payment method in the admin dashboard and set:
63
+ Then connect PayPal in the dashboard under **Settings → Integrations**. The
64
+ **[setup guide](docs/setup.md)** walks store staff through it: the PayPal app,
65
+ the webhook address and events, and testing in the sandbox. The card's
66
+ **Setup guide** link opens it too. The preferences it sets:
64
67
 
65
68
  | Preference | Purpose |
66
69
  |---|---|
@@ -135,12 +135,25 @@ module Spree
135
135
  end
136
136
 
137
137
  ##
138
- # The setup guide the card links to.
138
+ # The setup guide the card links to: connecting the PayPal app and its
139
+ # webhook, written for store staff.
139
140
  #
140
141
  # @return [String]
141
142
  #
142
143
  def self.docs_url
143
- 'https://github.com/aypex-io/spree-paypal_merchant#readme'
144
+ 'https://github.com/aypex-io/spree-paypal_merchant/blob/main/docs/setup.md'
145
+ end
146
+
147
+ ##
148
+ # One line on what the provider does, shown on its card under
149
+ # Settings -> Integrations before it is connected, and in the "add payment
150
+ # method" picker. A connected method's card shows that record's own
151
+ # description instead, which storefronts may show to buyers.
152
+ #
153
+ # @return [String]
154
+ #
155
+ def self.description
156
+ 'Take payments with PayPal, credit and debit cards, and Apple Pay through your PayPal business account.'
144
157
  end
145
158
 
146
159
  ##
@@ -4,6 +4,6 @@ module Spree
4
4
  module PaypalMerchant
5
5
  # Major version tracks Spree's major version: 6.x supports Spree 6.
6
6
  # 5.2.x supports Spree 5.6 and lives on the `5-2-stable` branch.
7
- VERSION = '6.0.3'
7
+ VERSION = '6.0.4'
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree-paypal_merchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 6.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aypex