Manual processing of orders

in Download Manager Free

Viewing 5 posts - 1 through 5 (of 5 total)
May 22, 2017 at 2:05 pm
#58111
Member
coolwd
OP

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

May 23, 2017 at 5:40 am
#58140
Moderator
Shahriar
Staff

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.

May 31, 2017 at 1:24 pm
#58460
Member
coolwd
OP

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

Jun 5, 2017 at 9:44 am
#58693
Moderator
Shahriar
Staff

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.

Jun 5, 2017 at 4:14 pm
#58712
Member
coolwd
OP

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.