PayPal orders don’t get order status
-
Hi –
I’m using Order Splitter for WooCommerce to automatically split orders when they contain specific products.
In our WooCommerce store we use both Stripe and Paypal as payment gateways, giving the customer the choice at the checkout.
Order Splitter works great with Stripe, but when a customer pays for an order using PayPal, the order gets split as it should but the order ‘parts’ are not given the correct order status.
I have a custom order status called ‘Parent Order’. When an order gets split, the original order is given the status of ‘Parent Order’. (‘Parent Order’ isn’t included in revenue reports or exported to fulfilment) and the split parts of the order should be given the ‘Processing’ status as the order has been paid for. These split parts are included in reports and sent to fulfilment.
However when a customer uses PayPal, the ‘Parent Order’ status isn’t applied (instead it has the ‘Processing’ status) and the split order parts are given the ‘Pending’ status (when it should be ‘processing’ status).
The issue only occurs when a customer pays using PayPal. It works great when they pay by card using Stripe.
I’ve tried various things, and changing the hook that’s used (in the Cron Jobs / Action Hooks’ tab), but can’t manage fix the problem.
Is it something you are aware of? Perhaps it’s to do with how the PayPal payment works (as the customer is taken to Paypal, and then back to the site).
It’s strange, because the order is split correctly, but all the parts or the order (both original and split parts) have incorrect order statuses.
I hope that makes sense and hope you might be able to suggest a fix or work around?
Many thanks
- The topic ‘PayPal orders don’t get order status’ is closed to new replies.