Code

Discussion on WooCommerce Order Approval

Discussion on WooCommerce Order Approval

Cart 532 sales

vanquish supports this item

Supported

340 comments found.

Hi, we would like to try this plugin with a third party payment gateway plugin. How can we contact you?

Thanks.

Hi,
you can send me a private message by clicking on my name and use the low-right box!

We are loving this plugin. You have the spot to auto-approve when the amount is over a certain value. What we would like to do is automatically approve anything lower than that value and anything higher would need approval. We are using this in conjunction with a custom PO# restriction and it would be super helpful on the administration side of things.

I got this through Elements but I don’t have a problem with purchasing if I your saying you will support it like that. We are really liking this and would like to extend it and we are devs so we have no problem digging in if you point us in the right direction. I def have an account here as I have been on here since the beginning.

Item License Code: YNW2HELV6C

And now you can see I am “supported”!

Thank you for purchasing the license.

The code that automatically approves the order according to the order total is defined in the Order.php file (located in the classes\com folder) at line 389.

To approve an order if it lower that the ser value, replace that line with:
$automatic_approval_order_subtotal = $value > $order->get_subtotal();

Dear vanquish,

after working with your plugin for a while without any problems we are facing major ones since updating.

No matter what we are configuring the system is always doing the same when we get an order:

- at ceckout we instantly see a grey text “approved” - then it switches to green “approved” - then it switches to “rejected”

All in seconds and without any help of a shop manager.

The workflow is considered to have the order on hold until it´s rejected or approved.

We´ve already switched off all 3rd party plugins without any change.

Thx in advance

Most likely it means that something in your specific installation something is interfering. It sounds, however, very strange that even disabling all the plugins and switching the theme, you experience that order status switch without any action by the admin. Especially considering that it was working until some time ago.

As you can understand, even then with the access, if you already performed all those tests, there isn’t much I can test in order to detect which is the possible cause. Unfortunately, I have no clue on which action you eventually performed after which you started to experience that issue.

Are you really sure that you did not enable any option to automatically approve/reject orders according to purchased products, payment gateway, shipping methods, etc?

If you send me via private message (click on my name and then use the low-right box) the following data:
  1. your email address
  2. full admin access to the wp-admin area
  3. FTP access
  4. a detailed step by step guide on how to experience the issue

I can try runt the test using your step-by-step guide to see if I notice something strange. Note that the all the requested info are mandatory.

Hi vanquish, suddenly we solved the problem! For you to know – problem was within the mailserver of our customer. As they have a very high security fence their mailserver follows all links in mails an verifies them. Due to that the mailserver hit the links approved and reject one after another. We now erased them and voila it works.

We thought you shpuld know as it took a while to get behind that.

Thank you for sharing the result of your investigation! I’ll add to my knowloedgebase, it might be useful to other useful!

Have a great day!

Pre Sale Question: I would like to buy this plugin but I would like to know if the buyer can pay as a “guest” I did a test but it looks like when the order is approved to pay, it says that I must login. I would like my clients not to have to create accounts in order to complete the purchase process.

Yes, they can pay as guests. Once the order is approved, the plugin will send an email to notify that.

In the notification, there is a link (created by using the [payment_page_url] shortcode) that in the case of a guest user, will point to the “order received” page (that is then accessible without login).

If the order is instead placed via a registered user, the link will point to the persona My orders -> Order details page. That page will be accessible only by the user that actually owns the order.

Ok. Nice to know that. Is it possible to edit the style of the status page? The Pay button looks too small.

yes, the status page is rendered through a template, named approval_area.php (located in the template folder inside the plugin).

It can be copied into the theme folder and customize as you wish! you find more details on how to in the template folder inside the plugin.

Hi,

I would like to know if this plugin supports Systempay WooCommerce plugin that serves as a payment option?

Also, in the item details you mentioned that the plugin supports only native shipping methods in WooCommerce. Just to be sure, that refers to the WooCommerce Table Rate Shipping plugin too?

