How to customized woo commerce Customer Created webhooks - woocommerce

I am using woo commerce "Customer Created" webhook which will post data to external URL as well as a new user created in woo commerce, I am receiving all data properly except the user's password.
Can any one guide me in which file I need to make change so this hook will post user's password as well
Note- In woo commerce setting Auto create username& password is disabled so user have to manually fill these fields
Following data woo commerce sending to my url
{"id":4,"date_created":"2017-06-08T06:12:47","date_created_gmt":"2017-06-08T06:12:47","date_modified":"2017-06-08T06:12:47","date_modified_gmt":"2017-06-08T06:12:47","email":"citrpro#hotmail.com","first_name":"Kirti","last_name":"Jensen","role":"customer","username":"citationbuilderpro#hotmail.com","billing":{"first_name":"Kirti","last_name":"Jensen","company":"SEALOOM TX","address_1":"13359 North Highway 183 Suite 406-589","address_2":"","city":"Austin","state":"AK","postcode":"78750","country":"US","email":"citrpro#hotmail.com","phone":"5125151300"},"shipping":{"first_name":"","last_name":"","company":"","address_1":"","address_2":"","city":"","state":"","postcode":"","country":""},"is_paying_customer":false,"orders_count":1,"total_spent":"0.00","avatar_url":"http://2.gravatar.com/avatar/b46fd47ff44e507a64dd9ede8673c0e6?s=96","meta_data":[{"id":126,"key":"_yoast_wpseo_profile_updated","value":"1496902367"},{"id":140,"key":"shipping_method","value":""}]}
Thanks

Related

Wordpress Przelewy24 plugin no email notification

I'm developing shop on wordpress and I added payments like PayU, bank transfer, BLIK and Przelewy24. But the problem is that customer don't get email confirmation after buy a product by Przelewy24. Every other payment method is working fine - customer get email confirmation directly form shop email.
With Przelewy24 there is no emails, only from Przelewy24 but no from shop. I'm wondering why, cuz emails is enabled globally in Woocommerce and it should work with every method.
Moreover I installed plugin WP Mail Log to check sending emails and... yeah, there is no logs, with this method- shop don't send emails.
What can I do more, or where else can I check this?

How to install ecwid payment gateway template

I'm currently working on the wordpress ecwid plugin. In order to develop my own payment method, I downloaded on github their payment gateway template that I'm now trying to install on my wordpress ecwid shop without success. Please, would you know how to proceed? Thank you for your attention.
It's Gunter from Ecwid team. I see you reached out to us via email too. We've addressed the email request. And we will post the answer here too, just in case.
If you want to integrate a custom payment to your Ecwid store, you should follow these steps:
Register a custom app. You can do that at this direct link: https://my.ecwid.com/#develop-apps
Provide us with the payment URL (your own server) to which Ecwid will send the payment requests. You can send us your URL to apps#ecwid.com email and we'll add it to your app.
After that, when your customers choose your own payment at checkout and click on the “Pay” button, Ecwid will send a POST request with the cart data to your server payment URL. And your customer will be also redirected to this URL. So, you can show any external page to them after redirection.
After redirection, your server needs to get cart details from the request, decrypt it and send it to the payment provider in a correct format for processing. After the payment is processed, your server needs to update the order status and redirect the customers back to the Ecwid storefront.
You can find more details about how the custom payment apps work here: https://api-docs.ecwid.com/docs/how-payment-method-works

Authenticating against WooCommerce API with customer usernamer/Password

We are re-building an Easy Order Wordpress plugin with VueJs, that uses WooCommerce REST API.
Current flow: The customer go to the website and do a login with email/password, with the login done, the user can go to 'Easy Order' link to access the plugin and then the user get all products categories, subcategories and products. the user can add/remove products into his cart.
What we are trying to reach: We are changing the plugin to use the WooCommerce REST API, but there is no way to access the data with a customer email/password login in WooCommerce REST API, the Wordpress login does not work at all with WooCommerce REST API.
Has anybody here with the same problem that can give insights about that?
Try Simple JWT Login plugin.
It provides additional endpoints for logging in customers as well as generating unique JSON web tokens. I am using it in my react native app to login customers as well as registering new users.

How to create a woo-commerce store were the user can't purchase an item without being accepted by the admin

Summarized problem:
I'm setting up a woo commerce store where the customer has to ask for permission before creating an account on the store. How do I do that?
Provide background:
My client is selling products that require detailed instructions that only qualified people can use, at the moment anyone can create an account and buy a product. Is there a way the website can notify the client of registering customers before giving the customer access to the products? like an accept or reject email for new customer registrations?
Block the common ways to create an account;
Create a condition that shows the "buy" button just for logged-in users;
Add a form for the user to demonstrate their interest in having the access to buy the products, with the data that is needed to the approval;
The admin check the submited form, and then creates the account with some "welcome" message.
This can be handled with some plugins, using the hooks from woocommerce and wordpress.
You could even create a new panel on Wp dashboard that sees the submited forms, with 2 buttons with "approve", "disapprove", and a field for feedback.
When approve is clicked, the plugin creates a new account and send to the user the feedback and instructions.
When disapprove is clicked, the plugin sends to the user the feedback message with "sorry" message.
This way would be less frustrating to the user, they wouldn't need the approval for every buy.
Some links to help you in this quest:
Woocommerce hooks API Documentation
Add dashboard page : Wordpress Documentation

Wordpress WooCommerce Checkout Configuration

I am set up to create customer account after checkout with paypal.
I receive the order and customer gets back to thank you page but unless I go in and hit complete the password is not sent to them. Any clue on what I can do ?
All The following are checked. I am running WC 2.4.10 on the latest wordpress.
Enable registration on the "Checkout" page
Display returning customer login reminder on the "Checkout" page
Account Creation
Account Creation Automatically generate username from customer email
Automatically generate customer password

Resources