Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter redjersey

    (@redjersey)

    @joyously what I meant is which method will be the easiest to maintain 2 codebases.

    Thread Starter redjersey

    (@redjersey)

    Hi,

    URL, admin login are not necessary. Even if I provide those info, they are already deleted and problem cannot be reproduced right now (until I have lots of archived listing waiting to be deleted) According to apache documentation the max URL length is set to 8190 characters (LimitRequestLine = 8190) so if you keep deleting archived listings (or other listings) without clicking on some other links and going back to the listing page _wpnonce=xxxxxxxxx&_wp_http_referer=%2Fwp-admin%2Fadmin.php will keep appending to the URL and eventually hit the max.

    This is not a serious issue as it can be solved by clicking on some other links, once loaded click on the listing page link and keep deleting. It’s just I think you should know the bug exists.


    tried again and it seems like it’s working now

    I’m having the exact same problem, I don’t have 2 – factor authentication turned on. All of the sudden I can’t post instagram from wordpress.

    When I tried to reconnect, I will have a popup asking for the security code (which code is sent to my email), when I open instagram on android it says that something suspicious someone is trying to connect from Germany.

    I used my security code from my email but it kept saying that:

    The security code entered was not accepted. Instagram has sent you a new security code by email.

    I have the exact same problem, I have looked at the code, it’s because in function wc_get_product_purchase_price (includes/functions) they have tried to convert the purchase price, extra expenses (if applicable), other fees (if applicable) to integer first, then add everything up.

    if so purchase price is $5.1, expense is $1.2, other fees is $0.4 they will display $5 + 1 + $0 = $6 instead of $6.7

    I have already notified they support (request is 7915) hopefully they will fix it in the next version

    Thread Starter redjersey

    (@redjersey)

    what do you mean by accumulating the points? you mean even if you use the old points, it will not reset?

    Thread Starter redjersey

    (@redjersey)

    I have already tried that. “wplister_listing_revised” will call only if the ebay listing page shows “There are 1 changed item(s) which need to be revised on eBay to apply their latest changes.” -> “revise all changed items” button clicked, however it won’t trigger if I check ebay items checkboxes, “update status from ebay” -> apply

    I don’t know how ebay lister determine if a listing has been revised on ebay. If I have an item sold on ebay, sometimes “There are 1 changed item(s) which need to be revised on eBay to apply their latest changes.” will show up but sometimes it won’t. that’s why I have to use the “”update status from ebay” option

    Thread Starter redjersey

    (@redjersey)

    That’s fine, I can wait for the next release, thanks

    Thread Starter redjersey

    (@redjersey)

    here is the picture link:
    https://ibb.co/eJWSrG

    thanks

    Thread Starter redjersey

    (@redjersey)

    Not sure if you have a chance to look at this problem, but I think I have found the problem and have a proper fix of the issue.

    Issue: When there are multiple ebay accounts, the shipping discount profile info (fetched from ebay) did not save into
    wp_ebay_accounts table-> shipping_discount_profiles (this field is always empty), instead, it always use the value from wp_option option_name = wplister_ShippingDiscountProfiles. Since only 1 ebay account profile got saved into this field, when you try to load another profile for another ebay account, the incorrect shipping discount profile is loaded.

    Solution:
    I have temporary fixed this problem.

    1. Modify file classes/model/EbayShippingModel.php

    Find:
    WPLE()->logger->info( "downloadShippingDiscountProfiles()" );
    Before this line add:
    global $wpdb;

    Find:
    update_option('wplister_ShippingDiscountProfiles', $shipping_discount_profiles);
    Before this line add:

    //this will save the shipping discount profile to the associated wp_ebay_accounts entry
    $account_id = $session->wple_account_id;
    $table = $wpdb->prefix . 'ebay_accounts';
    $serialize_data = maybe_serialize($shipping_discount_profiles);
    $data = array('shipping_discount_profiles' => $serialize_data);
    $result = $wpdb->update( $table, $data, array( 'id' => $account_id ) );

    save the file.

    2. Modify file classes/page/ProfilesPage.php
    Find:
    $seller_return_profiles = maybe_unserialize( $account->return_profiles );
    After that line add:

    $shipping_profiles   = maybe_unserialize( $account->shipping_discount_profiles );
    if ( !empty($shipping_profiles) ) {
    	//get the shipping discount profile from wp_ebay_account
    	if (isset($shipping_profiles['FlatShippingDiscount'])) {
    
    		$shipping_flat_profiles = $shipping_profiles['FlatShippingDiscount'];
    	}
    	if (isset($shipping_profiles['CalculatedShippingDiscount'])) {
    		$shipping_calc_profiles = $shipping_profiles['CalculatedShippingDiscount'];
    	}
    }

    save the file.

    after making those changes, go to Ebay settings -> Accounts and click on Refresh Details

    that’s it! It will fix the problem. Note that this is a bandaid solution as it is not a good idea to save the account data in EbayShippingModel.php. It should be handled by classes/model/ebayaccount.php IMO

    I hope the developer can fix this issue in the next release or at least create a hook for that. Thanks

    • This reply was modified 7 years, 1 month ago by redjersey.
    Thread Starter redjersey

    (@redjersey)

    login info sent, thanks

    Thread Starter redjersey

    (@redjersey)

    This is a bug, or I should say it’s not implemented. Anyways I have created a support ticket. The problem is the ebay discount profile is always loaded from mysql table wp_options (name is wplister_ShippingDiscountProfiles) instead of wp_ebay_account (field is always empty)

    If you talk to your developer to look at /classes/core/EbayController.php line 416:

    // TODO: store ShippingDiscountProfiles in ebay_accounts table
    it will always loaded from wp_options, that’s why it’s not working.

    Thread Starter redjersey

    (@redjersey)

    @blog2socialsupport maybe I didn’t explain it carefully. What I want is I want to add the woocommerce product tag to instagram tag.

    In my product page, I have added several product tags, however when I tried to post it to instagram tags are not showing.

Viewing 13 replies - 1 through 13 (of 13 total)