Thank you.

Regards

Hi,
I’m sorry the plugin doesn’t have any particular support for the Systempay WooCommerce plugin.

Regarding the WooCommerce Table Rate Shipping, yes it supports the shipping methods added via that plugin.

I have a presale question, well kinda. I got this from Elements, anyway. I was wondering of there was a way to trigger the approval process from a coupon code. Possibly write a conditional and hook into the approval tigger if a coupon code was found. We would like to provide certain customers to be approved on certain orders by their team lead.

Thanks for any possible help.

I’m sorry, the plugin hasn’t such an option. Thank you however for your suggestion, I’ll try to include this feature in a future release!

Hi!

I need to be able to let specific user roles (management) manual approve certain items and get an email notification.

For example, employee one orders six items. Once the order is placed, the management role will go in and approve or reject the cart. It would be excellent for the management role to add or take away from the cart as well.

It would be ideally let the management role approve orders through the my-account page.

Thanks again!

Hi, I’m relly sorry the plugin hasn’t such option :(

Hi. I have setup my plugin on “wait for approval and pay”. After the payment is done, I expect both the admin and the customer to receive an email, but no email is sent to them. Is it possible? By the way, all email settings of woocommerce is enabled.

Hi,
I’m sorry but after a payment is performed, both the plugin and woocommerce don’t send any specific email.

The only email notification that WooCommerce sends are the ones sent after an order is placed and when the order status of an order is changed.

The plugin sends notifications emails only when the approval status changes.

Hi is it possible for user to placed order without paying and get the approval in same window by waiting 5- 10 min. and once the order is approve. payment will deducted. And is it compatible with woocoomerce app ? Please let me know

Thanks

Hi,
I’m sorry, but the order has to be approved by the admin, so it depends actually on the time he takes to approve the order.

You find, however, some options to automatically approve the order according to some conditions (like the payment gateway, shipping methods, specific products) or to cancel the order if it has not been paid in X minutes after the approval.

The plugin hasn’t any specific support to the woocommerce app.

The plugin has also a demo site where you can fully test its features before any eventual purchase.

in demo site i am unable to placed order. I am getting this error “The order cannot be placed, no valid time is available”. I have selected the pay and wait option

It was because someone enabled the time selector without giving a proper time range, so it was impossible to select a delivery time.

I’ve disabled the option, you should now be able to place orders.

Hi there,

Is it possible to make the PAY button slightly bigger (wider) ? It is kinda of small.

If also colour can be added that be great too :-)

Thanks

Hi,
the style of that button inherits the theme button style. So you should eventually edit your edit css to customize that button.

You can eventually edit the approval_area.php template file by coping into your theme folder ({your_theme_folder}/woocommerce-order-approval/frontend/approval_area.php )

The button is defined at line 55 and inherited the woocommerce-button button pay classes style: https://www.dropbox.com/s/cvv2jk6rix8f2kq/wcoa_template.jpg?dl=0

Feel free to customize (by assigning custom css style or directly modifying the theme css style) as you need!

Hi

Thanks for getting back so promptly

I did follow the above and it did not work for me :-(

I was hoping for a quick fix like adding a code with some css styling (which I can change) to my theme function.php to edit the size, colour etc.

Thanks anyway ;-)

Hi there,

Cool plugin. I don’t want to show the approval message at all on the order confirmation page when a user who is automatically approved goes through checkout. My Woocommerce site serves both customers and internal sales team. Obviously you’re not going to ask customers to wait for approval. Please advise.

Thanks! Charles

Hi there, this fix did not work. My theory is that actually automatically approved orders go through the stage of requiring approval anyway. So at some point in the loop every order is “not approved”. I’ve resolved this by checking group membership, but you should release an update where your plugin loops through all approval exclusion conditions and hides the approval area.

