Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Process payments from the REST API

$
0
0

Replies: 0

Hi,

I’m currently making an app for my Woocommerce store. I used the rest API to list products, process customer’s accounts and add products to the cart. Now I need to code the checkout process, however I don’t know how I should take the customer’s credit card info on the app and processing it on Woocommerce. There doesn’t seem to be an API endpoint for this.

I use Paypal (it opens in another window), and Stripe Checkout (from the free Woocommerce Stripe plugin) to process payments on my store.

How can I process payments from a third-party application? Is it possible to open the checkout page on an in-app browser so the customer can type their payment information?

I’ve noticed that other apps open a modal within the app that shows Paypal/Stripe Checkout, and when the customer fills everything in and pays, the modal redirects back to the app with a success response. I have researched but my Google-fu wasn’t enough to find relevant info regarding this.

Can someone help me with some insight?

Thanks


Viewing all articles
Browse latest Browse all 59525

Trending Articles