Manual processing of orders

Viewing 5 posts - 1 through 5 (of 5 total)
#58111

coolwd
Member

Hello
whether there is a
Manual processing of orders
After payment for goods?

#58140

Shahriar
Moderator

Hi,

Do you want to keep the order in processing state even after payment completion?

You can utilize wpdmpp_complete_order hook in that case. This hook provides you order id which you can use to change order status after payment.

Adding following code to your theme’s functions.php file should do the trick,

add_action('wpdmpp_complete_order', 'wpdm_pp_change_os');  function wpdm_pp_change_os($oid){      global $wpdb;      $wpdb->update("{$wpdb->prefix}ahm_orders",array('payment_status'►'Processing','order_status'►'Processing'),array( 'order_id'►$oid ));  }

Thanks.

#58460

coolwd
Member

Thanks.
another question
How can I make the sale of accounts from the list?
So that the buyer receives the required number of accounts downloaded from the file.
example:

How to Use the Serial/License Key Code Selling Feature

#58693

Shahriar
Moderator

Not sure what you meant by sale of accounts. If you are referring to license key then it is accessible from Downloads License Manager page. You have to enable license key for products in package settings.

#58712

coolwd
Member

How to sell several lines from a pre-loaded list at once?
For example, the buyer indicated to buy 5 rows from the list
The list contains 100 rows
How to give after payment only 5 lines of 100 lines?

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Manual processing of orders’ is closed to new replies.