After searching for about 2 days I was able to figure out a way to capture the user after signup process is completed and the user’s payment goes through the payment gateway, the way I’m doing it right now is when a signup process is completed user is redirected to thank-you page and a querystring containing subscr_id is passed on that page and I’m capturing that subscr_id and fetching the user from the database manually and its working perfectly fine, the process is seamless, and I can use the data on my other page templates as well.
You can simply get subscr_id from $_GET[‘subscr_id’] and use that to capture the user associated with this subscription from the table ‘wp_mepr_subscriptions’ and then use the user id to fetch the user detail from ‘wp_usermeta’ table of the wordpress, hope it helps someone else 🙂
Related Posts:
- REST-API: extend media-endpoint
- Custom API plugin to execute 3rd party API to retrieve data
- Creating one user access account for all the multiple sites
- Looking for membership style plugin with edit option [closed]
- Do widget options need to be escaped widget()?
- Is there any W3C compatible Share & Follow plugin?
- Does any one have Idea to get these functionalities with the plugin wp-multi-network
- How to save generated JWT token to cookies on login?
- Disable woocommerce cookies and delete cart data automatically
- wp_get_post_terms is difference obj model than the one in rest api response
- className not populating in custom block
- How to modify WCMP Rest API response?
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- Run plugins only on certain pages
- Overide plugin files from child theme (/inc/ ) folder
- wp_generate_attachment_metadata is creating an empty array
- custom payment gateway in woocommerce failed to connect to remote api server
- wp_remote_get() returns 403 while file_get_contents() does not
- Display encrypted content on my website
- Ability to make API calls out of WordPress as well as executing SQL?
- Access WordPress data from external PHP application.
- Post category with counts been display like a menu
- Post custom Data value in The Events Calendar plugin [closed]
- Send reply with pre-prepared answers
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- Limit post creation by role
- Save custom attributes of product in woocommerce
- Best way to initiate a class in a WP plugin?
- Calling an attribute from a plugin shortcode
- Best place for short bio,image and button [closed]
- Use of Templates in a Plugin
- How to create restrict content to users (by user, not by role)
- Ajax with plugins returns 0
- Why can’t I access my Intranet LDAPS with NADI?
- External Domain on WordPress Multisite
- In the archive widget, how do I sort in between two years?
- Set plugin-values when creating post via REST-API
- Customization API for plugin development
- Using Wishlist Member and I need to access a user’s status
- how to do login using woocommerce rest api From android
- Fromcraft Plugin On click submit button [closed]
- creating a custom shop page display on archive woocommerce
- AFNetworking incorrectly interpreted WP_Error
- Setup page on first login on multisite
- polylang + category/tag custom language link
- Anspress Customization: How to show logged in user votes on a single answer?
- Custom wordpress Theme and Plugin repository
- Automatic Updates Individual Plugins Not Working
- How do I make a child theme I made POST through a 3rd party plugin?
- How create Group Blogs based on user created Groups
- How to redirect users to their profile after they successfully edit their profile
- Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
- Add ALT attribute to Pin It Button image to pass HTML5 validation
- date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)
- Getting Theme element into plugins page editor in wp admin
- WordPress as web application base
- Customize The Events Calendar to Include an Option to Expand for More Events Listings
- URL rewrite of independent plugin?
- Plugin for users to create their own ads like Google Adsence
- GeoMashup plugin: how to customize cluster markers / icons? [closed]
- Implementing an image hosting website using WordPress? [closed]
- How do I apply style to each category of a list?
- Add category selection to custom post type (plugin)
- Is there a social members only login plugin for WordPress? [closed]
- Redirect to another page using contact form 7? [closed]
- changing posts layout in ultimate member profile plugin
- Access WP_REST_Server from within plugin namespace
- Paid Membership Pro with ACF [closed]
- “No Add Button” for me to customize my WordPress with themes and pluggins
- Translation plugin to translate another plugins
- Login Customizer doesn’t change the background of the register form
- Inserting custom PHP script on homepage
- Creating Featured Content Boxes
- Integrating WP E-commerce plugin into custom theme
- Best practice for including plugin output in a template without using shortcode?
- Custom post types – remove default post supports through empty array?
- Basic gallery plugin suggestion [closed]
- a weird attribute on every html tag
- How can I run a custom shortcode function on a live site and only run if the viewer is a specific machine?
- REST route from a plugin not working if WordPress is installed in a subdirectory
- Plugin retrieving results even after uninstallation
- Getting a Page via its post-name using WP REST API v2 and Postman
- WordPress REST API Plugin Development – Add Custom Endpoint
- Contact Form 7 – Form name blank [closed]
- How do i get file_get_contents to work in wordpress
- Custom widget doesn’t save values from dropdown box
- Plugin Development – Functions or Hooks?
- Plugin function inside custom plugin
- WordPress as template engine
- Change the style of h1, h2, only in post entry
- How to change the wp_upload_dir() path in plugin
- WordPress User Post Products
- Add some fileds to the wp_posts table
- Customizing Titles on the Fly with Code
- Disable plugin only for one post
- Free paypal cart solution [closed]
- Add filter on html tags,attributes on specific function in wordpress
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- When I try to de-activate any plugin it gives error “Warning: call_user_func_array() [function.call-user-func-array]”
- How to create WordPress custom end point with multiple parameters?