GRIN WooCommerce payment bridge (via BTCPay)

I missed the exciting announcement of the BTCPay Grin plugin so when I found it I put together a small WooCommerce payment gateway that accepts Grin through it. It’s running live on my store and I’ve tested it end-to-end - screenshots below.

The BTCPay Grin plugin isn’t a native BTCPay payment method, so the official BTCPay WooCommerce plugin won’t surface Grin.

This release bridges that gap: the customer picks Grin at checkout, gets sent to the slatepack checkout, pays, and the order updates over a signed webhook.

  • Block + classic checkout, HPOS-compatible
  • On-hold while awaiting payment → processing on confirmation → cancelled on expiry
  • USD->GRIN conversion handled by the plugin’s rate feed

Open source (GPL): GitHub - 2ro/grin-btcpay-woocommerce: A WooCommerce payment gateway that bridges your store to Grin (GRIN, MimbleWimble) through the Such-Software BTCPay Grin plugin. · GitHub

I also sent a PR upstream fixing a webhook payload mismatch between the broadcast and settled events - consumers keyed on order_id were silently missing settlements.

If anyone else wants to try it and report back, I’d appreciate it.

Final note: If BTCPay accepts the GRIN plugin natively in the future, this project may become obsolete. For now I’ll maintain it with AI pair-programming assistance.

9 Likes

Even project may become obsolete, I’m sure that you learned a lot and able to create other great things for yourself or for Grin community.

2 Likes

Thank you. It actually works very closely to how knockturn-allee used to with the knockturn-woocommerce-gateway, same concept. I remember using it 7 years ago…

4 Likes