So I was working with this woocommerce theme (Sober) and wanted to add custom OTP verification after the user registers to my website.
All I want is that when user fill up the registration form and submit, an OTP is send to his/her phone(Don't wana use third party plugin). Once the user verifies the OTP than only the account be created.
I have added few custom field to my woocommerce form, but don't know how to redirect to otp verification without the form being saved unless otp is verified.
I am pretty new to WordPress and WooCommerce.
Personally I think when you are using any framework try to integrate certain third party tools by yourself instead of using plugins. There are pros and cons to this.
Its a pretty old question but thought this may be help for others. You can use a free service from Facebook called AccountKit for integration of OTP in multiple platforms.
https://developers.facebook.com/docs/accountkit
There are other paid and good options as well, but FBs AccountKit is really easy to integrate at-least till the time FB lifts support from AccountKit.
Hope this helps.
Related
Dear Stackoverflow Community,
I am an Online Marketer and I am facing a problem: People are not converting when visiting my page through a smartphone. My interpretation is: they are lazy, as I am too.
I am not too terrible deep into programming Wordpress, but I thought about something and seeking advise:
I want to to build a Opt-In Form, which uses Facebooks "Social Login"
to process the Lead.
I need to find a way to get the "E-Mail-Adress" through the Facebook open graph API.
I generated a lead with one simple click.
I guess Online Marketers are graving for a feature like this!
So my question is:
Do you think it is possible to build a Wordpress Opt-In Form which uses Social Login (Facebook, Google) to receive E-Mail-Adresses from my users?
Maybe someone has some experience with this.
Best wishes
Dennis
I don't think there is a way to capture user's email address from facebook without permission of that user. However, there are a number of plugins that show popups and widgets to get users to subscribe to your newsletter etc.
https://wordpress.org/plugins/optin-forms/screenshots/
Also, if your content is good and if you create a catchy Call to Action, then it's possible to get more people to subscribe to your blog.
Isn't the process of opting into a subscription more involved than simply entering a name and email? Personally, I will ignore an optin form that requires me to do a social login.
Using a regular WordPress opt-in form plugin would suffice.
By the way, do you have any data that shows conversion is low because social login isn't present?
I am attempting to use the Mailchimp API to allow site visitors to subscribe to my newsletter. Currently, any signups with the default form action that Mailchimp provides sends an Opt-In email and opens a new email to say thanks for subscribing, which I want to avoid. Instead, if I use the API, I can set those options to false. The problem is that it doesn't look like Shopify allows PHP or Ruby in their shop code. I've been looking for weeks for a solution, but I'm at a loss.
Here is a turnaround for this:
1.- Create a Wufoo form with one only field: email address.
2.- Paste this Wufoo form at your Shopify store. We'd recommed pasting the JavaScript version.
It can look like this
3.- On your notifications tab at your Wufoo form, choose to Send notifications to Another Aplication. On the dropdown, choose MailChimp click on Add integration and follow steps. You will be sending all email addresses to your desired MailChimp list.
Tiny problem is that placeholders on Wufoo forms, don't disappear on click, so the user needs to go inside the field and delete all the placeholder. (This might be a good point because robots can't do this, and you make sure the user is really involved in the process of typig his/her email address.)
I need a plugin for wordpress that first takes a new user through paypal and then once the user pays, allows them to register for the website. I've tried pie-register but it first has the registration and then the payment and I don't want that.
I can build the plugin but I'd rather not reinvent the wheel if there's already something out there like this.
Thank you!
If there are any possible to redirect paypal without click "Return to Store" Link using php script? Not in paypal Account. using only PHP script or JavaScript.
Because I am sending more parameters in thanks page url.
Please Advise.
Thanks
With Website Payments you can.
To set up Auto Return:
Log in and click the Profile subtab under My Account.
Click the Website Payment Preferences link under Selling Preferences.
Click the On radio button to enable Auto Return.
Enter the Return URL. Note: You must meet the Return URL requirements in order to set up Auto Return.
Docs here
With standard payment buttons or a basic HTML checkout you'll have to rely on their auto-return system or the user clicking the link.
If you want more control over that you can use the Express Checkout API, in which case the user is always guaranteed to return to your site prior to completing the checkout flow so you can handle any pre or post payment processing within that flow directly.
Since you're working with PHP I'd recommend taking a look at my class library for PayPal. It will make this a breeze for you, and if you need help getting setup I can offer 30 min of free training, which is generally more than enough to get you familiar with the library and integrating pretty much any PayPal API you want into your project(s).
I'm trying to implement a plugin in Moodle where new users are registered using Paypal.
And the registration for the new users will require paypal payment to complete registration.
If anybody can help me with any example, code, plugin, or any link, I'll be grateful.
PayPal enrollment is included as part of Moodle's core code, so you just need to enable and then configure it. Documentation is here. This covers enrollment in a specific course, rather than new user signup as typically people want to charge different amounts for different courses, rather than a flat rate for access to everything.
There is no existing PayPal authentication plugin to make it so that a user must pay to register on the site, but if you want to make one the developer docs are here.