I’m working on an android app based on a 3 Tier architecture. I have set up a products page and the Pay Now button integrated with PayPal. I also receive Success
message after successful payment.
I’m now stuck at the order function. Which function of Woocommerce makes the order?
I’m simply trying to pass the price, product_id and other details to that particular function which will take care of the rest of the process.
Any help would be much appreciated. Thank you.
Here is some code that will generate an order. You’ll have to substitute in your payment gateway class