openreceive-server 0.4.5 → 0.4.6

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: 7e257329d76d96f9ca09bc133fa231563a61c6beedce0aaedef266ae2f00a09f
4
- data.tar.gz: 4842001e2e42d242a3c3ffdf47ce569831df63c5543d79ba1f49eaab76f21d61
3
+ metadata.gz: e2a6f6628a84d20dca3757b9017ba6e40c0fac41e016257e988173533be5d650
4
+ data.tar.gz: 5d9fd1babd45564b31274141c2af4875a339cb21d7fef33997442e6b39b1ee44
5
5
  SHA512:
6
- metadata.gz: af97510aae69684a50cc170c5f9d9ab07b94fed9ada6b3af136f088fa44ec05a8611f8f59a50ea5a18e3d59d20d531f94c0263da92f463b2c0a2f8101d68f289
7
- data.tar.gz: fbf53b4d0313aecca1bf2738b3e05b8c4973ad869e7c825993162e62fa70af369c9e2e6fd0de288ed62bcd97b1fc7f3b3fbf52d13081a89af4515df778a5882e
6
+ metadata.gz: da0988ee975768e373de725c7417c821df8c46d159186e0993ee3b3273f658c54622e21410c7b46baf6b65892155d9c8b29e7343145b83bffc6580a7e453cd42
7
+ data.tar.gz: fb1518e4924dfb4dab17b32178f056ac78a80d849ca6d4e97502da653189e2411e3115167dd14669c7c1800195c31f2d1ffa04f4abb9d2982773d7c662bc31f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.6 - 2026-09-11
4
+
5
+ Refresh installation and quickstart documentation and package metadata.
6
+ Release in lockstep with openreceive 0.4.6, including the live-price request fix
7
+ that removes obsolete VEF. No server adapter API change.
8
+
3
9
  ## 0.4.5 - 2026-09-07
4
10
 
5
11
  Release in lockstep with the Python/PHP publishing workflow fixes and complete
data/README.md CHANGED
@@ -1,6 +1,41 @@
1
1
  # openreceive-server
2
2
 
