Code

Discussion on WooCommerce Order Approval

Discussion on WooCommerce Order Approval

Cart 532 sales

vanquish supports this item

Supported

340 comments found.

Hi, I was wondering that unregistered customer did not receive any link in notification email they receive (when waiting for approval and when approved).

How do unregistered customer re-open the order page to proceed to payment without asking from the store?

Registered customer can access their approved order from my account page. How about unregistered one?

Thanks

Hi,
the unregister customer receive a link to the Order confirm page. That link is automatically generated by the [order_page_url] shortcode: https://nimb.ws/wjTznJ

I’ve just performed a test, and all seems working: https://www.dropbox.com/s/sik2bihca3fbe0e/wcoa_email.jpg?dl=0

here the page where the user can access the order status and pay it: https://codecanyondemo.work/wcoa/checkout/order-received/5120/?key=wc_order_wn1YVqA2kP8KZ (order received page)

Hello, thank you for your response. Updating several things as feedback: Love your plugin so far.

1) I noticed that the plugin did not configure or arrange to send an immediate order confirmation email upon ordering when using the setting wait for approval before payment. I understand that this may be outside what this plugin currently serve. But if this can be included, that would be much help for don’t-know-how-and-super-noob-even-for-basic-coding like me. Since the normal woocommerce email setting doesn’t provide any order link to be included in the email.

2) Thank you for your test, I didn’t have those text/codes in the “body” before, so maybe it wasn’t there as default in a newly installed plugin? The only text I had was “Good news! Your order has been approved!”. Didn’t even know what or how to use shortcodes. I copied the text you showed above in the test. I tested it, and see below for my result

3) Using the shortcodes “[order_page_url] alone works. But not when using another text as a link. Not sure why when using another text as link, the `:` in https:// is missing and became https// . I tested it on your test webpage, work just fine, didn’t have the bug. Not sure what causing this. Here: https://postimg.cc/njj2cVDY

No 1 works fine. No 2 and 3 will be missing in the link.

