When downloading the order you see order that are initialized which I'm assuming is orders where the user has gone to the payment provider but not completed the payment.
Can this payment status be added to the list so admins do not have to download the file.
Initialized wouldn't be added to this list as an initialized order is not yet concidered finalized/closed and so wouldn't appear in the orders section yet.
Initialized orders would be visible in the cart section until they are finalized.
We could maybe add something to the carts status dropdown instead. I'll have to review what would be useful to have.
Sorry, I've not been able to look into this just yet.
As an interim, one thing you could do is actually to define your own advanced filter that appears behind the filter icon next to the search box on the list view.
You could define a filter for something like "Begun Processing" that is defined something like this
[AdvancedFilter("hasBegunProcessing", "Has Begun Processing", "Search for orders that have begun payment processing", Group = "Customer", EditorView = "boolean")]
public class OrderHasBegunProcessingAdvancedFilter : OrderAdvancedFilterBase
{
public override bool CanApply(string value)
{
return !string.IsNullOrWhiteSpace(value) && value.InvariantEquals("true");
}
public override IQuerySpecification<OrderReadOnly> Apply(IQuerySpecification<OrderReadOnly> query, IOrderQuerySpecificationFactory @where, string value)
{
return query.And(where.HasPaymentStatus(PaymentStatus.Initialized));
}
}
You can then register this within your startup script
Many thanks for providing the code but we're using Umbraco 8 and Vendr 1.8.6 and the code supplied seems more like v10. Is there a solution for the setup we're using?
Add initialized to payment status
Vendr v1.8.6
Hi
When downloading the order you see order that are initialized which I'm assuming is orders where the user has gone to the payment provider but not completed the payment.
Can this payment status be added to the list so admins do not have to download the file.
Cheers James
Hi James,
Initialized wouldn't be added to this list as an initialized order is not yet concidered finalized/closed and so wouldn't appear in the orders section yet.
Initialized orders would be visible in the cart section until they are finalized.
We could maybe add something to the carts status dropdown instead. I'll have to review what would be useful to have.
Hi Matt
Thanks for taking a look at this, have you managed to come up with a solution?
Cheers James
Hi James,
Sorry, I've not been able to look into this just yet.
As an interim, one thing you could do is actually to define your own advanced filter that appears behind the filter icon next to the search box on the list view.
You could define a filter for something like "Begun Processing" that is defined something like this
You can then register this within your startup script
With this in place you could at least perform an advanced search in the carts section that would provide a list of carts that have been initialized.
Hi Matt
Many thanks for providing the code but we're using Umbraco 8 and Vendr 1.8.6 and the code supplied seems more like v10. Is there a solution for the setup we're using?
Cheers James
Ahh sorry, unfortunately not. The advanced filter feature was added in 2.1.0 so you'd need to upgrade to at least that version.
is working on a reply...