- Support forum for the Customer Email Verification for WooCommerce.
- This topic has 9 replies, 4 voices, and was last updated 1 year, 9 months ago by Moshtafizur.
-
AuthorPosts
-
November 9, 2021 at 10:28 am #101423Mohsin BashirGuest
Hello,
hope you are doing great,
I’m using this plugin on my website its working fine.
but now i’m building custom api’s for user registration for android or other apps so when customer try to signup from android app he/she did not get any verification email. So my question is that we need to some extra functions to call or something else to do plz let me know asap.
it will be highly appreciated.
ThanksNovember 9, 2021 at 1:47 pm #101424ZohaibParticipantHi Mohsin,
I have passed your request to our development team, they will get back to you soon.
November 12, 2021 at 1:48 pm #101425Mohsin BashirGuesthow much time you will take to reply its too late if i’m planning to buy this product so me should think about support ???
November 12, 2021 at 3:38 pm #101426ZohaibParticipantHi Mohsin,
Thank you for your patience, your ticket is in line to be answered. The development team will get back to you soon.
November 12, 2021 at 9:57 pm #101427Hi Mohsin,
Sorry for the delay. What extra functions would you need?
Meanwhile, if you simply update the user meta
alg_wc_ev_is_activated
as 1, the user is considered activated by our plugin and won’t receive the verification email. Would it be enough for you?November 13, 2021 at 8:40 am #101428Mohsin BashirGuestThanks for response,
i mean to say that i’m using custom build api for user register for mobile app and i need to verify user by click on link(send by this plugin). Currently when user register its not sending email to verify so i need to know me should use any function in api or you have any api for mobile app for this plugin please let me know to find the right solutionNovember 18, 2021 at 7:30 am #101429Mohsin BashirGuesthope you are doing well,
i’m trying to connect from very long with you guys to solve my problem but still waiting no any useful response. My whole application is pending due to your late response.
it’s requested again plz guide me about the scenario i have explained.November 22, 2021 at 4:35 pm #101430Hi,
I’m not sure if I’m going to be able to help you as I think I couldn’t fully understand your situation but this could be at least a suggestion.
1- Add our
alg_wc_ev_is_activated
meta to the REST API.
Pay attention to theauth_callback
parameter. Here I’m simply testing if the current logged user is the same user being updated, but you may want a different test.add_action( 'rest_api_init', function(){ register_meta( 'user', 'alg_wc_ev_is_activated', [ 'type' => 'boolean', 'single' => true, 'show_in_rest' => true, 'auth_callback' => function ( $valid, $meta, $user_id ) { return get_current_user_id() === $user_id; } ] ); } );
2- Update the user meta
Use the/wp-json/wp/v2/users/$user_id/
to update thealg_wc_ev_is_activated
meta.November 30, 2021 at 12:50 pm #101431Mohsin BashirGuestDear,
i need to send email verification link when user register from my mobile app. my mobile app is working on api’s custom developed with wordpress so that why.January 14, 2023 at 3:23 pm #107598MoshtafizurParticipantHi Mohsin,
We wanted to know if you still needed help on this.
Please let us know.
Kind regards,
Moshtafizur -
AuthorPosts
- You must be logged in to reply to this topic.