{"id":80699,"date":"2018-01-24T02:03:47","date_gmt":"2018-01-24T02:03:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wc-rest-payment\/"},"modified":"2019-03-03T04:14:37","modified_gmt":"2019-03-03T04:14:37","slug":"wc-rest-payment","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wc-rest-payment\/","author":15916416,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.1","stable_tag":"trunk","tested":"5.1.22","requires":"4.7.0","requires_php":"5.2.4","requires_plugins":"","header_name":"WC REST Payment","header_author":"SK8Tech","header_description":"WC REST Payment adds in the missing REST API endpoint for **process payment** in WooCommerce.","assets_banners_color":"","last_updated":"2019-03-03 04:14:37","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/sk8.tech\/donate?utm_source=readme&utm_medium=plugin&utm_campaign=wc-rest-payment","header_plugin_uri":"https:\/\/wc-rest-payment.com?utm_source=plugin&utm_medium=readme&utm_campaign=source-code","header_author_uri":"https:\/\/sk8.tech?utm_source=plugin&utm_medium=readme&utm_campaign=wc-rest-payment","rating":5,"author_block_rating":0,"active_installs":30,"downloads":6137,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","faq","changelog","description"],"tags":[],"upgrade_notice":{"1.4.0":"<ul>\n<li>The old <code>wc\/v2\/payment<\/code> REST API Endpoint has been removed from README,<\/li>\n<li>The old <code>wc\/v2\/payment<\/code> stop working in v2.0.<\/li>\n<li>New Docs can be found at https:\/\/docs.wc-rest-payment.com?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=readme<\/li>\n<\/ul>","1.3.0":"<ul>\n<li>The old <code>wc\/v2\/payment<\/code> REST API Endpoint is deprecated, and will be removed in v2.0. <\/li>\n<li>Please start updating to new API Endpoint ASAP<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1808275","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1808275","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.5","1.1.0","1.1.1","1.2.0","1.3.0","1.4.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2038183","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2038187","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2038187","resolution":"3","location":"assets"}},"screenshots":{"1":"An sample REST API POST request to process payment using <a href=\"https:\/\/wordpress.org\/plugins\/wc-rest-payment\/\">WC REST Payment<\/a>."}},"plugin_section":[],"plugin_tags":[32184,23853,14374,286,9239],"plugin_category":[45],"plugin_contributors":[151394,152205],"plugin_business_model":[],"class_list":["post-80699","plugin","type-plugin","status-closed","hentry","plugin_tags-json-api","plugin_tags-rest-api","plugin_tags-wc","plugin_tags-woocommerce","plugin_tags-woocommerce-payment","plugin_category-ecommerce","plugin_contributors-jack50n9","plugin_contributors-sk8tech","plugin_committers-jack50n9","plugin_committers-jonmlas","plugin_committers-sk8tech"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wc-rest-payment.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wc-rest-payment\/assets\/screenshot-1.png?rev=2038183","caption":"An sample REST API POST request to process payment using <a href=\"https:\/\/wordpress.org\/plugins\/wc-rest-payment\/\">WC REST Payment<\/a>."},{"src":"https:\/\/ps.w.org\/wc-rest-payment\/assets\/screenshot-2.png?rev=2038187","caption":""},{"src":"https:\/\/ps.w.org\/wc-rest-payment\/assets\/screenshot-3.png?rev=2038187","caption":""}],"raw_content":"<!--section=installation-->\n<ol>\n<li>Visit <strong>Plugins<\/strong> &gt; <strong>Add New<\/strong><\/li>\n<li><strong>Search<\/strong> for <code>WC REST Payment<\/code><\/li>\n<li><strong>Activate<\/strong> WC REST Payment from your <strong>Plugins<\/strong> page<\/li>\n<li><strong>Read<\/strong> the documentation to <a href=\"https:\/\/docs.wc-rest-payment.com?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=readme\">Get Started<\/a><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Do you have a demo?<\/dt>\n<dd><p>Yes! You can check out our <a href=\"https:\/\/wc-rest-payment.com\/demo?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=readme\">Demo Shop<\/a>.<\/p>\n\n<p>If you need assistance, feel free to email us at wc-rest-payment@sk8.tech.<\/p><\/dd>\n<dt>What version of WordPress is required?<\/dt>\n<dd><p>For security, we always recommend the latest version of WordPress.\nFor native REST API support, we recommend you use WordPress 4.7+.\nFor WordPress version lower than 4.7, you will need to install <a href=\"https:\/\/wordpress.org\/plugins\/rest-api\/\">WordPress REST API (Version 2)<\/a>.<\/p><\/dd>\n<dt>What version of WooCommerce is required?<\/dt>\n<dd><p>WooCommerce v2.2+<\/p><\/dd>\n<dt>Is it secure?<\/dt>\n<dd><p>It is, if security is implemented properly.<\/p>\n\n<p>Please see the <a href=\"https:\/\/docs.wc-rest-payment.com\/security?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=readme\">Security Documentation<\/a>.<\/p><\/dd>\n<dt>There's a bug, what do I do?<\/dt>\n<dd><p>Please email us at wc-rest-payment@sk8.tech.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Compatible &amp; Safe to Update<\/li>\n<li>Security Fix<\/li>\n<li>Added Documentation<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Compatible &amp; Safe to Update<\/li>\n<li>Added More Payment Gateways<\/li>\n<li>Direct Bank Transfer<\/li>\n<li>Cheque<\/li>\n<li>Cash on Delivery<\/li>\n<li>PayPal Standard<\/li>\n<li>Added API Endpoints<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Compatible &amp; Safe to Update<\/li>\n<li>Added Dependency Check<\/li>\n<li>Improve Error Message<\/li>\n<li>Added API Endpoints<\/li>\n<li>Updated 'process_payment' code to latest<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Safe to Update<\/li>\n<li>Bug Fixes<\/li>\n<li>Added Plugin Analytics<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added REST API endpoint for <a href=\"https:\/\/woocommerce.com\/products\/woocommerce-gateway-paypal-express-checkout\/\">PayPal Express Checkout<\/a> Payment Gateway.<\/li>\n<li>Restructured plugin directory for future development.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<li>REST API endpoint for <a href=\"https:\/\/woocommerce.com\/products\/stripe\/\">Stripe<\/a> Payment Gateway.<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>WordPress and WooCommerce is awesome! Wouldn't it be even more awesome if leverage WooCommerce for mobile apps as well?<\/p>\n\n<p>With REST API, you can already Create, Read, Update and Delete Posts, Pages, Products and Orders. The only key feature missing is being able to <strong>Process WooCommerce Payments using REST API<\/strong> via different gateways.<\/p>\n\n<p>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 <a href=\"http:\/\/woocommerce.github.io\/woocommerce-rest-api-docs\/\">WooCommerce docs does<\/a> not provide the <strong>process payment<\/strong> endpoint. This is where WC REST Payment comes in.<\/p>\n\n<p>With WC REST Payment, you can process WooCommerce Payments using REST API. Supports Direct <strong>PayPal Standard<\/strong>, Bank Transfer, Cheque, Cash on Delivery and more.<\/p>\n\n<h4>Process Payment using REST API<\/h4>\n\n<ol>\n<li>Send a REST API <code>POST<\/code> Request to <code>\/wp-json\/wc\/v2\/process_payment<\/code>.<\/li>\n<li>Include a JSON Body with <code>order_id<\/code> and <code>process_payment<\/code>.<\/li>\n<\/ol>\n\n<p>Please read the <a href=\"https:\/\/docs.wc-rest-payment.com?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">Getting Started Guide<\/a>.<\/p>\n\n<h3>WooCommerce Basic Gateways<\/h3>\n\n<p>WooCommerce Basic Gateways are supported by WC REST Payment.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/docs.wc-rest-payment.com\/gateways\/paypal\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\"><strong>PayPal Standard<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/docs.wc-rest-payment.com\/gateways\/bacs\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">Direct Bank Transfer<\/a>,<\/li>\n<li><a href=\"https:\/\/docs.wc-rest-payment.com\/gateways\/cheque\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">Cheque<\/a><\/li>\n<li><a href=\"https:\/\/docs.wc-rest-payment.com\/gateways\/cod\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">Cash on Delivery<\/a><\/li>\n<\/ul>\n\n<h3>WooCommerce Addon Gateways<\/h3>\n\n<ul>\n<li><strong>Stripe<\/strong> ^<\/li>\n<li><strong>PayPal Checkout<\/strong> ^<\/li>\n<li>More Coming Soon<\/li>\n<\/ul>\n\n<p>^ Feature already working, Documentation is Coming Soon.<\/p>\n\n<h4>Technical Support<\/h4>\n\n<p><strong>SK8Tech - Customer Success Specialist<\/strong> offers <strong>Technical Support<\/strong> to configure or install <strong><em>WP REST User<\/em><\/strong>.<\/p>\n\n<h4>Our Services<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/sk8.tech\/web-design\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">SK8Tech Sydney Web Design<\/a><\/li>\n<li><a href=\"https:\/\/sk8.tech\/services\/enterprise\/email-hosting\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">SK8Tech Enterprise Email Hosting<\/a><\/li>\n<li><a href=\"https:\/\/sk8.tech\/services\/enterprise\/it-support\/emergency-support\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">SK8Tech Emergency IT Support<\/a><\/li>\n<li><a href=\"https:\/\/sk8.tech\/services\/wechat\/?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">SK8Tech WeChat Advertising<\/a><\/li>\n<\/ul>\n\n<h3>Contact Us<\/h3>\n\n<p>Based in Sydney, <a href=\"https:\/\/sk8.tech?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">SK8Tech<\/a> is a innovative company providing IT services to SMEs, including <a href=\"https:\/\/sk8.tech\/web-design?utm_source=readme&amp;utm_medium=plugin&amp;utm_campaign=wc-rest-payment\">Web Design<\/a>, App Development and more.<\/p>","raw_excerpt":"WordPress and WooCommerce is awesome! Wouldn&#039;t it be even more awesome if leverage WooCommerce for mobile apps as well?\n\nWith REST API, you can a &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/80699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=80699"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sk8tech"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=80699"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=80699"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=80699"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=80699"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=80699"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=80699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}