Moreover, I’ve found that every order is in approved status when the admin-new-order.php WooCommerce email notification is fired off. I need this feature so that I can hide the reject/approval links for orders which don’t require approval. I’ve had to workaround again by checking group membership. Just FYI

I’m sorry, that was not a fix, but a suggestion on how to customize the software according to your need.
That example suggests which strategy you might consider reaching your goal (in the example, which action was a friend while the template was rendered to know on which page the approval area was rendered). However, feel free to use any other solution, there are many paths to achieve the same goal.

For now, there is no plan to hide the approval area in case an order is automatically approved. The area is still used by other customers in order to give visual feedback to the customer about the order approval status.

The plugin hasn’t any particular support for the membership plugin. Thank you however for sharing more info about your scenario, I’ll do my best for a future release!

@vanquish Hello, maybe you remember me, i asked you for a issue with translation. I did this:

Under WooCommerce Order Approval > Texts > Approval area I deleted all texts there and saved it. Now in My Account the text disappear in all languages.

I noticed now, that you made this text from WooCommerce Order Approval > Texts > Approval area as default. If you change this text, it will appear, if you delete this text it wont show, it does not matter if you have/add the .mo and .po files. In fact the .mo and .po files are useless.

Can you please make this plugin to use the text directly from the script and not from WooCommerce Order Approval > Texts > Approval area ? Because this is the issue here! You can translate all the .mo and .po files, but the plugin use only the text from WooCommerce Order Approval > Texts > Approval area which is added.

Yesterday i have purchased your WooCommerce Support Ticket System Plugin and i translated it perfectly.

To make it short: The translation depend on WooCommerce Order Approval > Texts > Approval area added text and not on .mo and .po files.

Thank you :)

yes, the second step of the timeline is dynamically rendered according to the current order status and is managed from line 24 to 32: https://www.dropbox.com/s/9pa0ojyf28rwykz/wcoa_approval_area.jpg?dl=0

as you can see, the class assigned to the div depends on the result fo the $wcoa_order_model->get_approval_status($order) function as well of the $result_text (that is set at line 9 according the $wcoa_order_model->get_approval_status($order) result as reported in the previous comment).

Ah ok, this seems more complicated. In German shows everything correct, but when i switch to italian, then its not changing. I think i did something wrong, i have to investigate it, to see what i did. Thank you :)

Hi there, just buy Woocommerce order approval and installed on my site. The thing is, the settings of order approval doesn’t show half of the option I see on you demo and on your print screens.

How can I fix this ?

Hi,
I’m sorry, but without any further clue it is quite hard to determine the cause and suggest a solution.

could you share a screenshot? Could you try disabling the other 3rd party plugins and report me if you still get the issue?

Thank you!

Hi there, I have a pre-sale question for the plugin. I have tested the Demo but didn’t find any front-end dashboard for the manager/admin to approve or reject the order. Is there an option for that in the premium version?

Hi,
the order must be approved via the admin area, by accessing the Order list page: https://nimb.ws/BOwIuU

Well, thank you so much

Hello, plugin looks great… one question before purchasing…

Can I set this up so that a brand new customer needs approval before they can order… and a returning (approved) customer can purchase without approval?

Thanks!

For that you might give a try to the “automatic approval” feature and use the “user role” option.

You can create a special “returning customer” role to assign to the returning customer and use the “Wait for the approval and pay” strategy: https://nimb.ws/cXNFGJ

In this way, new customer, when placing and order, need the admin to prove that order. Once approved, you have to manually assign the “returning customer” role to that user. So the next orders placed by that user will require no approval.

Hello, i purchased your Plugin and its fine, but it seems not working with Translatepress Plugin https://wordpress.org/plugins/translatepress-multilingual/ .

I have 3 languages, German, Italian and France. German is the default language, but when i switch to Italian or france then the text is not showing.

I think because of the link: mydomain.com/it/my-account/view-order/7076/ https://ibb.co/Byq3p1S

In german: https://ibb.co/gMRNsDn

