Title: Process Payment While Creating Order Via API
Last modified: November 19, 2021

---

# Process Payment While Creating Order Via API

 *  Resolved [Mikel](https://wordpress.org/support/users/ogmic/)
 * (@ogmic)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/process-payment-while-creating-order-via-api/)
 * Hi, currently using the WooCommerce REST API v2, I can successfully create an
   order in a pending, unpaid state but the payment is not processed. I am using
   the Terawallet Plugin.
 * What is the proper way using the REST API v2 to create an order and have WooCommerce
   process the payment using the Terawallet payment gateway?
    -  This topic was modified 4 years, 6 months ago by [Mikel](https://wordpress.org/support/users/ogmic/).

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

 *  [Abiola Ogodo](https://wordpress.org/support/users/oaoyadeyi/)
 * (@oaoyadeyi)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/process-payment-while-creating-order-via-api/#post-15087337)
 * [@ogmic](https://wordpress.org/support/users/ogmic/)
 * Since the question is regarding terrawallet integration with the API, I believe
   your question will be best answered on their forum here: [https://wordpress.org/support/plugin/woo-wallet/](https://wordpress.org/support/plugin/woo-wallet/)
 * Let me know if you have further questions or if you need further assistance.
 *  Thread Starter [Mikel](https://wordpress.org/support/users/ogmic/)
 * (@ogmic)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/process-payment-while-creating-order-via-api/#post-15087345)
 * Hmmn [@oaoyadeyi](https://wordpress.org/support/users/oaoyadeyi/), the question
   is not about Terawallet. I asked “What is the proper way using the REST API v2
   to create an order and have WooCommerce process the payment?”
    -  This reply was modified 4 years, 6 months ago by [Mikel](https://wordpress.org/support/users/ogmic/).
 *  [Abiola Ogodo](https://wordpress.org/support/users/oaoyadeyi/)
 * (@oaoyadeyi)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/process-payment-while-creating-order-via-api/#post-15089253)
 * [@ogmic](https://wordpress.org/support/users/ogmic/)
 *     ```
       This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
   
       I can also recommend <a href="https://developer.woocommerce.com/" rel="noopener" target="_blank">the WooCommerce Developer Resources Portal</a> for resources on developing for WooCommerce.
   
       You can also visit the <a href="https://www.facebook.com/groups/advanced.woocommerce/" rel="noopener" target="_blank">WooCommerce Facebook group</a> or the <code>#developers</code> channel of the <a href="https://woocommerce.com/community-slack/" rel="noopener" target="_blank">WooCommerce Community Slack</a>. We're lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.
       ```
   
 * t
 *  [MayKato](https://wordpress.org/support/users/maykato/)
 * (@maykato)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/process-payment-while-creating-order-via-api/#post-15132616)
 * This thread has been inactive for a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

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

The topic ‘Process Payment While Creating Order Via API’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [Terawallet](https://wordpress.org/support/topic-tag/terawallet/)

 * 4 replies
 * 3 participants
 * Last reply from: [MayKato](https://wordpress.org/support/users/maykato/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/process-payment-while-creating-order-via-api/#post-15132616)
 * Status: resolved