3
- Storage-free Ruby service and Rack handler. Configure a receive-only NWC client. The host
3
+ **Accept Bitcoin Lightning payments in Ruby and Rack. Your app, your wallet.**
4
+
5
+ [OpenReceive](https://openreceive.org) brings Lightning checkout to your existing
6
+ Ruby application. Receive payments directly into a wallet you control, while
7
+ keeping your orders, prices, and fulfillment in your own code.
8
+
9
+ OpenReceive supports optional swaps from **USDT, USDC, SOL, and ETH** through
10
+ a configured swap provider. The provider converts the payment to **BTC over
11
+ Lightning**, which settles into the merchant's connected wallet. Available
12
+ assets and networks depend on the provider; swaps are optional.
13
+
14
+ - Create invoices and check payments through a receive-only Nostr Wallet
15
+ Connect (NWC) client.
16
+ - Use the payment service directly or mount the framework-agnostic Rack handler.
17
+ - Reconcile pending payments with shared settlement rules and exact money math.
18
+ - Keep your existing persistence stack, with no separate OpenReceive service
19
+ or database to deploy.
20
+
21
+ **Building with Rails?** Start with
22
+ [`openreceive-rails`](https://github.com/OpenReceive/openreceive/blob/master/packages/ruby/openreceive-rails/README.md): it adds payment storage,
23
+ reconciliation, and an install generator on top of this gem.
24
+
25
+ ## Install
26
+
27
+ Requires Ruby 3.2 or later. Add to your Gemfile and run `bundle install`:
28
+
29
+ ```ruby
30
+ gem "openreceive-server"
31
+ ```
32
+
33
+ For a custom integration, provide your NWC client, payment repository, and
34
+ application hooks. The service itself has no persistence dependency.
35
+
36
+ ## Connect your application
37
+
38
+ Configure a receive-only NWC client. The host
4
39
  authorizes requests, resolves order amounts, commits payment hashes before responding, and
5
40
  consumes at-least-once verified payment events by hash. The service refuses to start when the
6
41
  NWC connection advertises spend methods (`pay_invoice`, `multi_pay_invoice`,
@@ -46,3 +81,12 @@ they store to `service.reconcile_payments({ attempts:, max_pages:, deadline: })`
46
81
  and apply the per-hash results through `on_paid` — `RackApp` deliberately has
47
82
  no built-in hook, and the durable-gate convenience (`OpenReceive.maybe_reconcile!`)
48
83
  ships only with the Rails engine.
84
+
85
+ ## Links
86
+
87
+ - API reference: [Ruby and Rails APIs](https://github.com/OpenReceive/openreceive/blob/master/docs/guides/api-reference.md)
88
+ - Rails quickstart: [Use the engine with built-in persistence](https://github.com/OpenReceive/openreceive/blob/master/docs/guides/quickstart-rails.md)
89
+ - Source and issues: <https://github.com/openreceive/openreceive>
90
+ - Changelog: [CHANGELOG.md](CHANGELOG.md)
91
+
92
+ MIT license.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OpenReceive
4
4
  module Server
5
- VERSION = "0.4.5"
5
+ VERSION = "0.4.6"
6
6
  end
7
7
  end
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (BTCPay Server)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Connect a BTCPay Server store to a receive-only NWC wallet with the OpenReceive
6
6
  plugin, and optionally let payers pay BTCPay invoices with USDT, USDC, ETH or
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (Django)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a Django project — the app you are already working in. You
6
6
  do not need a copy of the OpenReceive source: the Python package is on PyPI
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (FastAPI)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a FastAPI application — the app you are already working in.
6
6
  You do not need a copy of the OpenReceive source: the engine is on PyPI
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (Fastify)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a Fastify application — the app you are already working in.
6
6
  You do not need a copy of the OpenReceive source: the packages are on npm, and
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (Laravel)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a Laravel application — the app you are already working in.
6
6
  You do not need a copy of the OpenReceive source: the package is on Packagist
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (Next.js)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a Next.js App Router application — the app you are already
6
6
  working in. You do not need a copy of the OpenReceive source: the packages are
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (Node.js)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a Node application — the app you are already working in. You
6
6
  do not need a copy of the OpenReceive source: the packages are on npm, and the
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (PHP)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a PHP application — the app you are already working in. You
6
6
  do not need a copy of the OpenReceive source: the engine is on Packagist
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (Rails)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Add OpenReceive to a Rails application — the app you are already working in. You
6
6
  do not need a copy of the OpenReceive source: the gem is on RubyGems, the
@@ -1,6 +1,6 @@
1
1
  # OpenReceive agent directions (WordPress + WooCommerce)
2
2
 
3
- These directions describe OpenReceive 0.4.5.
3
+ These directions describe OpenReceive 0.4.6.
4
4
 
5
5
  Install and configure the OpenReceive gateway in the existing WooCommerce
6
6
  store. Preserve its theme, checkout, customer accounts, order model and prices.
@@ -90,6 +90,29 @@ Requirements: WordPress 6.6+, WooCommerce 9+, 64-bit PHP 8.2+ with GMP and sodiu
90
90
  and MySQL 8 or MariaDB 10.5+. Activation creates payment-attempt tables in the
91
91
  existing WordPress database. No separate database or application is required.
92
92
 
93
+ ### Get the installable archive
94
+
95
+ Use `openreceive-wordpress-<version>.zip` from the selected
96
+ [OpenReceive GitHub release](https://github.com/OpenReceive/openreceive/releases)
97
+ when that asset is listed. A GitHub source-code zip is not the plugin archive.
98
+ If the release does not yet provide a built zip, build it on a development
99
+ machine with Node 22+, PHP 8.2+, Composer and WP-CLI:
100
+
101
+ ```sh
102
+ git clone https://github.com/OpenReceive/openreceive.git
103
+ cd openreceive
104
+ git checkout <release-tag>
105
+ npm ci
106
+ npm run build:packages
107
+ composer install --working-dir=packages/php/wordpress
108
+ npm run release:wordpress:build
109
+ ```
110
+
111
+ Upload the resulting `dist/openreceive-wordpress-<version>.zip`. WP-CLI must be
112
+ on `PATH`, or set `OPENRECEIVE_WP_CLI` to the absolute path of its phar. The
113
+ WordPress server needs neither Node nor Composer: dependencies and checkout
114
+ assets are bundled inside the built plugin.
115
+
93
116
  ### Configure the wallet
94
117
 
95
118
  Open **WooCommerce → Settings → Payments → OpenReceive**. Enter a receive-only
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openreceive-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenReceive
@@ -15,18 +15,27 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.4.5
18
+ version: 0.4.6
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 0.4.5
26
- description: 'Server building blocks for OpenReceive: a storage-free Service that
27
- mirrors the Node engine and a framework-agnostic Rack app implementing the shipped
28
- HTTP routes while the host owns order and payment persistence. Receive-only: it
29
- never exposes a spend path and the NWC secret never leaves the server.'
25
+ version: 0.4.6
26
+ description: |
27
+ Accept Bitcoin Lightning payments directly into a wallet you control, from your
28
+ Ruby or Rack application. OpenReceive provides invoice creation, payment checks,
29
+ and settlement reconciliation through a receive-only Nostr Wallet Connect
30
+ (NWC) client. Optional swaps let customers pay with USDT, USDC, SOL, and ETH
31
+ through a configured provider; you receive BTC over Lightning in your wallet.
32
+ Available assets and networks depend on the provider.
33
+
34
+ Bring your own wallet client, authorization, and payment persistence. The service
35
+ and Rack handler fit into your existing application, with no separate OpenReceive
36
+ service or database to deploy. Your app keeps control of orders, prices, and
37
+ fulfillment; wallet credentials stay on the server. Rails developers can use
38
+ openreceive-rails for built-in payment storage and reconciliation.
30
39
  email:
31
40
  - info@openreceive.org
32
41
  executables: []
@@ -73,7 +82,7 @@ metadata:
73
82
  source_code_uri: https://github.com/openreceive/openreceive
74
83
  changelog_uri: https://github.com/openreceive/openreceive/blob/master/packages/ruby/openreceive-server/CHANGELOG.md
75
84
  bug_tracker_uri: https://github.com/openreceive/openreceive/issues
76
- documentation_uri: https://rubydoc.info/gems/openreceive-server
85
+ documentation_uri: https://github.com/openreceive/openreceive/blob/master/packages/ruby/openreceive-server/README.md
77
86
  rubygems_mfa_required: 'true'
78
87
  rdoc_options: []
79
88
  require_paths:
@@ -91,5 +100,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
100
  requirements: []
92
101
  rubygems_version: 3.6.9
93
102
  specification_version: 4
94
- summary: Storage-free OpenReceive receive-only service and HTTP routes for Ruby.
103
+ summary: Accept Bitcoin Lightning payments in Ruby and Rack. Your app, your wallet.
95
104
  test_files: []