Jump to content

vraghav

Members
  • Posts

    7
  • Joined

  • Last visited

vraghav's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Am doing a subscription site with payment gateway integrated, which offers journals to the users - Subscriptions: 1. free - here he can access only one issue of each journals - there are 6 issues 2. print - here he can access online ebook of all journals of all 6 issues 3. web - here he can access only the pdf and ebook of all journals of all 6 issues The Subscription process as of now: 1. Free user wants to become print or web subscriber 2. He has logged in 2a. If he has not logged in can create the account 3. Goes to cart - since he is logged in - no need of again filling up the form 3a.Not logged in - click the login button in top navigation 4. He can directly click the add to cart - proceed to checkout 5. Pay the money through payment gateway 6. Admin will get a Order notification 7. Admin checks has the payment been done from their account 8. Confirms the payment - Customer gets the mail - His order has been processed 9. Admin moves the Free User to Print/Web subscription 10. Next login the free user will be print/web user Am using Wishlist membership plugin and Woocommerce shopping cart plugin. Both are wordpress plugins. The Query is: When the subscription expires of the paid user(print or web) will again become a free user - how to renew his subscription with the same details - Is there a way once he pays - give him a link and he can update his membership. Is there a php hook, filter or function which can be included it happens automatically. Please assist. Regards,
  2. Am doing a subscription site with payment gateway integrated, which offers journals to the users - Subscriptions: 1. free - here he can access only one issue of each journals - there are 6 issues 2. print - here he can access online ebook of all journals of all 6 issues 3. web - here he can access only the pdf and ebook of all journals of all 6 issues The Subscription process as of now: 1. Free user wants to become print or web subscriber 2. He has logged in 2a. If he has not logged in can create the account 3. Goes to cart - since he is logged in - no need of again filling up the form 3a.Not logged in - click the login button in top navigation 4. He can directly click the add to cart - proceed to checkout 5. Pay the money through payment gateway 6. Admin will get a Order notification 7. Admin checks has the payment been done from their account 8. Confirms the payment - Customer gets the mail - His order has been processed 9. Admin moves the Free User to Print/Web subscription 10. Next login the free user will be print/web user Am using Wishlist membership plugin and Woocommerce shopping cart plugin. Both are wordpress plugins. The Query is: When the subscription expires of the paid user(print or web) will again become a free user - how to renew his subscription with the same details - Is there a way once he pays - give him a link and he can update his membership. Is there a php hook, filter or function which can be included it happens automatically. Please assist. Regards, Raghav
  3. Hi, The Subscription process as of now: 1. Free user wants to become print or web subscriber 2. He has logged in 2a. If he has not logged in can create the account 3. Goes to cart - since he is logged in - no need of again filling up the form 3a.Not logged in - click the login button in top navigation 4. He can directly click the add to cart - proceed to checkout 5. Pay the money through payment gateway 6. Admin will get a Order notification 7. Admin checks has the payment been done from their account 8. Confirms the payment - Customer gets the mail - His order has been processed 9. Admin moves the Free User to Print/Web subscription 10. Next login the free user will be print/web user Am using Wishlist and woocommerce wordpress plugins. Query - When the subscription expires of the paid user(print or web) will again become a free user - how to renew his subscription with the same details - Is there a way once he pays - give him a link and he can update his membership. Is there a hook, filter or function which can be included it happens automatically. Please assist. Regards, Raghav.
  4. Thanks LD, That was helpful.... i changed the script "delete_record.php?id=$id" in the file (delete_customer.php) which calls delete_record.php - which deletes particular record, which I want to delete. Now its working fine. Just curious - Is there any way round to do this an alternate method? Regards and Thanks Raghav.
  5. <?php $id = $_GET['id']; //PHP MySQL Connection //1. Create a database connection mysql_connect("localhost", "root", "" ) or die("Could not connect to the server"); //2. Select a database to use mysql_select_db("mproject") or die("Could not find the database"); //3. Perform database query $sql = "DELETE FROM project_details WHERE id = $id"; $result = mysql_query($sql); //4. Use returned data (if any) //5. Close the database mysql_close(); ?> I've used the above code to delete a single record. But am getting - a notice and its not deleting anything Notice: Undefined index: id in C:\xampp\htdocs\xampp\SimpleCRUD\delete_record.php on line 3 Please assist on how to proceed.
  6. Hey TRQ, Thanks for the response, please can you elaborate on how to use that. Different levels(Print, Web, Free) - different headers (header1, header2, header3) How to use if() function for the levels? Am working it out for a client. Please assist. Thanks.
  7. Hi I've a created wordpress membership site using wishlist member plugin. But I want to have different header.php based on different logins. Eg: Users are: Print, Web and Free When Free user logs in - I want header1.php to load When Print user logs in - I want header2.php to load When Web user logs in - I want header3.php to load If nobody has logged in the default header.php stays. Please assist on how to do this. Regards, Raghav.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.