Hi @kataty89 – this isn’t something we’ll be able to fully assist with in the forums, but I can point you to the GitHub repo locations for the /cart and /checkout block types:
– https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/master/src/BlockTypes/Cart.php
– https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/master/src/BlockTypes/Checkout.php
Feel free to open a new issue on that repo if you find any issues during the process, as well as creating a PR if you have any suggestions/fixes that will make it easier to integrate other payment methods with.
Thanks!
– Joey
There are also extensibility docs we’ve created for payment methods here: https://github.com/woocommerce/woocommerce-gutenberg-products-block/tree/master/docs/extensibility
However, keep in mind that the Cart and Checkout blocks are still a preview. As we learn more about customer needs and integrate more gateways we might need to change the API’s related to extensibility. We definitely welcome third parties experimenting with the API’s now (any feedback will be invaluable!) but we do caution that it will require vigilance in keeping on top of the changelog and posts on https://developer.woocommerce.com to catch any potential changes we might have to make during the preview.