woocommerce / woocommerce-rest-api

This is the WooCommerce core REST API Package. It runs standalone as a feature plugin too.
71 stars 46 forks source link

UREGNT: Status change closes Paypal payment #282

Open fisoi opened 1 year ago

fisoi commented 1 year ago

Hello,

We have a problem with some orders that are not correctly charged by Paypal. The system is forcing the change of status from "pending payment" to "completed" once we send the order status as being completed. We are a fulfillment company and once we fully pack an order we send the order status to WooCommerce. We send a PUT request with the following body: {"status" : "completed"} When we pull orders that need fulfillment, we only pull orders with a status of 'pending' or 'processing'. completed-paypal What can we do to avoid this kind of issue.

Payment gateway is paypal standard (PayPal Standard redirects customers to PayPal to enter their payment information.) Example shop: eatsmallgiants.com Example order: 8867

The payment is cancelled, and we never received the money which is a big problem.