Thank your words :) If you enjoyed my plugin please consider leaving the 5 stars…It would help me with sales, I would really appreciate it! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate your purchases. You can also leave the rating through the plugin description page: https://www.dropbox.com/s/v6zaoe0p6cs4x2o/rating.png?dl=0 )

  1. I’m really sorry, this is not part of the plugin and there isn’t any “easy” way to achieve that :(
  2. Yes, it was not on the default message. I’ve improved that aspect in the new version I’ve just released version!
  3. because in the href you don’t have to add the “http://” just add as follows:
    <a href="[order_page_url]">Your order page</a>
    

Hi, I have a issue with the plugin. I have set it to pay first and wait for approval but now the payment gateway does not open for a customer to pay. Please assist.

Hi, what do you mean that the payment gateway does not “open”?

So when I use the “Wait for approval and pay” option a pay button appears after approval and it opens the payment option Paypal. But if I use the “Pay and Wait for approval” option the payment screen to pay does not open so the customer can’t pay before the approval.

For that you should contact the payment plugin support. When selecting the “Pay and wait”, the plugin doesn’t alter the checkout workflow.

When clicking the “place order” button, if you are not able to access the payment gateway site, you need then to report the issue to its developer.

Try eventually to enable the WordPress debug mode and debug log ( https://wp-staging.com/docs/enable-wordpress-debug-log-mode/ ). To do that insert the following lines in the wp-config.php you find on the root of your site:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
reperform the test and see if more clues are reported in the debug.log located in the wp-content folder (for example, any error related to the plugin scripts).

Thank you

Hi, I can’t get the plugin to work on the checkout page. The approval status does not appear after order is submitted with option wait for approval and pay selected.

Is this correct?

Is there a better way of getting support? Usually plugin and theme creators support logs in and checks.

I’m sorry, the Order.php file (located on classes\com) folder, after modifying line 333 should look like this: https://www.dropbox.com/s/cstlq9szos3v8g5/wcoa_order.jpg?dl=0

If it will not work, it means that the issue is specific to the other plugin. In that case, you need to contact their support and ask how to configure/modify it in order to accept the custom “waiting for approval” status as suitable for payment.

my license is showing as invalid when trying to activate in worpdress

Please try using a fully HTML5 compliant browser like chrome or Firefox.

New Ordine email sent to the Admin

I am not getting the admin email to approve products. I mean the notification to approve or reject. Can you please help me?

The 8.0 is good enough.

I tried the plugin in a different server. Admin don’t get any notification for New Order.

Can you solve this ?

As reported earlier, that is an aspect managed by WooCommerce, not by the plugin. There isn’t much I can fix, I can eventually implement a workaround to try to avoid that scenario.

Please, update to the latest 7.7 version. When the order is created after the checkout, the plugin now checks if the new order notification email has been sent. If not, it forces the resending. It should work. Please, perform some tests and let me know. Thank you.

Cheers

Hi, i am interested in this kind of product. but i would like to know if as an admin i can remove items from a customers order before i approve it. ill give a typical scenario to understand if all i need is possible: customer ordered 5 items, he put he’s billing details including credit card and all. before he was charged it reaches the website admin and he inspects the order and see 1 item is not in stock. he removes the item and approves the order, charging the customer credit card for the 4 items remaining.

is this scenario possible with your plugin? if not, what parts of it exactly isn’t possible? thanks

Yes, it is possibile! You can edit the order by removing or adding the products you need and then approve it.

The plugin has also a demo site where you can fully tests its feature. If you need more info feel free to ask.

I need urgent support please, it is not working on my Woo commerce, please contact me so i can send you login details.

What do you mean for “it is not working”? You need to provide more details in order to receive support.

In order to understand if the issue is actually caused by a malfunctioning of the WooCommerce Order Approval plugin, please use the following site: https://codecanyondemo.work/wcoa/wp-admin/ (user: demo, pass: demo) to recreate your scenario. Report me if you are experiencing the issue and if so, please report me a step by step guide on how to.

If not, it means that something in your installation is interfering. In this case, you need to disable all the plugins and see if you experience the issue. If not, re-enable one by one until you find the interfering one. Try also switching temporarily the theme. It might be the cause as well. Thank you for your collaboration.

Purchase code is invalid!

I just bought license and can not activate it on my site

Solved, add blocker was causing issue

Hi, I want to know does the order approval plugin works with jetbookings when it’s integrated with woocomerce?

Hi,
I’m sorry, but the plugins were never tested together.

How can I test it before making a purchase ?

If you send me via private message (click on my name and then use the low-right box) reporting your email, I’ll reply with mine where you can send that plugin. I’ll then set up a private site demo where you can test both plugins.

Hello.

I encountered a bug, but I’m not sure if it’s related to this plugin. I have a payment gateway that works with a bank, in version 6.9, the order status would successfully change to wc-processing after a payment was made.

However, after upgrading to version 7.4, the order status of payments made through this gateway no longer updates to wc-processing, but instead stays at wc-approved.

I tried adding $order->update_status(‘processing’, ‘Processing’) directly after $order->payment_complete() and it works fine in most cases, but in a few cases, the status of the order will immediately revert back to wc-approval-waiting after wc-processing, and I can’t find the reason.

I haven’t installed any other plugins for custom order statuses or used functions.php to add custom statuses. This has been bothering me for two weeks.

Can you help me?

Hello, I’m sorry but I do not see any purchase and support license associated with your account.

Hi

I’m wondering if it is possible to send customers an email with their updated order basket once I have removed items from their order?

Currently, I use this plugin to remove items from customers orders based on if we have stock or not, when we don’t have stock of an item I remove the item from their order (On the woocomerce order page) and now would like to send a email with what item has been removed from their order?

Is this possible?

Hi,
I’m sorry, the plugin is not designed for that. Thank you, however, for your suggestion. I’ll try to do my best for a future release!

Hi. Our client changed it’s brand name. We were staging on a URLwith the previous brand name and when the site went live the client already had the new name. We have now changed the staging website URL to reflect the new brand but were unaware of the 2 domains limit. Is it possible to remove the previous staging domain so we can activate the plugin there?

I’m sorry, but for the purchase code associated to the “grouse.pt” domain, I do not see any second activation. So you should be able to activate without any issue.

If you try to enable activate in the staging site, are you getting an error message? If so, 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
I can try performing some further tests

You’re right. Don’t know why it wasn’t validating the licence. Thank you for your help.

No problem!

Hello there.

The order approval plugin is impressive and works great. However I notice that approval emails are relayed through cloud.em.secureserver.net rather from my site using WP Mail SMTP. This causes the approval emails to be flagged as spam when received by the recipient. Is there any way to send the approval emails directly from my site using WP Mail SMTP? This seems to be the standard method with all my other plugins. Thanks so much.

Unfortunately, there isn’t much I can do more than this. As you can see by editing the Email_Manager.php file you find in the classes\com folder, as you can see on line 83 I try to override the “reply-to:” header.

On line 86 I just invoke the WC_Emails send method ( https://woocommerce.github.io/code-reference/classes/WC-Emails.html#method_send ): https://www.dropbox.com/s/sik2bihca3fbe0e/wcoa_email.jpg?dl=0

Furthermore from my tests, all seems ok. Emails are not marked as spam and the reply is properly performed by using the sender’s email.

I’ll however try performing some further tests.

I found a solution here: https://stackoverflow.com/questions/49171568/custom-reply-to-email-header-in-woocommerce-new-order-email-notification. Modifying the functions.php file with the provided code allowed me to manipulate the Reply-To address.

Glad to hear that!

At last but not least, I would ask you to help me: If you enjoyed my efforts to assist you and/or my plugin please consider leaving the 5 stars…It would help me with sales, I would really appreciate it! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate your purchases. You can also leave the rating through the plugin description page: https://www.dropbox.com/s/v6zaoe0p6cs4x2o/rating.png?dl=0 )

Have a great day!

Is it possible in a next version to have a way to change the text of the Pay button. Either a setting or a filter.. At this time, seems this is a translate setting only…

right, i was focus on filter way… But as you provide a text section settings, it could be a good place to add a new setting as replace whole template seems overkill. This is a low priority request

Yes, the Texts section allows you to customize the main components. The templating system has been introduced in order to perform further customization.

Please update to the latest 7.1 version, it now has two new options to customize the pay and cancel order buttons.

great. As i said, it was not urgent. Thanks

Hi. I use wait and pay method to be able to validate some order before checkout. Seems that in this mode, all orders trigger payment complete because of woocommerce_cart_needs_payment filter adn the way the plugin insert approval workflow

1 /wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1076): WC_Order->payment_complete()

2 /wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1281): WC_Checkout->process_order_without_payment()

3 /wordpress/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(481): WC_Checkout->process_checkout()

This result for all orders :
  • to be flag as paid even if not yet paid
  • to have some status changes (pending->processing, processing->approval…) in order notes in admin panel

This occurs in 6.9 and even in newest 7.0 version

Thanks for your support. perhaps is there a change in woocommerce… After testing, it works, but there is a conflict with another plugin i own : woocommerce-status-order-manager (that allow to add or customize order status), because it also register filtrer on same priority (10), but seems to be executed after, and it reset array with it’s own list. I just set a priority of 20 on your own plugin, and it’s ok now. Is it possible (not urge) to change priority in your next release (i can live with my patched for now). thanks

Thank you for reporting. I’ve just released the 7.3 version that improves that aspect!

top. Thanks

Hi, I tried your demo and I need to ask a few things to see if I can implement your plugin to my client’s online delivery store. The workflow as it is now: 1. User creates an order and has selected the Credit Card payment gateway.gateway. 2. Woocommerce creates the order in the database at the moment that the user presses the Checkout button, even before completes the payment. 3. Your plugin, sets the order status to Waiting for approval. 4. User stays at ../checkout/order-received page and waits for the approval 5. My website alerts me with a sound notification immediately when a new order is created 5. Admin, approves the order (since it is for food delivery) to prepare the food fast

BUT, I cannot be sure if the user will proceed to the payment. But I have to approve the order because in a running restaurant we cannot handle to check if the bank received the payment.

Is there a way with your plugin to achieve the following workflow? 1. Order status upon creation to be anything else but not the “waiting for approval”. 2. If the payment gateway is Credit Card, woocommerce automatically changes the status to completed when user proceeds to the payment successfully and then we can approve the order. 3. We can create some automatic workflows for every order status because now we are notified for every new order that is created but we cannot be sure if we will get paid.

I hope I make sense with all that writing

Hi yes, it makes sense. The new plugin version that I’ve just released should achieve that. It now detects if a payment is performed when the order status is changed by WooCommerce from “pending” to any status that is not “cancelled” or “failed”.

So if you choose the “pay and wait” workflow, until the payment is performed, the order status will be “pending”. Once the payment is actually performed, if the payment gateway you are using is properly performing the transition from “pending” to any other status, the plugin will detect it and switch the status to “waiting-for-approval”.

Thank you, I will inform my developers

I use Paypal gateway For woocommerce

How to deactivate the plugin gateway

To which “plugin gateway” are you referring?

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