WooCommerce Credit Card Fees [duplicate] - wordpress

This question already has answers here:
Add a custom fee for a specific payment gateway in Woocommerce
(1 answer)
Product custom field to enable a specific fee in Woocommerce
(1 answer)
Closed 4 years ago.
I need to figure out how to add a product fee that's based on the credit card the customer uses.
For example, if they pay VISA or MasterCard, I must charge an extra 3%. If they pay American Express, I have to add 5%.
Is this possible, and if so, how do I do it? I am unable to use the WooCommerce Extra Charge for Payment Gateway (Standard) plugin as there are no options in the backend.

It's possible.
You can use a the WooCommerce Extra Charges To Payment Gateway plug-in
On the Total custom Fixed field choose Total % add

Related

is there any filter hook available for WooCommerce fees? [duplicate]

This question already has answers here:
Apply a fee to cart in Woocommerce
(1 answer)
Change Cart total using Hooks in Woocommerce 3.2+
(1 answer)
Closed 9 months ago.
I am looking for a solution to modify prices for WooCommerce fees, please let me know if there is any filter hook available to modify prices for WooCommerce fees.
WooCommerce uses the following function to add fees to cart.
WC()->cart->add_fee();
Many thanks

Default shipping country in Woocommerce Cart, not checkout [duplicate]

This question already has answers here:
WooCommerce: Set country by default in checkout page
(5 answers)
Closed 1 year ago.
I have a WC shop that delivery to 2 countries in Europe. Issue I have is with unregistered users that don't have their data filled out yet.
I have countries A and B.
B is primary one, when user adds new item to cart he will see shipping for A, how can I set that if there is not data filled out to show shipping for B?
Order in my shipping tab is correct but for guests it always shows A as primary.
You need to go to your woocommerce settings and in the general settings set your store default country (red box at the top) and the set the default customer location to shop base address or you may use geolocation to get default customer location. Try this in incognito window in your browser and you will see it works.

How to change Paypal item name from WooCommerce order?

I am using WooCommerce and Paypal gateway. I would like the Paypal order details to be different (best would be just the order number) from the item on the WooCommerce store. I tried codes i found on this website from 2+ years ago but they are not working.
There might be an invoice prefix setting, within the settings of the PayPal payment method you are using in WooCommerce.
If there isn't such a setting, you will need to edit code to change it. What exactly will depend on what PayPal payment method for WooCommerce you are using. There are many available.

Conditional discount in woocommerce with credit card payment

I am developing an online store based on woocommerce and I have some question.
The website will be sponsored by some credit card providers and I want to give the discount to customer who purchases with the credit card that the website is sponsored by.
At the moment, I am using Stripe payment gate way (paid version) and I wonder if there is anyway I can add such conditional discount on to the website or is there any either free or paid add-on that allows me to still use Stripe as payment gateway and work with the conditional discount.
Any answer will be appreciated.
Thank you,
Scott
There are free plugin that can help you such as https://wordpress.org/plugins/woocommerce-payment-discounts/. But if you're looking for something more professional with a many other discounts types, i suggest you check this one https://wordpress.org/plugins/woo-advanced-discounts/ with the discount per payment gateway available in their pro version.

How can you set conditional shipping price within WooCommerce for WordPress?

I want to sell magazines through WooCommerce. When someone orders just one or two magazines then the shipping costs would be an x amount, however when someone orders more then two that would become a package and different shipping costs must be shown. Is this possible within WooCommerce, if so how?
Personally I would recommend this plugin ;-)
WooCommerce Advanced Shipping
There are others like Table rate shipping (from WooThemes)

Resources