btcpayserver-docker icon indicating copy to clipboard operation
btcpayserver-docker copied to clipboard

Locally run woocommerce, on regtest

Open losnappas opened this issue 4 years ago • 0 comments

Hello,

I wanted to give this a spin on wordpress, and tried the opt-add-woocommerce on my virtual machine, however, I ran into a problem. The btcpayserver plugin for wordpress gives me a 404 error when I try to pair it.

#!/usr/bin/env bash 
# setup.sh
export BTCPAY_HOST="btcpay.local" 
export BTCPAY_PROTOCOL="http" 
export WOOCOMMERCE_HOST="blog.local" 
export NBITCOIN_NETWORK="regtest" 
export BTCPAYGEN_CRYPTO1="btc" 
export BTCPAYGEN_REVERSEPROXY="nginx" 
export BTCPAYGEN_EXCLUDE_FRAGMENTS="opt-add-tor" 
export BTCPAYGEN_ADDITIONAL_FRAGMENTS="opt-add-woocommerce" 
export BTCPAYGEN_LIGHTNING="clightning" 
export REVERSEPROXY_HTTP_PORT="80" 
export REVERSEPROXY_HTTPS_PORT="443" 
export BTCPAY_ENABLE_SSH=true 
. ./btcpay-setup.sh -i 

I can get on the blog fine, I can get on btcpay fine, but I don't think they can communicate between each other fine, which is why this ticket.

I have a theory that the VM might be the problem, port forwarding and all, but I'm not certain, and thought I'd ask if anyone else's come across this, first.

Off-note: I also came across a situation where the pairing code, on btcpayserver's side, did not display. However, that then went away when I connected over https instead. But no errors or feedback were shown, which was a bit weird.

losnappas avatar Jul 03 '20 21:07 losnappas