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

WordPress eStore Plugin – Adding A Password

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › WordPress eStore Plugin – Adding A Password

  • This topic has 6 replies, 4 voices, and was last updated 13 years, 1 month ago by amin007.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 13, 2010 at 4:01 pm #790
    Leonardi
    Member

    Hi there,

    I’ve just purchased your eStore and Affiliate plugins – they both look great and ideal for what I need, but I have a couple of quick questions.

    I need to create a password for users when they make a new purchase so that they can then log into an area of my site where the product(s) they purchased are available to download.

    How would I go about doing this? I assume that I need to add a “password” field to the “wp_wp_eStore_customer_tbl” table – but where do I need to edit the code to write a password (i.e. a string) to this field? Is it somewhere in the paypal.php file?

    Any help/suggestions would be really appreciated.

    February 13, 2010 at 4:12 pm #17982
    sharris203
    Member

    You could list the password in their order receipt email.

    February 14, 2010 at 2:59 am #17983
    amin007
    Participant

    Yes you can add in another column in that table then insert a password in the post payment processing script (paypal.php).

    I am guessing you have a membership program that takes care of the user login, page protection and all that kind of stuff. If my guess is correct then all you really need to do is send them a randomly generated password? You could write a little function in the “paypal.php” file that generates this password and add it in the email body that goes out to the buyer maybe?

    February 14, 2010 at 11:32 pm #17984
    Leonardi
    Member

    Thanks for your reply – I’ve got this working now using a similar solution to what you suggest.

    February 28, 2010 at 9:39 pm #17985
    franckm
    Member

    Can you explain how you doing?

    excuse my english.

    February 28, 2010 at 9:42 pm #17986
    franckm
    Member

    How do you add something in the message body?

    thank you

    March 1, 2010 at 3:02 am #17987
    amin007
    Participant

    In the “paypal.php” file you will find a line similar to the following (around line 380):

    $tags = array(“{first_name}”,”{last_name}”,”{payer_email}”,”{product_name}”……..

    $vals = array($this->ipn_data,$this->ipn_data,$this->ipn_data………

    And then it does a string replace (it replaces the tags with the values).

    You can add in new tags e.g. ({passwd}) then generate a password using your preferred algorithm and replace the tage {passwd} with the generated value.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

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

Copyright © 2023 | Tips and Tricks HQ