Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration
You are here: Home

mcb927

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 8, 2014 at 9:54 pm in reply to: post-payment processing does not read session cookie #65852
    mcb927
    Member

    I have resolved the issue I was having. I found that the page wp_eStore1.php has several lines of code working with the custom field function similar to what your code snippet is doing. The page reads several session cookie values. Following the examples from that page, I added these lines of code right before the function closes and the assembled $custom_field_val variable is returned:

    if(!empty($_SESSION))

    {

    $name = ‘attyuserid’;

    $value = $_SESSION;

    $custom_field_val = append_values_to_custom_field($name,$value);

    }

    After that change, I found where paypal.php reads and assigns values to variables for use in the SQL INSERT query. Again following the examples there (specifically the one that reads the IP address), I added these lines of code:

    $customer_attyid = $customvariables;

    if(empty($customer_attyid)){$customer_attyid = “No atty ID”;}

    On paypal.php I was then able to assign the value of $customer_attyid to the variable $member_username (we are not using eMember) and store the customer ID. It works very well. Hopefully this might help someone else with the same or similar question I had. Thanks again for your help; it pointed me in the right direction.

    October 8, 2014 at 3:17 am in reply to: post-payment processing does not read session cookie #65851
    mcb927
    Member

    It looks like I just don’t know where to put the add_filter code or where to call it from or just how to use it. I added the code snippet above to eStore_misc_functions.php, and I’m not sure how to work with calling the custom field value in paypay.php. I try to avoid messing with any wordpress, theme, or plug-in code and primarily just work with forms and php functions to get and store database info. Could you either point me to a tutorial for working with the add_filter code or let me know more about how to use it? Thank you.

    October 7, 2014 at 2:42 am in reply to: post-payment processing does not read session cookie #65850
    mcb927
    Member

    Thank you! I will give that a try. I am familiar with the IPN message from reading through the eStore code looking for a solution. I don’t use the IPN myself – I’m trying to keep things as simple and streamlined as possible – just make use of what is there.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