Can you simply check it? The Plugin Translatepress is free, so you can look at it. Thank you :)

I’m really sorry, but I cannot provide support for 3rd party plugins. You should eventually contact their support team reporting their issue.

Furthermore, the file language loading, is performed by the WordPress core, not by the plugins.

What I can say is to eventually try using a more proper program to create the translation files like the https://poedit.net/ . You find the main translation file (woocommerce-order-approval.pot) inside the language folder inside the plugin.

I tried it also with Loco Translate but i fail. (I also have poedit)! I use more than 40 plugins and all works well with the translation plugin (Translatepress), only yours stuck there.

Something is missing there, i have no idea why and what is missing or why in other languages the text from your plugin disappear. I will pay you, no problem, can you see whats going on? I can send you money in paypal.

Dont let me hanging now

I’m really sorry, but as reported earlier, I cannot provide support for software I have not designed. As you can understand, I have no idea how that software works and which subcomponent might be causing the issue.
Without paying, you can just report the issue to that plugin developer and have assistance.

Make eventually sure that the language code you are using is actually the one associated with the translation files. Note also that some dynamic text must be customized/translated through the “Text” area you find in the “General options & text” menu: https://nimb.ws/st2fnX

For static strings, I can only suggest using the poedit editor. All the users that created the translation files with that program, were able to create the translations.

I have the Pay and Wait for approval method, but when an order gets rejected the client is charged and received the “thank you for shopping with us email” alongside the order details. How can I fix this?

vanquish vanquish AUTHOR

2 days ago Flag The payment is charged by the payment gateway once the order is paced. Same thing happens for the “thank you” email notification.

The plugin hasn’t any feature that alters payment gateways in order to charge users.

As you can test on the demo site, in a fully working environment, once an order is rejected (using the pay and wait method), no further emails are sent.

In your case then, the issue might be related to a 3rd party plugin that is altering the normal payment and notification workflows. To identify which is, try disabling all of them. Then re-enable one by one until you find the interfering one.

floridagarden floridagarden PURCHASED SUPPORTED

2 days ago Flag My goal is to not have to process the payment until the order is approved, but its not effective to send clients emails for payment after the order is approved. That’s what I though i would be able to do with this plug in. Please let me know if there is a way. Thank you!

I’m really sorry, but as reported in the previous messages, the plugin hasn’t any feature to alter payment gateways.

Each payment gateway implements its own payment workflow and it is not said that it can actually charge after an order has been placed and it is not said it allows 3rd parties to perform that action.

In any case, as you can see on the description page, the plugin hasn’t any paragraph reporting any feature that claims to alter payment workflow.

I have the Pay and Wait for approval method, but when an order gets rejected the client is charged and received the “thank you for shopping with us email” alongside the order details. How can I fix this?

The payment is charged by the payment gateway once the order is paced. Same thing happens for the “thank you” email notification.

The plugin hasn’t any feature that alters payment gateways in order to charge users.

As you can test on the demo site, in a fully working environment, once an order is rejected (using the pay and wait method), no further emails are sent.

In your case then, the issue might be related to a 3rd party plugin that is altering the normal payment and notification workflows.
To identify which is, try disabling all of them. Then re-enable one by one until you find the interfering one.

My goal is to not have to process the payment until the order is approved, but its not effective to send clients emails for payment after the order is approved. That’s what I though i would be able to do with this plug in. Please let me know if there is a way. Thank you!

I just bought File Approval… Can I use Order Approval with File Approval so when a customer approve the file they can then buy the item or product that has been approve?

Thanks for replying to the email. Just one more question… Can I use Order Approval and File Approval at the same time without any conflicts.

Yes, you can use both without any kind of issue.

If you need, I can eventually setup a private demo site where you can test both in action in order to be sure they work as you expect before any purchase. In this case, resend me a private message reporting also your email address. I’ll send you the URL and the access to that site.

Super! Thank you for your support. I really appreciate it.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey