Forum
Account only customers order status
Hi
When my customer checks out with the manual cart, e.g. no payment gateway. The order status automatically says 'Payed'.
Can I change this somewhere to automatically use 'Created' instead?
Hi
When my customer checks out with the manual cart, e.g. no payment gateway. The order status automatically says 'Payed'.
Can I change this somewhere to automatically use 'Created' instead?
Yes, you can set it in the options for
perch_shop_checkout()
Hi Using that now effects my order success. e.g...
Results in 'Sorry'
Is there something I can change here?
Hi William
I have added a new status to apply to manual orders -
manual - unpaid
. You can add new ones in the Shop interface in Perch. Hope this helpsMike
If the order is only created then it's not successful. The 'created' status doesn't give any indication that the order has been through checkout at all.
Hi Mike
Thanks, I didn't notice you could do that. I have tried it but it's still returning the unsuccessful message. How do I make it true?
Hi Drew
What should I use to send the order to perch if not the checkout? Excuse me if I'm missing something glaringly obvious.
The 'created' status is the default state for an order when it is created, before it's been paid for.
perch_shop_order_successful()
will return false because 'created' is not a successful state.You'll not be able to tell the difference between a completed and an abandoned order.
That said, with the manual gateway, I can't think of a scenario where you'd need to test
perch_shop_order_successful()
.Ah, ok. Then I suppose my question is how to display the order details in my result page without using
Is there an alternative?
Unless I just take them to their account page where I have a list of all past orders.
You need to give a status of 100 or more.
Thanks both. I have a working model now )
Hi William, I'm having the same issue you did it seems. Looks like you got it working, any chance you could share the code snippets?