Title: WC Rest Payment
Last modified: March 31, 2019

---

# WC Rest Payment

 *  Resolved [Hammad Ahmad](https://wordpress.org/support/users/hammad6264/)
 * (@hammad6264)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/wc-rest-payment/)
 * Hey, hope you will be fine. Actually I am using WC Rest Payment plugin in my 
   wordpress site. I saw that the plugin was active, and the link was displaying
   in wp-json. I amm using stripe token. When I try to post my Info (payment_token,
   order_id, payment_method) from nodeJS to this link ([https://millionairespeed.com/wp-json/wc/v2/process_payment](https://millionairespeed.com/wp-json/wc/v2/process_payment)).
   I get the error name: code”:401,”message”:”Order ID ‘order_id’ is required..
   
   Here is my code:
 *     ```
         var link = 'https://millionairespeed.com/wp-json/wc/v2/process_payment'; 
        this.http.post(link, order_id, payment_method)
        .subscribe(data => {
        console.log(data)
        })
       ```
   
 * Please help me???
    -  This topic was modified 7 years, 1 month ago by [Hammad Ahmad](https://wordpress.org/support/users/hammad6264/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [sk8tech](https://wordpress.org/support/users/sk8tech/)
 * (@sk8tech)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/wc-rest-payment/#post-11390032)
 * Did you send the API using JSON Body?
 *  Thread Starter [Hammad Ahmad](https://wordpress.org/support/users/hammad6264/)
 * (@hammad6264)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/wc-rest-payment/#post-11395249)
 * Sorry, I did not understand your question. Can you guide me, how can I charge
   stripe payment through this plugin API in angular and NodeJS. I have successfully
   created stripe token and order id. This plugin API ( route and end point ) for
   stripe is showing in JSON code.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WC Rest Payment’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wc-rest-payment.svg)
 * [WC REST Payment](https://wordpress.org/plugins/wc-rest-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-rest-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-rest-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-rest-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-rest-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-rest-payment/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Hammad Ahmad](https://wordpress.org/support/users/hammad6264/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/wc-rest-payment/#post-11395249)
 * Status: resolved