openreceive 0.4.34 → 0.5.0
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/CHANGELOG.md +11 -0
- data/lib/openreceive/version.rb +1 -1
- data/skills/integrate-openreceive/references/astro.md +5 -4
- data/skills/integrate-openreceive/references/bolt.md +3 -3
- data/skills/integrate-openreceive/references/btcpay.md +1 -1
- data/skills/integrate-openreceive/references/django.md +6 -5
- data/skills/integrate-openreceive/references/edd.md +4 -4
- data/skills/integrate-openreceive/references/fastapi.md +5 -4
- data/skills/integrate-openreceive/references/fastify.md +5 -4
- data/skills/integrate-openreceive/references/flask.md +5 -4
- data/skills/integrate-openreceive/references/fossbilling.md +6 -6
- data/skills/integrate-openreceive/references/laravel.md +5 -4
- data/skills/integrate-openreceive/references/lovable.md +2 -2
- data/skills/integrate-openreceive/references/medusa.md +1 -1
- data/skills/integrate-openreceive/references/mobile.md +1 -1
- data/skills/integrate-openreceive/references/nestjs.md +5 -4
- data/skills/integrate-openreceive/references/next.md +5 -4
- data/skills/integrate-openreceive/references/node.md +5 -4
- data/skills/integrate-openreceive/references/nuxt.md +5 -4
- data/skills/integrate-openreceive/references/odoo.md +11 -11
- data/skills/integrate-openreceive/references/paymenter.md +5 -5
- data/skills/integrate-openreceive/references/php.md +5 -4
- data/skills/integrate-openreceive/references/prestashop.md +6 -6
- data/skills/integrate-openreceive/references/rails.md +5 -4
- data/skills/integrate-openreceive/references/react-router.md +5 -4
- data/skills/integrate-openreceive/references/sveltekit.md +5 -4
- data/skills/integrate-openreceive/references/tanstack-start.md +5 -4
- data/skills/integrate-openreceive/references/vendure.md +1 -1
- data/skills/integrate-openreceive/references/woocommerce.md +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad5d785f8c128ceac71c399949d092d8728911da633a5357bbcdae1120f8e705
|
|
4
|
+
data.tar.gz: cdcf51b92f0b0ac90f0a6ab1db999173abda11aef8aeabefe0effefb9437201f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8a257b4974a87cd3c208078b414017f7a6fdd5bcde7ba95be5a37ac382c0769f51f46ace0419cc8b7fca3dd8e99c77255e4627ed69891145b146c27a3ead9b8
|
|
7
|
+
data.tar.gz: '026105981306646c581bbd70d79ff9b6f1cdaef09198c98d83656afe1bee75df5f8f8d30ca4c00537cad040bc5003c2aa8c2f51410121404f6b362214e55dd49'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.0 - 2026-11-16
|
|
4
|
+
|
|
5
|
+
Release with the complete 0.5.0 package family. No Ruby runtime changes
|
|
6
|
+
from 0.4.35 in this gem. The changes of 0.5.0 are in `openreceive-server`,
|
|
7
|
+
`openreceive-rails` and the JavaScript checkout packages.
|
|
8
|
+
|
|
9
|
+
## 0.4.35 - 2026-11-12
|
|
10
|
+
|
|
11
|
+
Release with the complete 0.4.35 package family. No Ruby runtime changes
|
|
12
|
+
from 0.4.34.
|
|
13
|
+
|
|
3
14
|
## 0.4.34 - 2026-11-10
|
|
4
15
|
|
|
5
16
|
Release with the complete 0.4.34 package family. No Ruby runtime changes
|
data/lib/openreceive/version.rb
CHANGED
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/astro/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to an Astro site — the one you are already working in, on
|
|
24
24
|
`@astrojs/node`. OpenReceive ships no Astro package: the integration is one
|
|
@@ -375,9 +375,10 @@ components.
|
|
|
375
375
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
376
376
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
377
377
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
378
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
379
|
-
|
|
380
|
-
|
|
378
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
379
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
380
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
381
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
381
382
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
382
383
|
unavailable method says the minimum in the payer's currency.
|
|
383
384
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -17,7 +17,7 @@ If your fetch tool gave you a summary, fetch that URL again for the full text.
|
|
|
17
17
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
18
18
|
- Start Step 1 only once NWC_URI is saved, and LSC_URI_PRIMARY is saved or the user said "Bitcoin only".
|
|
19
19
|
|
|
20
|
-
These directions describe OpenReceive 0.
|
|
20
|
+
These directions describe OpenReceive 0.5.0.
|
|
21
21
|
|
|
22
22
|
Add OpenReceive to this Bolt app: a Vite React app on Bolt Cloud, with Bolt
|
|
23
23
|
Database or a connected Supabase project as its database, and Supabase Edge
|
|
@@ -123,8 +123,8 @@ explicitly declined.
|
|
|
123
123
|
|
|
124
124
|
## Step 1 — the packages
|
|
125
125
|
|
|
126
|
-
Add `@openreceive/react` at 0.
|
|
127
|
-
`package.json`. The function imports `npm:@openreceive/http@^0.
|
|
126
|
+
Add `@openreceive/react` at 0.5.0 or newer to the app's
|
|
127
|
+
`package.json`. The function imports `npm:@openreceive/http@^0.5.0`
|
|
128
128
|
and `npm:@supabase/supabase-js@2` directly; add nothing else. (The recipe
|
|
129
129
|
below writes `^0.4.27`, the oldest release with the `cors` option; both
|
|
130
130
|
resolve to the newest 0.4.x.) No `pg`, no
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/btcpay/full.md
|
|
|
18
18
|
- Never tick the spend-capable override to make a save succeed.
|
|
19
19
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Connect a BTCPay Server store to a receive-only NWC wallet with the OpenReceive
|
|
24
24
|
plugin, and optionally let payers pay BTCPay invoices with USDT, USDC, ETH or
|
|
@@ -3,7 +3,7 @@ This is the full file; follow it from Step 0.
|
|
|
3
3
|
# OpenReceive agent directions (Django)
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
# READ THIS FIRST: this file is
|
|
6
|
+
# READ THIS FIRST: this file is 50 KB and a summary drops required steps. Download it whole:
|
|
7
7
|
curl -fsSL https://openreceive.org/agent-directions/django/full.md
|
|
8
8
|
# If your tool cuts long output, save it and read it in parts: curl -fsSL -o /tmp/openreceive-directions.md https://openreceive.org/agent-directions/django/full.md
|
|
9
9
|
# Skip the download only if you already have all of it: pasted, read from disk or fetched raw.
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/django/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Django project — the app you are already working in. You
|
|
24
24
|
do not need a copy of the OpenReceive source: the Python package is on PyPI
|
|
@@ -378,9 +378,10 @@ built on `@openreceive/browser/headless`. Read that before writing components.
|
|
|
378
378
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
379
379
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
380
380
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
381
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
382
|
-
|
|
383
|
-
|
|
381
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
382
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
383
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
384
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
384
385
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
385
386
|
unavailable method says the minimum in the payer's currency.
|
|
386
387
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/edd/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Setup is done only when the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Install and configure the OpenReceive payment gateway in the Easy Digital
|
|
24
24
|
Downloads (EDD) store you are working in. Preserve its theme, checkout,
|
|
@@ -98,7 +98,7 @@ is saved or the user said "Bitcoin only". Never invent a placeholder code.
|
|
|
98
98
|
Install this release from the WordPress.org plugin directory:
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
wp plugin install openreceive --version=0.
|
|
101
|
+
wp plugin install openreceive --version=0.5.0 --activate
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
If that fails because WordPress.org does not have this version yet, install
|
|
@@ -106,7 +106,7 @@ the ZIP attached to the same GitHub release. Never install the GitHub
|
|
|
106
106
|
source-code ZIP or a ZIP from an older release:
|
|
107
107
|
|
|
108
108
|
```sh
|
|
109
|
-
wp plugin install https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
109
|
+
wp plugin install https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-wordpress-0.5.0.zip --activate
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
It needs Easy Digital Downloads active, and PHP 8.2+ with GMP and sodium in
|
|
@@ -259,7 +259,7 @@ activate it. With WP-CLI, run `wp plugin install openreceive --activate`.
|
|
|
259
259
|
|
|
260
260
|
Each GitHub release also attaches the plugin as a ZIP, for a site that cannot
|
|
261
261
|
reach WordPress.org:
|
|
262
|
-
[openreceive-wordpress-0.
|
|
262
|
+
[openreceive-wordpress-0.5.0.zip](https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-wordpress-0.5.0.zip).
|
|
263
263
|
Install it through **Plugins → Add New → Upload Plugin**. The GitHub
|
|
264
264
|
source-code ZIP is not an installable plugin.
|
|
265
265
|
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/fastapi/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a FastAPI application — the app you are already working in.
|
|
24
24
|
You do not need a copy of the OpenReceive source: the engine is on PyPI
|
|
@@ -382,9 +382,10 @@ components.
|
|
|
382
382
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
383
383
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
384
384
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
385
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
386
|
-
|
|
387
|
-
|
|
385
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
386
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
387
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
388
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
388
389
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
389
390
|
unavailable method says the minimum in the payer's currency.
|
|
390
391
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/fastify/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Fastify application — the app you are already working in.
|
|
24
24
|
You do not need a copy of the OpenReceive source: the packages are on npm, and
|
|
@@ -370,9 +370,10 @@ components.
|
|
|
370
370
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
371
371
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
372
372
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
373
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
374
|
-
|
|
375
|
-
|
|
373
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
374
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
375
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
376
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
376
377
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
377
378
|
unavailable method says the minimum in the payer's currency.
|
|
378
379
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/flask/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Flask application — the app you are already working in.
|
|
24
24
|
You do not need a copy of the OpenReceive source: the engine is on PyPI
|
|
@@ -389,9 +389,10 @@ components.
|
|
|
389
389
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
390
390
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
391
391
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
392
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
393
|
-
|
|
394
|
-
|
|
392
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
393
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
394
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
395
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
395
396
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
396
397
|
unavailable method says the minimum in the payer's currency.
|
|
397
398
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/fossbilling/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Setup is done only when the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Install and configure the OpenReceive payment method in the FOSSBilling
|
|
24
24
|
billing panel you are working in. Preserve its theme, clients, products,
|
|
@@ -122,7 +122,7 @@ Docker image, download and unpack it inside the container, as the web user,
|
|
|
122
122
|
then activate the module:
|
|
123
123
|
|
|
124
124
|
```sh
|
|
125
|
-
docker compose exec -T -u www-data fossbilling sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
125
|
+
docker compose exec -T -u www-data fossbilling sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-fossbilling-0.5.0.zip && unzip -oq openreceive-fossbilling-0.5.0.zip && rm openreceive-fossbilling-0.5.0.zip'
|
|
126
126
|
docker compose exec -T -u www-data fossbilling php modules/Openreceive/activate.php
|
|
127
127
|
```
|
|
128
128
|
|
|
@@ -283,9 +283,9 @@ routes, console commands and cron hook), and
|
|
|
283
283
|
|
|
284
284
|
```sh
|
|
285
285
|
cd /var/www/fossbilling
|
|
286
|
-
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
287
|
-
unzip -oq openreceive-fossbilling-0.
|
|
288
|
-
rm openreceive-fossbilling-0.
|
|
286
|
+
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-fossbilling-0.5.0.zip
|
|
287
|
+
unzip -oq openreceive-fossbilling-0.5.0.zip
|
|
288
|
+
rm openreceive-fossbilling-0.5.0.zip
|
|
289
289
|
chown -R www-data:www-data modules/Openreceive library/Payment/Adapter/OpenReceive
|
|
290
290
|
sudo -u www-data php modules/Openreceive/activate.php
|
|
291
291
|
```
|
|
@@ -340,7 +340,7 @@ Run every command inside the container, in `/var/www/html`, as its web user
|
|
|
340
340
|
`www-data`. Unpack the release there too:
|
|
341
341
|
|
|
342
342
|
```sh
|
|
343
|
-
docker compose exec -T -u www-data fossbilling sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
343
|
+
docker compose exec -T -u www-data fossbilling sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-fossbilling-0.5.0.zip && unzip -oq openreceive-fossbilling-0.5.0.zip && rm openreceive-fossbilling-0.5.0.zip'
|
|
344
344
|
docker compose exec -T -u www-data fossbilling php modules/Openreceive/activate.php
|
|
345
345
|
```
|
|
346
346
|
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/laravel/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Laravel application — the app you are already working in.
|
|
24
24
|
You do not need a copy of the OpenReceive source: the package is on Packagist
|
|
@@ -344,9 +344,10 @@ built on `@openreceive/browser/headless`. Read that before writing components.
|
|
|
344
344
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
345
345
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
346
346
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
347
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
348
|
-
|
|
349
|
-
|
|
347
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
348
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
349
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
350
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
350
351
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
351
352
|
unavailable method says the minimum in the payer's currency.
|
|
352
353
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -17,7 +17,7 @@ If your fetch tool gave you a summary, fetch that URL again for the full text.
|
|
|
17
17
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
18
18
|
- Start Step 1 only once NWC_URI is saved, and LSC_URI_PRIMARY is saved or the user said "Bitcoin only".
|
|
19
19
|
|
|
20
|
-
These directions describe OpenReceive 0.
|
|
20
|
+
These directions describe OpenReceive 0.5.0.
|
|
21
21
|
|
|
22
22
|
Add OpenReceive to this Lovable app: a TanStack Start app on Cloudflare
|
|
23
23
|
Workers, with Lovable Cloud or a connected Supabase project as its database.
|
|
@@ -121,7 +121,7 @@ saved or explicitly declined.
|
|
|
121
121
|
|
|
122
122
|
## Step 1 — the packages
|
|
123
123
|
|
|
124
|
-
Add `@openreceive/http` and `@openreceive/react` at 0.
|
|
124
|
+
Add `@openreceive/http` and `@openreceive/react` at 0.5.0 or newer.
|
|
125
125
|
Nothing else: no `pg`, no Postgres driver, no OpenReceive scaffold. Do not
|
|
126
126
|
change the Vite or Wrangler configuration.
|
|
127
127
|
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/medusa/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to the Medusa store you are working in: a Medusa server, and
|
|
24
24
|
usually a storefront in its own project (Medusa's Next.js starter or another).
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/mobile/full.md
|
|
|
18
18
|
- The app never decides paid: it asks the server. A link back to the app is navigation only.
|
|
19
19
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add Bitcoin checkout, with optional USDT, USDC, ETH and SOL, to a mobile app:
|
|
24
24
|
React Native or Expo, Flutter, Swift or Kotlin. OpenReceive has no mobile SDK
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/nestjs/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a NestJS application — the app you are already working in,
|
|
24
24
|
on Nest's default Express platform. You do not need a copy of the OpenReceive
|
|
@@ -388,9 +388,10 @@ components.
|
|
|
388
388
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
389
389
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
390
390
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
391
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
392
|
-
|
|
393
|
-
|
|
391
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
392
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
393
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
394
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
394
395
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
395
396
|
unavailable method says the minimum in the payer's currency.
|
|
396
397
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/next/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Next.js App Router application — the app you are already
|
|
24
24
|
working in. You do not need a copy of the OpenReceive source: the packages are
|
|
@@ -379,9 +379,10 @@ components.
|
|
|
379
379
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
380
380
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
381
381
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
382
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
383
|
-
|
|
384
|
-
|
|
382
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
383
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
384
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
385
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
385
386
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
386
387
|
unavailable method says the minimum in the payer's currency.
|
|
387
388
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/node/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Node application — the app you are already working in. You
|
|
24
24
|
do not need a copy of the OpenReceive source: the packages are on npm, and the
|
|
@@ -369,9 +369,10 @@ components.
|
|
|
369
369
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
370
370
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
371
371
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
372
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
373
|
-
|
|
374
|
-
|
|
372
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
373
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
374
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
375
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
375
376
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
376
377
|
unavailable method says the minimum in the payer's currency.
|
|
377
378
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/nuxt/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Nuxt application — the app you are already working in,
|
|
24
24
|
on Nitro's `node-server` preset. OpenReceive ships no Nuxt package: the
|
|
@@ -360,9 +360,10 @@ components.
|
|
|
360
360
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
361
361
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
362
362
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
363
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
364
|
-
|
|
365
|
-
|
|
363
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
364
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
365
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
366
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
366
367
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
367
368
|
unavailable method says the minimum in the payer's currency.
|
|
368
369
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/odoo/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Setup is done only when the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Install and configure the OpenReceive payment provider in the Odoo you are
|
|
24
24
|
working in. Preserve its website, customers, products, orders, invoices and
|
|
@@ -103,7 +103,7 @@ manager, so build an image that adds it:
|
|
|
103
103
|
FROM odoo:<tag>
|
|
104
104
|
USER root
|
|
105
105
|
RUN pip3 install --no-cache-dir --break-system-packages --ignore-installed typing_extensions h11 \
|
|
106
|
-
&& pip3 install --no-cache-dir --break-system-packages openreceive==0.
|
|
106
|
+
&& pip3 install --no-cache-dir --break-system-packages openreceive==0.5.0
|
|
107
107
|
USER odoo
|
|
108
108
|
```
|
|
109
109
|
|
|
@@ -114,9 +114,9 @@ manager, so build an image that adds it:
|
|
|
114
114
|
(the folder that holds the Dockerfile). Change nothing else in the file.
|
|
115
115
|
3. Run `docker compose up -d --build`.
|
|
116
116
|
|
|
117
|
-
On a server, install `openreceive==0.
|
|
117
|
+
On a server, install `openreceive==0.5.0` with the pip of the Python
|
|
118
118
|
that runs Odoo (its virtualenv when it has one). On Odoo.sh, add
|
|
119
|
-
`openreceive==0.
|
|
119
|
+
`openreceive==0.5.0` to the repository's `requirements.txt`. If you
|
|
120
120
|
cannot tell which Python runs Odoo, say so and stop.
|
|
121
121
|
|
|
122
122
|
The module is the ZIP attached to this GitHub release, with its folder,
|
|
@@ -127,8 +127,8 @@ folder on the config file's `addons_path`. Never install the GitHub
|
|
|
127
127
|
source-code ZIP or a ZIP from an older release.
|
|
128
128
|
|
|
129
129
|
```sh
|
|
130
|
-
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
131
|
-
unzip -oq openreceive-odoo-0.
|
|
130
|
+
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-odoo-0.5.0.zip
|
|
131
|
+
unzip -oq openreceive-odoo-0.5.0.zip -d <that folder> && rm openreceive-odoo-0.5.0.zip
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
Then install it into the database and restart Odoo:
|
|
@@ -282,16 +282,16 @@ from a terminal:
|
|
|
282
282
|
|
|
283
283
|
```sh
|
|
284
284
|
cd /path/to/your/addons
|
|
285
|
-
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
286
|
-
unzip -oq openreceive-odoo-0.
|
|
285
|
+
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-odoo-0.5.0.zip
|
|
286
|
+
unzip -oq openreceive-odoo-0.5.0.zip && rm openreceive-odoo-0.5.0.zip
|
|
287
287
|
odoo -d <database> -i payment_openreceive --stop-after-init
|
|
288
288
|
```
|
|
289
289
|
|
|
290
290
|
How the Python package gets in depends on how Odoo runs:
|
|
291
291
|
|
|
292
292
|
- **Odoo.sh**: commit the `payment_openreceive` folder to your repository and
|
|
293
|
-
add `openreceive==0.
|
|
294
|
-
- **A source install with a virtualenv**: `pip install openreceive==0.
|
|
293
|
+
add `openreceive==0.5.0` to the repository's `requirements.txt`.
|
|
294
|
+
- **A source install with a virtualenv**: `pip install openreceive==0.5.0`
|
|
295
295
|
in Odoo's virtualenv.
|
|
296
296
|
- **Odoo's Docker image** or **its Debian package**: see below.
|
|
297
297
|
|
|
@@ -311,7 +311,7 @@ manager. Build your own image on top of it: put this `Dockerfile` next to your
|
|
|
311
311
|
FROM odoo:19.0
|
|
312
312
|
USER root
|
|
313
313
|
RUN pip3 install --no-cache-dir --break-system-packages --ignore-installed typing_extensions h11 \
|
|
314
|
-
&& pip3 install --no-cache-dir --break-system-packages openreceive==0.
|
|
314
|
+
&& pip3 install --no-cache-dir --break-system-packages openreceive==0.5.0
|
|
315
315
|
USER odoo
|
|
316
316
|
```
|
|
317
317
|
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/paymenter/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Setup is done only when the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Install and configure the OpenReceive payment gateway in the Paymenter billing
|
|
24
24
|
panel you are working in. Preserve its theme, clients, products, invoices and
|
|
@@ -98,7 +98,7 @@ release. With Paymenter's official Docker image, download and unpack it inside
|
|
|
98
98
|
the container, as the web user:
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
docker compose exec -T -u nginx paymenter sh -c 'cd /app/extensions/Gateways && curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
101
|
+
docker compose exec -T -u nginx paymenter sh -c 'cd /app/extensions/Gateways && curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-paymenter-0.5.0.zip && unzip -q openreceive-paymenter-0.5.0.zip && rm openreceive-paymenter-0.5.0.zip'
|
|
102
102
|
docker compose exec -T -u nginx paymenter php artisan app:extension:install gateway OpenReceive
|
|
103
103
|
```
|
|
104
104
|
|
|
@@ -246,9 +246,9 @@ directory, next to Stripe and PayPal:
|
|
|
246
246
|
|
|
247
247
|
```sh
|
|
248
248
|
cd /var/www/paymenter
|
|
249
|
-
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
250
|
-
unzip -q openreceive-paymenter-0.
|
|
251
|
-
rm openreceive-paymenter-0.
|
|
249
|
+
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-paymenter-0.5.0.zip
|
|
250
|
+
unzip -q openreceive-paymenter-0.5.0.zip -d extensions/Gateways
|
|
251
|
+
rm openreceive-paymenter-0.5.0.zip
|
|
252
252
|
chown -R www-data:www-data extensions/Gateways/OpenReceive
|
|
253
253
|
sudo -u www-data php artisan app:extension:install gateway OpenReceive
|
|
254
254
|
```
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/php/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a PHP application — the app you are already working in. You
|
|
24
24
|
do not need a copy of the OpenReceive source: the engine is on Packagist
|
|
@@ -351,9 +351,10 @@ of https://openreceive.org/guides/checkout-ux.md, for a UI built on
|
|
|
351
351
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
352
352
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
353
353
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
354
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
355
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
356
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
357
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
357
358
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
358
359
|
unavailable method says the minimum in the payer's currency.
|
|
359
360
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/prestashop/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Setup is done only when the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Install and configure the OpenReceive payment module in the PrestaShop store
|
|
24
24
|
you are working in. Preserve its theme, customers, products, orders and
|
|
@@ -124,7 +124,7 @@ With the Docker image, download and unpack it inside the container, as the
|
|
|
124
124
|
web user, then install the module with PrestaShop's own console:
|
|
125
125
|
|
|
126
126
|
```sh
|
|
127
|
-
docker compose exec -T -u www-data prestashop sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
127
|
+
docker compose exec -T -u www-data prestashop sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-prestashop-0.5.0.zip && unzip -oq openreceive-prestashop-0.5.0.zip -d modules && rm openreceive-prestashop-0.5.0.zip'
|
|
128
128
|
docker compose exec -T -u www-data prestashop php bin/console prestashop:module install openreceive
|
|
129
129
|
```
|
|
130
130
|
|
|
@@ -292,9 +292,9 @@ install it with PrestaShop's own console, in the folder that holds `bin/console`
|
|
|
292
292
|
|
|
293
293
|
```sh
|
|
294
294
|
cd /var/www/html
|
|
295
|
-
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
296
|
-
unzip -oq openreceive-prestashop-0.
|
|
297
|
-
rm openreceive-prestashop-0.
|
|
295
|
+
curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-prestashop-0.5.0.zip
|
|
296
|
+
unzip -oq openreceive-prestashop-0.5.0.zip -d modules
|
|
297
|
+
rm openreceive-prestashop-0.5.0.zip
|
|
298
298
|
chown -R www-data:www-data modules/openreceive
|
|
299
299
|
sudo -u www-data php bin/console prestashop:module install openreceive
|
|
300
300
|
```
|
|
@@ -330,7 +330,7 @@ Run every command inside the container, in `/var/www/html`, as its web user
|
|
|
330
330
|
`www-data`. Unpack the release there too:
|
|
331
331
|
|
|
332
332
|
```sh
|
|
333
|
-
docker compose exec -T -u www-data prestashop sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
333
|
+
docker compose exec -T -u www-data prestashop sh -c 'curl -fsSLO https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-prestashop-0.5.0.zip && unzip -oq openreceive-prestashop-0.5.0.zip -d modules && rm openreceive-prestashop-0.5.0.zip'
|
|
334
334
|
docker compose exec -T -u www-data prestashop php bin/console prestashop:module install openreceive
|
|
335
335
|
```
|
|
336
336
|
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/rails/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a Rails application — the app you are already working in. You
|
|
24
24
|
do not need a copy of the OpenReceive source: the gem is on RubyGems, the
|
|
@@ -333,9 +333,10 @@ built on `@openreceive/browser/headless`. Read that before writing components.
|
|
|
333
333
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
334
334
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
335
335
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
336
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
337
|
-
|
|
338
|
-
|
|
336
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
337
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
338
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
339
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
339
340
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
340
341
|
unavailable method says the minimum in the payer's currency.
|
|
341
342
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/react-router/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a React Router application in framework mode — the app
|
|
24
24
|
you are already working in, on Node. OpenReceive ships no React Router
|
|
@@ -362,9 +362,10 @@ components.
|
|
|
362
362
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
363
363
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
364
364
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
365
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
366
|
-
|
|
367
|
-
|
|
365
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
366
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
367
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
368
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
368
369
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
369
370
|
unavailable method says the minimum in the payer's currency.
|
|
370
371
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/sveltekit/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a SvelteKit application — the app you are already working
|
|
24
24
|
in, on `@sveltejs/adapter-node`. OpenReceive ships no SvelteKit package: the
|
|
@@ -376,9 +376,10 @@ components.
|
|
|
376
376
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
377
377
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
378
378
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
379
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
380
|
-
|
|
381
|
-
|
|
379
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
380
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
381
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
382
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
382
383
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
383
384
|
unavailable method says the minimum in the payer's currency.
|
|
384
385
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/tanstack-start/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to a TanStack Start application on Node — the app you are
|
|
24
24
|
already working in, with its own Postgres. OpenReceive ships no TanStack
|
|
@@ -415,9 +415,10 @@ components.
|
|
|
415
415
|
- `createCheckoutController` is the engine. Do not hand-roll a poll loop.
|
|
416
416
|
- `createCheckoutStatusModel` for the status line. Do not draw a
|
|
417
417
|
Cart → Pay → Done stepper. Read the model's `phase`, not the snapshot's.
|
|
418
|
-
- `resolveWizardSelection` decides whether to ask "which network?". A
|
|
419
|
-
|
|
420
|
-
|
|
418
|
+
- `resolveWizardSelection` decides whether to ask "which network?". A tile
|
|
419
|
+
only selects: show the amount with `session.quoteSwap`, and call
|
|
420
|
+
`startSwap` from Continue. Key `selectedAssetByGroup` by group (`USDT`),
|
|
421
|
+
valued by `pay_in_asset` (`USDT_TRON`).
|
|
421
422
|
- `createMethodGridDisplay` for tiles, including `limitMessage` so an
|
|
422
423
|
unavailable method says the minimum in the payer's currency.
|
|
423
424
|
- `createSwapDisplayModel` → `display.copyRows` for deposits: address, memo,
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/vendure/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Start the quickstart only once the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Add OpenReceive to the Vendure shop you are working in: a Vendure server with
|
|
24
24
|
its worker, and usually a storefront in its own project (Vendure's Next.js
|
|
@@ -18,7 +18,7 @@ curl -fsSL https://openreceive.org/agent-directions/woocommerce/full.md
|
|
|
18
18
|
- Do not suggest rotating or revoking a code because it was pasted here.
|
|
19
19
|
- Setup is done only when the NWC code is saved, and the LSC code is saved or the user said "Bitcoin only".
|
|
20
20
|
|
|
21
|
-
These directions describe OpenReceive 0.
|
|
21
|
+
These directions describe OpenReceive 0.5.0.
|
|
22
22
|
|
|
23
23
|
Install and configure the OpenReceive payment gateway in the WooCommerce store
|
|
24
24
|
you are working in. Preserve its theme, checkout, customer accounts, order
|
|
@@ -97,7 +97,7 @@ is saved or the user said "Bitcoin only". Never invent a placeholder code.
|
|
|
97
97
|
Install this release from the WordPress.org plugin directory:
|
|
98
98
|
|
|
99
99
|
```sh
|
|
100
|
-
wp plugin install openreceive --version=0.
|
|
100
|
+
wp plugin install openreceive --version=0.5.0 --activate
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
If that fails because WordPress.org does not have this version yet, install
|
|
@@ -105,7 +105,7 @@ the ZIP attached to the same GitHub release. Never install the GitHub
|
|
|
105
105
|
source-code ZIP or a ZIP from an older release:
|
|
106
106
|
|
|
107
107
|
```sh
|
|
108
|
-
wp plugin install https://github.com/OpenReceive/openreceive/releases/download/v0.
|
|
108
|
+
wp plugin install https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-wordpress-0.5.0.zip --activate
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
It needs WooCommerce active, and PHP 8.2+ with GMP and sodium in BOTH the web
|
|
@@ -259,7 +259,7 @@ database or application.
|
|
|
259
259
|
|
|
260
260
|
Each GitHub release also attaches the same plugin as a ZIP, for a site that
|
|
261
261
|
cannot reach WordPress.org or when WordPress.org does not list a release yet.
|
|
262
|
-
Download [openreceive-wordpress-0.
|
|
262
|
+
Download [openreceive-wordpress-0.5.0.zip](https://github.com/OpenReceive/openreceive/releases/download/v0.5.0/openreceive-wordpress-0.5.0.zip)
|
|
263
263
|
and install it through **Plugins → Add New → Upload Plugin**. Historical
|
|
264
264
|
releases may lack this asset. If that exact URL returns 404, build the same tag
|
|
265
265
|
below; never silently install an older ZIP. The GitHub source-code ZIP is not
|
|
@@ -269,7 +269,7 @@ GMP/sodium, Composer and WP-CLI:
|
|
|
269
269
|
```sh
|
|
270
270
|
git clone https://github.com/OpenReceive/openreceive.git
|
|
271
271
|
cd openreceive
|
|
272
|
-
git checkout v0.
|
|
272
|
+
git checkout v0.5.0
|
|
273
273
|
npm ci
|
|
274
274
|
npm run build:packages
|
|
275
275
|
composer install --working-dir=packages/php/wordpress
|