# Upgrade BTCPayServer Zcash Plugin for 2.1

**URL:** <https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800>\
**Category:** Applications\
**Created:** [April 5, 2025, 3:42pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800 "2025-04-05T15:42:14Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 12:09pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/22 "2025-11-06T12:09:56Z")

</div>

I just tried setting this up per the docs you shared with the latest plugin version, but zcash\_walletd just stays in a reboot loop with this log:

`Invalid viewing key: Hrp(Checksum(InvalidResidue))`  
`note: run with RUST_BACKTRACE=1 environment variable to display a backtrace`

When I uploaded the unified viewing key from ywallet it did see the new view key, but says it’s invalid:

`VK missing from .env file or data config`  
`note: run with RUST_BACKTRACE=1 environment variable to display a backtrace`  
`thread ‘main’ panicked at src/main.rs:105:103:`  
`Invalid viewing key: Hrp(Checksum(InvalidResidue))`  
`note: run with RUST_BACKTRACE=1 environment variable to display a backtrace`

Perhaps a plugin or BTCPay update is needed to actually support unified viewing keys? I’m running BTCPay v2.2.1 and Zcash plugin v1.0.4.0.

---

<div class="post-metadata">

**Author:** ![artkor](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/artkor/32/28573_2.png) [@artkor](https://forum.zcashcommunity.com/u/artkor)\
**Post date:** [November 6, 2025, 12:39pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/23 "2025-11-06T12:39:10Z")

</div>

Hello @sethforprivacy! I’m glad to see you back on the forum. Thank you for pointing that out. I can’t respond substantively right now; I’ll need technical assistance from @1337bytes and @hanh.

---

<div class="post-metadata">

**Author:** ![hanh](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/hanh/32/27853_2.png) [@hanh](https://forum.zcashcommunity.com/u/hanh)\
**Post date:** [November 6, 2025, 1:26pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/24 "2025-11-06T13:26:31Z")

</div>

It is probably an issue with the viewing key. Use zcashd, zashi?, or zkool.

---

<div class="post-metadata">

**Author:** ![1337bytes](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/1337bytes/32/18714_2.png) [@1337bytes](https://forum.zcashcommunity.com/u/1337bytes)\
**Post date:** [November 6, 2025, 1:39pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/25 "2025-11-06T13:39:58Z")

</div>

Do you have the latest `btcpayserver-docker` pulled? Ywallet Unified Viewing Key should work (starts with `u1...`).

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 2:05pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/26 "2025-11-06T14:05:33Z")

</div>

Yes, just pulled the latest today, and I used the `uview` key as described in the docs:

> <https://github.com/ruzcash/zechub/blob/main/site/guides/BTCPayServer_Zcash_Plugin.md>

I only want to use this if it can leverage Orchard shielded addresses, and from my understanding that was the right key to do so.

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 2:06pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/27 "2025-11-06T14:06:44Z")

</div>

Then the docs need an update, as Ywallet was recommended (but doesn’t seem to work) and Zingo wallet was recommended but doesn’t seem to allow view key export anymore.

Will try those and see if I can get a working view key!

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 2:13pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/28 "2025-11-06T14:13:17Z")

</div>

AFAICT Zashi and zkool also don’t support exporting view keys…

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 2:15pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/29 "2025-11-06T14:15:30Z")

</div>

P.S. - the latest version that gets pulled normally is `1337bytes/zcash-walletd:0.0.2`, is that correct?

---

<div class="post-metadata">

**Author:** ![1337bytes](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/1337bytes/32/18714_2.png) [@1337bytes](https://forum.zcashcommunity.com/u/1337bytes)\
**Post date:** [November 6, 2025, 2:39pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/30 "2025-11-06T14:39:54Z")

</div>

No, that’ll be the issue. It should be `hhanh00/zcash-walletd:1.1.4`.

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 2:59pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/31 "2025-11-06T14:59:34Z")

</div>

When will this be pushed upstream? I’d prefer to wait to run this until I don’t have to do custom Compose snippets to workaround it if possible.

---

<div class="post-metadata">

**Author:** ![1337bytes](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/1337bytes/32/18714_2.png) [@1337bytes](https://forum.zcashcommunity.com/u/1337bytes)\
**Post date:** [November 6, 2025, 3:06pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/32 "2025-11-06T15:06:04Z")

</div>

> <https://github.com/btcpayserver/btcpayserver-docker/blob/cb53f9e9c6cd3dc02634673cef308264afccc331/docker-compose-generator/docker-fragments/zcash.yml#L7>

Should be available on the latest `master`, no need for custom fragments. Orchard/UA support was merged upstream a month ago. Most merchants have upgraded to it already.

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 3:50pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/33 "2025-11-06T15:50:16Z")

</div>

Ah, strange, just saw it now after forcing an update locally instead of relying on a BTCPay update.

Working now!

---

<div class="post-metadata">

