30621

WooCommerce - add shipping costs and add an extra fee for paypal gateway

Question:

<strong>First Question</strong>

In my WooCommerce shop I use the plugin <a href="https://wordpress.org/plugins/woocommerce-gateway-paypal-express-checkout/" rel="nofollow"><strong>PayPal Express</strong></a>.

With the plugin <a href="https://wordpress.org/plugins/woocommerce-payment-fees/" rel="nofollow"><strong>Woocommerce payment fees</strong></a> I can set an extra fee for the paypal payment.<br /> The fee will correctly shown in the shopping cart and will correctly add to the sum.

But if I want to pay with Paypal, I am redirected to the Paypal site and there is only the total, WITHOUT the extra fee.

Where is the mistake?

<a href="https://wordpress.org/plugins/woocommerce-payment-fees/" rel="nofollow"><strong>Woocommerce payment fees</strong></a>

<br />

<strong>Second Question</strong>

I have two products in my shopping cart

<ul><li>The shipping cost of product A is in the shipping class "Test" (5,00€)</li> <li>The shipping cost of product B is in the shipping class "Test" (5,00€)</li> </ul>

The shipping cost has to be 10,00€, but it's only 5,00€ for both.

How can i calculate the shipping cost from product A and from product B together, if both are in my shopping cart?

Answer1:

<em>In general for plugins, the best way to solve issues is to ask in their support threads.</em>

<strong>Question 1</strong> - For Woocommerce payment fees you need to buy <a href="https://www.woothemes.com/products/payment-gateway-based-fees/" rel="nofollow"><strong>the premium version</strong></a> to extend the plugin to other payment gateways (read on the plugin page).

<strong>Question 2</strong> - You also need to buy a commercial plugin: <a href="http://www.woothemes.com/products/per-product-shipping/" rel="nofollow"><strong>Per Product Shipping</strong></a>

Most online stores have shipping cost for an entire order. However, some products (heavy or large products) may require special shipping. You may want to have a different shipping fee for a particular product based on the customer location. To handle such cases wooCommerce allows you to enable per product shipping using a premium extension. Apart from including cost per product, you also have the facility of defining costs per variation of the product.

Here you have a page that explains everything about shipping in woocommerce:<br /><a href="https://blogvault.net/woocommerce-shipping/" rel="nofollow"><strong>wooCommerce Shipping Demystified</strong></a>

Recommend

  • How to loop through datagridview 1 and copy loop results to datagridview2 in a different form and DB
  • How to pass data from one view to another view controller in IOS?
  • How do I add another tag to be parsed as embedded JS in a tmLanguage file?
  • If django is installed using pypm, would pydev detect it?
  • How do I find where an HttpURLConnection is trying to redirect me to?
  • Search MySQL with PHP and display results on the same page
  • Session issue in codeigniter for arabic character
  • Where Federation authentication token is saved [WIF STS]?
  • PayPal REST API cross reference transaction with payment
  • How to redirect to home page after session timeout
  • How can I detect if a URL is redirected to another one?
  • RewriteCond and RewriteRule in .htaccess
  • PHP curl_multi_exec output to array
  • Google Chrome Userscripts reference window.open
  • Paypal reports email address already taken when trying to import test accounts into Paypal Developer
  • How to return a HashTable from a WebService?
  • Braintree Dropin UI does not work with Ionic Framework unless force refresh
  • yii2 create translated URLs
  • FIR filter in CUDA (as a 1D convolution)
  • web shop (shopping cart) on google app engine
  • Back press fragments issue in android
  • Safari PHP form submission -file upload hangs
  • Index.php as custom error page
  • Is a .txt file created in VB different than one I'd randomly create?
  • Shopify API CARTS - Changing line_item line_price for price Override
  • How can I make a 100% stacked chart with nvd3?
  • Unique SMS sender id?
  • Best practice for switching iPhone views?
  • read values from form post in jquery or javascript
  • SQL: Getting the physical size of a subset of a table
  • Returning the auto incrementing value after an insert using slick
  • pip in virtualenv gets ConnectTimeoutError
  • During installation of Django, why do I keep getting ImportError: No module named django?
  • pillow imaging ImportError
  • Sending HTML Form Data to Spring REST Web Service
  • Marklogic : Query response time is very high
  • All Classes Conforming to Protocol Inherit Default Implementation
  • Different response to non-authenticated users and AJAX calls
  • Websockets service method fails during R startup
  • File upload with ng-file-upload throwing error