WC REST Payment Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
If you are a front end developer, looking to develop an app/web with WordPress+WooCommerce as your backend using REST API. You will find that WooCommerce docs does not provide the process payment endpoint.
WC REST Payment adds in the missing REST API endpoint for process payment in WooCommerce
.
IMPORTANT NOTICE:
After payment is processed successfully, the status
of order
will be automatically changed to Completed.
If you with to the status to be set to status other than Complete after successful payment process, please submit a pull request.
Usage
Send request with JSON body. See Screenshot.
{
“payment_method”: “stripe”,
“order_id”: “7843”,
“payment_token”:”tok_mastercard”
}
- A list of available
payment_method
can be found at FAQ below. - ??order_id?? should be the existing order id in your WooCommerce dashbaord.
- A list of available
payment_token
for Test Mode can be found at Stripe Testing.
Contact Us
Based in Sydney, SK8Tech is a innovative company providing IT services to SMEs, including Web Design, App Development and more.
Screenshots
-
An sample REST API POST request to process payment using WC REST Payment.