**Author:** ![dismad](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dismad/32/18432_2.png) [@dismad](https://forum.zcashcommunity.com/u/dismad)\
**Post date:** [November 6, 2025, 4:23pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/34 "2025-11-06T16:23:33Z")

</div>

> [@sethforprivacy](#):
>
> AFAICT zkool also don’t support exporting view keys…

Yes it does?

> **[Getting Started | Zkool Documentation](https://hhanh00.github.io/zkool2/guide/start.html)**

note: I am deleting this account now 😁

 ![Screenshot_2025-11-06_08-22-22](https://global.discourse-cdn.com/zcash/original/3X/c/e/ce70219d5b3458e3bebea9c3e0cafdddc949a049.png)

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [November 6, 2025, 5:23pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/35 "2025-11-06T17:23:47Z")

</div>

Odd, was using the latest on macOS and couldn’t find the view key option anywhere!

---

<div class="post-metadata">

**Author:** ![dismad](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dismad/32/18432_2.png) [@dismad](https://forum.zcashcommunity.com/u/dismad)\
**Post date:** [November 6, 2025, 5:25pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/36 "2025-11-06T17:25:06Z")

</div>

Ill create a quick video, its a bit hidden! Give me a few 👍

---

<div class="post-metadata">

**Author:** ![dismad](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dismad/32/18432_2.png) [@dismad](https://forum.zcashcommunity.com/u/dismad)\
**Post date:** [November 6, 2025, 7:05pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/37 "2025-11-06T19:05:30Z")

</div>

Here is how it works on Linux:

[https://free2z.com/uploadz/public/dismad/zkoolviewkey.mp4](https://free2z.com/uploadz/public/dismad/zkoolviewkey.mp4)

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [December 11, 2025, 12:20pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/38 "2025-12-11T12:20:59Z")

</div>

Hey all, I’ve run into an issue twice over the last week where Zcash transactions for BTCPay invoices never show as paid, despite being received in the Zcash wallet. It appears that the `generated-zcash_walletd-1` container just gets stuck until restarted. An example from today was below, where two transactions seemed to fail on the BTCPay side, but were immediately seen when I restarted the Zcash container.

`[2025-12-11T12:17:00Z INFO zcash_walletd::rpc] Scan from 3162741 to 3165520`  
`[2025-12-11T12:17:02Z INFO zcash_walletd::rpc] Notify tx REDACTED`  
`[2025-12-11T12:17:02Z INFO zcash_walletd::rpc] Notify tx REDACTED`

Anything I can do here to prevent this or any other logs I can provide to improve things here? Running the latest Zcash plugin and steps that were shared above, which includes this image:

`hhanh00/zcash-walletd:1.1.4`

Edit: while nothing in the changelog implies it fixed this issue, I have just updated after seeing [https://github.com/btcpayserver/btcpayserver-docker/commit/3e49a2063b27f83b08de37407916b4398bb063d0](https://github.com/btcpayserver/btcpayserver-docker/commit/3e49a2063b27f83b08de37407916b4398bb063d0).

---

<div class="post-metadata">

**Author:** ![1337bytes](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/1337bytes/32/18714_2.png) [@1337bytes](https://forum.zcashcommunity.com/u/1337bytes)\
**Post date:** [December 11, 2025, 4:34pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/39 "2025-12-11T16:34:43Z")

</div>

Hey, I sent you a message on Twitter. How many confirmations have you configured, if it’s more than one, have you tried one confirmation? I am currently working on a bug fix for an issue in the plugin’s handling of multiple confirmation checks; this logic should be handled on the plugin side rather than `zcash-walletd`.

> [@sethforprivacy](#):
>
> It appears that the `generated-zcash_walletd-1` container just gets stuck until restarted.

As in the entire container is frozen and stops outputting logs, or there is just one `Notify tx` and no more activity for a specific transaction?

---

<div class="post-metadata">

**Author:** ![sethforprivacy](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/sethforprivacy/32/19982_2.png) [@sethforprivacy](https://forum.zcashcommunity.com/u/sethforprivacy)\
**Post date:** [January 18, 2026, 7:58pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/40 "2026-01-18T19:58:54Z")

</div>

Odd, I never saw this notification!

We’ve been having very consistent issues with transactions being received by the wallet (visible in Ywallet), but not seen by BTCPay. Restarting the container doesn’t seem to be resolving it for long either, so I’ve had to just disable Zcash payments for now.

The logs I can see show this with the last TX we received that wasn’t recognized by BTCPay:

```auto
[2026-01-18T11:35:52Z INFO zcash_walletd::rpc] Notify tx REDACTED

index out of bounds: the len is 0 but the index is 0

```

---

<div class="post-metadata">

**Author:** ![1337bytes](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/1337bytes/32/18714_2.png) [@1337bytes](https://forum.zcashcommunity.com/u/1337bytes)\
**Post date:** [January 19, 2026, 2:19pm UTC](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800/41 "2026-01-19T14:19:44Z")

</div>

Please make sure you’re using `1` confirmation. Can you try updating to `zcash-walletd` version `1.1.8` with a custom fragment and let me know if that resolves it? This should resolve a race condition with notify tx that a couple of merchants ran into and fix a bug with reorg that can be caused with bad shutdowns. Will submit a PR to `btcpayserver-docker` once I’ve received enough reports that the issues are fixed.

[Previous page](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800.md?page=1)

[Next page](https://forum.zcashcommunity.com/t/upgrade-btcpayserver-zcash-plugin-for-2-1/50800.md?page=3)
