Woocommerce billing adres not copied to shipping adress - woocommerce

I’ve been having a problem with checking out with woocommerce whenever I checkout the billing adress is filled but not the shipping.
It’s a problem because my system won’t send without the shipping adress filled.
I know I can do it manually but that takes too much time.

Related

WooCommerce Paypal - Disallow Payment based on PayPal Billing Address (Country Restriction)

A client of mine has some legal provisions that only allow him to offer PayPal as a payment method if the buyer's billing address is located in a specific country.
Naturally you can disable payment methods based on the billing address the buyer provides via WooCommerce. However, that is quite easy to manipulate.
PayPal asked them to implement a query, AFTER the buyer chose PayPal, signed into his account and accepted the payment method, to check if the billing address the buyer provided in his actual PayPal account is also located in that specific country. If so, the buyer proceeds to the 3rd checkout step and can finish his order. IF NOT, the buyer will be redirected to the 2nd checkout step, sees a note "This payment method is not available for your country" or whatever and can choose another payment method. So basically, the query has to check if the billing address is in a specific country and then decline the "payment execute" command.
I'm using the standard PayPal gateway that comes with WooCommerce. Does anyone have any idea how to make this work?
PS: Yes, retrieving the billing address from PayPal is usually not possible. However, my client got a special permit from PayPal to do so. So that's not an issue.
Using the PayPal Checkout plugin for WooCommerce, validate whether the response of the METHOD=GetExpressCheckoutDetails API call to PayPal contains the country you want, and use this to decide whether to let the customer proceed or not.

How to remove Vendor: from Dokan customer order emails

I am trying to remove the Vendor / Seller store name / URL from the emails that are sent to a customer when an order is placed.
I have looked everywhere and can find all of the email php files but still can't figure out how to remove the vendor. I can probably recreate the whole template but just want to make this simple change.
When a customer purchases any product from the vendor that time a customer receives the default e-mail which sent by WooCommerce which is the new order email template. That should not have any vendor store details. Dokan is just adding the vendor email address with the admin e-mail to send the new-order notification to the vendor. Kindly check this function- dokan_wc_email_recipient_add_selleravailable in dokan-lite/includes/functions.php
If you can share a screenshot then I can provide the correct location.

WooCommerce PayPal IPN (checkout fields)

I am working on a self hosted Wordpress website where we sell physical products and memberships and using the WooCommerce standard plugin to handle our cart / checkout. I use a tag to create the checkout page "[woocommerce_checkout]". For payment we only use PayPal. I have figured out how to capture the PayPal IPN so that I can do additional processing (i.e creating the member in the database) and this seems to work with no issue.
The problem is I would like capture the fields on the WooCommerce checkout page to be available in the IPN response from PayPal. For instance, first name, last name, address, email etc. How can I specify that these are included in the PayPal IPN? Is this available in the settings for the plugin or will I need to make my own implementation of the checkout page?
I found out you can get the information from the woo commerce tables in the database. The IPN contains the order id which can be used to look up more information about the order.

PayPal not receiving shipping cost: Validation error: PayPal amounts do not match (gross <N>). Order status changed from Pending Payment to On Hold

I have Woocommerce, UPS shipping and USPS shipping plugin activated on site. Things work working perfectly before the latest update of plugins. I am using Woo 2.6.3 and its addons.
After the update PayPal is not able to receive the shipping cost for the order and hence it process only product total without shipping cost and on site we receive an error as:
Validation error: PayPal amounts do not match (gross 2.75). Order status changed from Pending Payment to On Hold.
When I checked the log for PayPal in the request woocommerce does not add shipping cost under "payment_gross" and "mc_gross"
I have posted ticket for same to Woocommerce support but they will take too long to revert and as it's a live site I can't hold that much.
WooCommerce 2.6+ sends shipping costs as a ‘real’ shipping line item via PayPals API.
If your PayPal account has shipping rules setup within it, these will take over and remove the cost WooCommerce sends across.
So You need to remove all the shipping rule set from your paypal account.
Check below link for more details:
https://docs.woocommerce.com/document/paypal-standard/#my-shipping-costs-are-not-transferring-to-paypal

Pass wordpress form data to checkout Page of shopify?

I create shopify shop and integrate it in wordpress website.And now I want to pass the custom form(created in wordpress) data to shopify checkout page.Data such as email,telephone,name etc.IS it possible or not?
Shopify API doesn't allow to create orders from outside services. You indeed can create carts with products / variants in cart (outside Shopify) and force the user to finish the buying process at PCI compliant Shopify checkout, which has 2 steps: (considering s/he is not authed)
A.- Buyer enters billing / shipping info as well as email address.
B.- Buyer enters discount coupon/s, chooses shipping method, enters payment info (credit card, paypal, wire, cod...)
Checkout url will look like: checkout.shopify.com/carts/your_store_id/cart_id

Resources