VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Abatap on April 08, 2020, 17:36:10 PM

Title: Pay for order only after it has been reviewed by shop manager
Post by: Abatap on April 08, 2020, 17:36:10 PM
Hello, is it possible to postpone online payment until the moment a shop stuff reviews your order and changes the order's status to something like "Confirmed" and then and only then you're allowed to pay for it through VMs Account Maintenance or something?

Here is the situation:
A company sells certain goods the final price of which cannot be precisely measured because of weight and size of each sold item being far from uniform, so the product's catalog price is only an approximation. Right now the company has no online payment method set for orders that clients can place, so the shop manager have to calculate the actual price of each item ordered and then contact the client to name the final offer price and if everything goes well a payment link is sent to the client's email for them to pay for their order which is then updated with a new status and then it's delivered.

Now the company wants to automate some of these steps in such way that the native VM payment option system is used with an exception that you're only being able to pay for your order after it reaches certain amount of processing (gets a reviewed status in other words). Are there any solutions to this problem both stock or 3rd party?
Title: Re: Pay for order only after it has been reviewed by shop manager
Post by: GJC Web Design on April 08, 2020, 18:57:38 PM
perhapswith the daycounts finalize cart plugin

You can configure the email sent on confirmed or what ever to include a message that they can login and pay for the product.
With the daycounts thing you can continue to the checkout with the pending order with  a payment  - the payment plugin will need to be coded so that it only shows up on orders that have the "allowed" status ..
that could be tricky...
Title: Re: Pay for order only after it has been reviewed by shop manager
Post by: Abatap on April 09, 2020, 04:01:16 AM
Thanks for the tip with that finalize plugin. I'll see what can be done about not displaying payment section until the right moment for order finalization.
Title: Re: Pay for order only after it has been reviewed by shop manager
Post by: GJC Web Design on April 09, 2020, 10:50:48 AM
I guess an extra condition in what ever payment plugin you use to check the order status