WooCommerce as headless CMS – payments via plugin

[ad_1]

Hey All,

I'm not sure how big the market for this is, but does anyone have any experience using WooCommerce as a headless backend, and specifically with payments/orders?

I'm creating a custom front end for a client and using their WooCommerce/WP as a headless backend/CMS, and I've had a ton of success so far with most things (products, rendering articles, etc.).

Now I'm getting to the point where I need to start focusing on payments, and I'm kind of lost for next steps.

I guess my question is: Is it possible to integrate the actual WooCommerce payment gateway plugins (Clover and Paypal) into my custom front end just with the WC or WP api? Or do I have to do a custom implementation of the payment gateways in my code and then configure them to communicate with WC post-payment for ordering? I'm hoping option A is possible, and dreading option B D:

I've found the WP/WC api endpoints for retrieving/updating payment gateways (and seemingly just returning info about them), but I haven't found any documentation related to actually making payments.

Thank you for your time!

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer