Generate Woocommerce Coupon Code As a Product - woocommerce

I have a virtual product called discount package. Upon purchase how can dynamically create a coupon code after payment that can be used no more than 5 times? Can this code be included in the payment confirmation email? Can I track the created coupon code when used for a future purchase?

Related

Gravity Stripe: how to make payment for several periods of subscription

I am using Grvity Forms with Stripe Add-on
I need to create a monthly subscription, but first payment should be for 3 months, so user buyes 3 months at once ($300), and then after 3 months he will be charged $100/month.
How to create such Stripe feed?
Thanks in advance
If anyone has the same problem, I've resolved it in such way:
I've placed in the form separate product item with type "Singe Product" and price $300. Then in the Stripe feed configured subscription with trial for 90 days. Subscription linked to main product item (subscription for $100), and turned on Setup Fee, linked to the second product component ($300).
You probably need to hide Total section in the form, because it will show $400 as a sum of both products, but Stripe charges only $300 and creates subscription $100/month with trial.

Woocommerce Subscriptions and synced force sell doesn't work?

I'm trying to create a situation in which a guarantee (no VAT) is automatically added to the cart when you order a variable subscription product. This should be done only one with the first transaction, not with the next payment in the subscription, therefore a grouped product construction.
I try to do this with the plugins mentioned above, but it simply doesn't appear in the shopping cart.
Any idea why and how to fix it?
For the grouped product, see also: https://www.rentyourmac.com/product/the-master-macbook-test-subscription/

How can I receive payment in multiple currency in wordpress Woocommerce?

I just installed wordpress and woocommerce, my default currency is USD.
Now when I convert the currency on store it is working smooth. I mean it is changing from USD to INR.
Now say I want to make payment in INR and product cost is USD100 and after converting currency it display INR6500 but when I checkout it pass INR100 to payment gateways.
Kindly suggest.
I was using a plugin long back, currency swicher. This plugin will change your plugin will convert your customer's currency automatically based on their addresses. But you have to enter the conversion rates for currency in admin panel and have to keep updated.
If you can code something like getting conversation rates from a live api and update that list then it will be superb. But still if you can manage updating rates manually , it can work like charm.

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 from my warehouse receives the order, and makes edits to the order, and then manually adds a shipping cost to the total invoice.
Step 2: The updated order is then sent back to the customer notifying them of the total cost of the order and then asks the customer to make payment via credit cart or bank transfer.
What I have done so far:
I have configured Step 1 to work correctly - using cheque as Gateway method. What I cannot do is Step 2, accept Payment via a different gateway,
Plugin: WooCommerce Purchase Order Gateway, but that doesn't allow for payment to be captured via WooCommerce later on
What's the best practice here?
I solved this by using WooCommerce Request a Quote plugin, and configuring it to replace the "Add to Cart" button.
Once the Quote list has been submitted, someone from my end confirms the order and uses the Order's Action menu to send Customer Invoice which provides a hyperlink back to the payment gateway: Paypal, Credit Card, Direct Deposit etc.
Looking for same feature, this plugin helped me. but it allow you to send your client invoice

How to handle multiple checkout flows in Google Enhanced Ecommerce funnels?

I'm setting up Enhanced Ecommerce for Analytics, and I'm trying to figure out the right way to represent my checkout flow in terms of the checkout funnel, given that there are several different possible flows depending on how the customer wants to pay.
Step 1: Open the cart. So far so good.
Step 2: Select payment method.
Step 3: Now I'm unsure. If the payment method in step 2 was "Credit Card", the next step is a form where the customer enters all their credit card and shipping info, which should probably break down into several steps. But if the payment method was "PayPal", they're whisked off to the PayPal site to authorize payment, then back to me to review their info and commit the order.
Customers who selected PayPal never see the Credit Card form (and never complete any of those steps), and customers who select Credit Card never see the PayPal review form. So numbering the steps linearly (ie. the credit card form is steps 3-4-5 and the PayPal return form is step 6) doesn't make sense.
I can send the payment type to Google as a "checkout option", but that doesn't seem to solve the issue of numbering the checkout steps.
I can't find any information about multiple checkout flows in the Enhanced Ecommerce documentation. What is the standard way to handle this?

Resources