Create checkbox option on checkout page for recurring order payment - wordpress

I need a check-box on checkout page for setup recurring payment.
I want to give ability to the user to select option of autorenew or manual renewal of his subscription using woocommerce checkout page. If they select the checkbox, the subscription should autorenew on next interval. If they don't select it, the subscription should be manual.
I have used woocommerce and woocommerce-subscription plugin for this.

Related

WooCommerce disable checkout based on shipping info that was added

I'm looking for a way to disable the checkout button for all available payment methods based on what information was just added as the shipping address. I tried using the hook woocommerce_checkout_process but I can't disable the checkout methods with this hook and it sort-of lets people checkout (just the order does not goes through) and only shows the message after the credit card information has been added and the user has clicked the checkout button. Any suggestions how I can do this?

"Checkout is not available while your cart is empty" problem

I was doing the woo-commerce website and doing testing. I add the product to the cart and proceed to checkout. I was then select to pay with blizpay and it directs me to the blizpay payment page. I was then manually clicked back to return to the woo-commerce website to cancel the payment and it shows Checkout is not available whilst your cart is empty. My previous added product was gone. Can anyone help?
You previous add products are not in cart. It goes to order log and payment status of those products are pending.

Woocommerce Checkout Option Choice

I am currently looking for a way user can choose means of checkout either via coupon code or gateway payment inside checkout page.
For instance, if you land on a checkout page you should see 2 buttons with different options...
1. For coupon.
2. For Gateway.
Then select 1 option to proceed your purchase and complete your order

woocommerce check out field

I use checkout by amazon or by paypal express checkout, when user clicks on amazon or on pay pal , when control comes back on my site after logging in paypal or on amazone, I have no extra checkout field, that I created using checkout field editor ('How did you find Us?'), Just the order summary is listed, how can I show my extra created field?
I use woocommerce plugin for shopping cart.
Checkout fields are only shown on checkout, when someone returns from a payment gateway (paypal in your case) by default they are logged in. So in order to show a text area after someone returns from paypal, you will have to edit the order summary template and add a check to it. So if the user is reffered from paypal, only then they will see your custom form.
A better way would be by using "woocommerce_payment_complete" hook and redirect the user to another page where you can add your custom functionality/ Gravity form shortcode or use contact form 7.

Woocommerce: interrupt checkout just before payment step based on user roll

We are looking into adding a wholesale signup to a retail woocommerce website, and would like to make it so that if a customer is already registered as a normal retail customer (or is a new customer), and has items in their cart, and would like to apply to become a wholesale reseller during the checkout process 'that they can check a box (preferred), or press a button just before the final payment step.
I am presently using the "Woocommerce MultiStep Checkout Wizard" plugin that is ajax based, and presents the checkout steps in the following order..
Billing Details
Ship Details
View Order (with cart items and order summary)
Payment
Checking that box in step 3, or pressing that button should interrupt the checkout process and present them with an info & additional wholesale signup page with some extra user meta fields (e.g., fed tax id information, etc) that would gather any additional required information, and change their roll to something like "Wholesale Applicant", and would then postpone the final payment step (based on that specific roll), and will prevent final payment until their roll is either changed to "Wholesale Customer" (accepted), or is rejected by the shop admin. In the latter case, their roll would be manually reset to "Retail Customer".
I also am using the "Varktech Pricing Deals for Woocommerce" plugin to manage wholesale discounts based on the user's roll
An email should also be sent to the shop admin whenever a customer wants to go the wholesale route.
NOTE: the wholesale signup page should have a way to cancel and complete the payment step - in case they change their mind too.
I am not a programmer, but have searched for a plugin that could do this with no luck (so far).
I think sometimes newly added checkout/cart based plugins add/edit/update, Please (Resetting checkout fields ) follow below links
Resetting the checkout fields >>> To reset your fields back to the originals, go to WooCommerce > System Status > Tools and look for the “Checkout Fields” section. Click the ‘reset’ buttons and any customisations to your fields will be removed.
After that check all ... all for the best! ...

Resources