Change default order status when paying with Paypal
-
Hi,
So we have our platform with some custom code. We have vendors and clients. When a client buys a product (virtual) from a vendor, the vendor has the chance to either accept or refuse the order. To make that happen, we did some custom code so that when an order is placed and paid, the status changes to ‘on-hold’. The custom code for the Accept/Reject buttons is based on the order status, as they only appear when status is ‘on-hold’. To sum it up:
- Client buys product from vendor
- Order status change to ‘on-hold’
- ‘On-hold’ status make the Accept/Reject order appear for the vendor
- When vendor accepts order, order status changes to processing
We had no problem in the past with payment methods (bank transfer, redsys), but Paypal directly changes the status to ‘processing’ when payment is done. We have tried a few custom snippets to force the status to change to ‘on-hold’ but so far they don’t seem to work.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.