Forum Replies Created
-
AuthorPosts
-
adminwvgs
SpectatorAlso note from the log file that it claimed to have found the same members for membership level Member and Registered. There are also no members that have multiple levels.
adminwvgs
SpectatorYes, all members in the members table have the Member level (which is 2). No one (active, inactive, or expired) has the Registered level (4).
Jim
March 30, 2020 at 12:32 am in reply to: eMember Form Builder profile creates meta_value error on empty text fields #80405adminwvgs
SpectatorUpdate: I also see that any update (admin or member) to a profile puts all text fields in the meta_value even when no text was entered. This did not happen with the Form Builder before I updated. There is no reason to put an empty text field in the meta_value. It should have only form items that have been selected or filled out.
adminwvgs
SpectatorThe Manage Products page Bulk Actions->Delete function fails if the products are in a category.
Actually it looks successfully but the wp_eStore_cat_prod_rel_tbl entries for the deleted products are not removed.
Deleting a single product with the Edit Delete does remove the rel_tbl entry.
To reproduce:
1. Have at least 3 products and assign each of them to a category (assumed to be id=1 for the following)
2. Create a page to display all the products in the category using the shortcode: [wp_eStore_category_products:category_id:1:end]
3. Go to the page to see the 3 products.
4. Go to the admin Manage Products page and select 2 of the 3 products.
5. Apply the Bulk Delete
6. The products will disappear as expected.
7. Go to the page to see the remaining 1 product.
You will see php errors because the deleted products are are still in the category table but no longer in the product table!
March 27, 2019 at 1:23 am in reply to: Not getting entry to POST IPN to a 3rd Party Application #79394adminwvgs
SpectatorI put the recommended hook and function in my child theme functions.php file. The function is still not being called. This is a purchase of a membership renewal. Here is the simple addition:
add_action('eStore_product_database_updated_after_payment', 'after_payment_tweak', 10, 2);
function after_payment_tweak($ipn_data, $cart_items) {
$ipn = print_r($ipn_data, true);
$cart = print_r($cart_items, true);
$data = $ipn . "n" . $cart;
global $wpdb;
$table = $wpdb->prefix . 'test';
$row = [ 'data' => $data];
$res = $wpdb->insert( $table, $row );
}Here is the relevant IPN log entry, so the payment was made:
[deleted log after checking]
March 26, 2019 at 8:43 pm in reply to: Not getting entry to POST IPN to a 3rd Party Application #79393adminwvgs
SpectatorI assume eStore is completely done when this hook is called. Is that correct? If so I assume no return needed from the call to the payment tweak function?
Is this hook:
add_action('eStore_paypal_payment_received', 'paypal_payment_received', 10, 2);
function my_custom_payment_tweak($ipn_data, $cart_items)
{
//Do something here
}equivalent except the eStore product update may not be complete?
-
AuthorPosts