Connecting Algosigner to Wordpress/Woocommerce

Hey guys I’m trying to create a plugin or connection to algosigner via wordpress/woocommerce that allows for products to be purchased with algos/asa’s and confirm the purchase as a woocommerce order. Does anyone know how I’d integrate algosigner into wordpress and then into woocommerce?

I’m following this guide … Adding Transaction Capabilities to a dApp Using AlgoSigner | Algorand Developer Portal

Wordpress is PHP however. But i know theres a way to connect them via json

The closest I’ve seen to this is algopay.finance which has a product template that can be integrated into any website … but id like to connect this with WOOCOMMERCE

You will need to write both a JS part and a PHP part.
The JS part will talk to AlgoSigner on one side, and to your PHP backend on the other side.

Adding Transaction Capabilities to a dApp Using AlgoSigner | Algorand Developer Portal explains how to do the former.

You will need to design the latter JS part as well as the backend PHP.