WooCommerce: Auto complete paid orders

Normally wooCommerce should autocomplete orders for virtual products. But it doesn't and this is a real problem, even a BUG like. So at this point you can find somme helpful things(but not really...

Get the date an order was paid on Woocommerce

How can I get, on Woocommerce, the date an order had its status changed to paid/complete? I saw something about getting the orders from a costumer, but this would be just the first step of my...

WooCommerce Paypal Standard Gateway - IPN Received but order status stuck on 'processing'

I have a Wordpress setup with WooCommerce using the standard Paypal Gateway. Payments are being received and going through fine. Paypal IPN is being received by the site and marked as "Completed"...

how to configure a downloadable product in woocommerce

i'm quite new to woo commerce and i don't know what i'm doing. hope you guys could help me. you see i have a product which has a downloadable one. its kinda like a music shop so the attached file...

Woocommerce: Place order, but accept payment later?

Step 1: My WooCommerce shop is attached to a warehouse. I need customers to add products to cart, and then to place their order without making any payment or selecting any shipping. Next, someone...

Custom conditional redirections after WooCommerce checkout payment

I use Lirox One theme on Wordpress with WooCommerce. I want make custom redirections after payment: If a customer buy product ID 333, It will be redirected to product 444 (for example). I have...

Hide payment method based on product type in WooCommerce

In WoCommerce, I would like to disable particular payment methods and show particular payment methods for a subscription products in WooCommerce (and vice versa). This is the closest thing we've...

Getting the value of the product's id value (_product_id) after the payment in WooCommerce

I want to get the value of _product_id on the payout page (thankyou.php), can somebody help me with this. I have attached an image of the field I need exactly that value

Empty cart before add to cart in WooCommerce

I am using WP Job manager with Woo Subscriptions. Now: Initially, I selected a package(Woo Subscription) Then I added all the details. But did not submit it. Came back to the site, so to buy...

Show the credit/debit card page directly on paypal

I'm working on an e-commerce site which runs on WordPress platform. Woocommerce plugin is used to create the products and using PayPal standard payment gateway. Whenever I check out the product,...

Get the author ID of each product in Woocommerce cart

In woocommerce, I need get the user ID of each product within the cart, The user ID isn't from the customer, but is the user who created and published the product that is currently in the shopping...

Get some order and order items data in Woocommerce emails

I am currently customising the emails that customers receive after a purchase on my website (customer-processing-order, customer-completed-order etc etc). I have copied the email folder from...

Remove some payment gateways if any coupon code is applied in Woocommerce

I started to work on small Woocommerce project. I have 3 payment gateways into this store: Paypal, Credit Card and Direct bank Transfer. What I would like is: If coupon code is used, I would like...

Trying to automate sending customer invoice/order details upon pending payment status

I have a pay later gateway that I have set to drop orders into on hold status. I would like to automate sending these orders an email with 'pay now' link when I change their status to pending...

Different recipients based on product category in WooCommerce email notification

I am setting up a site for a school that sells both virtual products (fees and excursion payments) and Physical (uniforms) however they would like to have order notifications for each category to...

Restrict payment gateways based on taxonomy terms in WooCommerce checkout

In my WooCommerce store I want to restrict and show payment gateway(cheque) only if the product has particular product category with the category ID "266". Now I have this snippet but it does the...

Wordpress reset password email is not working - woocommerce and checkmail does work

I have a bit of an odd issue on our Wordpress site that is currently under development on a subdomain of our primary domain. It is a basic Wordpress with Woocommerce and a couple other plugins for...

Woocommerce - Hide payment method if specific variation is in cart

In Woocommerce, i want to hide the credit card payment option if a specific product variation is in the cart. Please help. Thanks. This is what i have working now. I assigned a separate shipping...

Wordpress and woocommerce checkbox not visible

I use Wordpress and woocommerce https://wordpress.org/plugins/woocommerce/ And businessx theme https://wordpress.org/themes/businessx/ My problem is the checkbox are not visible and i need to show...

Woocommerce custom redirection based on purchased product after payment

I am looking out to redirect user to specific pages which will vary from product to product. So, once user completes payment for Product A, he will be redirected to Link A , which is an external...

Allow reducing stock while WooCommerce order in pending status

In case the customer pays online (using for example PayPal) the WooCommerce creates order and then wait for the payment. This "waiting" is order status pending. No stock is being reduced during...

How to create a terawallet product_user credit function a hook after successful woocommerce payment

i'm running a woocommerce wordpress store and i've integrated a virtual wallet add-on called "terawallet aka woo-wallet". this add-on gives each user on the site the option to top-up their virtual...

How to create a payment gateway using woocommerce rest api with paypal?

I'm creating a headless woocommerce with WordPress, and am at the stage where the user can create an order, but there is no way for him to pay. I've looked at the stripe, at PayPal, and all I see...

Disable Payment Gateway For Specific Shipping Method On Checkout Only

I ran into an issue in WooCommerce and I'm wondering if anyone else has experienced it too. I sell certain products that are too fragile to be shipped by UPS/DHL/FedEx. So I have to ship these...

Change Date of Payment in Woo Subscription checkout

I need help with dates in Woo Subscriptions checkout for an animal charity website using woocommerce. I just want to change the First Payment Date (or maybe trial period end date ?) in the cart on...

Dokan Stripe Connect Not Charging Shipping With remove_filter( 'woocommerce_cart_shipping_packages', 'dokan_custom_split_shipping_packages' );

We are using Dokan to power a WooCommerce multi-vendor marketplace. This is configured so that the admin receives a commission as a "collected fee" in Stripe as part of the Stripe Connect payment...

Cash On Delivery fee based on Dokan vendors count in WooCommerce

In WooCommerce Dokan multivendor shop I have Cash On Delivery (COD) payment for customers. I created a code that counts the vendors in the cart and multiply them with the fee that i want per...

Change WooCommerce Subscription end date

I have a problem with the end date of WooCommerce Subscriptions. I found that topic here https://stackoverflow.com/questions/44785948/woocommerce-subscription-change-expiration-date However, our...

Updating and Synchronizing Woocommerce Subscriptions to Custom Date

We have a client who is shipping Subscription products (which are actually Composite products with four to five Bundles of products in them) and they offer delivery on a weekly basis. Their...

Add product SKU to Stripe order description with 'Stripe for Woocommerce'

I'm using Stripe for Woocommerce https://wordpress.org/support/plugin/woo-stripe-payment/ I need to change the order description that appears in the stripe Dashboard so it includes the SKU of the...