Questions tagged [fee]

E-commerce usage related to additional charges

A charge, a surcharge or an addition for professional service…

157 questions
2
votes
1 answer

woocommerce_cart_calculate_fees load after woocommerce_before_cart_table

I have a problem trying to do some calculations with woocommerce_before_cart_table custom values and passing them to woocommerce_cart_calculate_fees. The problem is that woocommerce_before_cart_table is loading first and I am not able to pass that…
Shaik
  • 930
  • 1
  • 20
  • 48
2
votes
1 answer

WooCommerce - Adding shipping fee for free user plan

I am using WooCommerce and with Paid Memberships Pro free plugin. On the web site we have 2 plans (a free plan and a paid plan): Free users can buy 1 item each month, Paid users can buy 4 items each months. Now I don't know how to simply…
Amino
  • 563
  • 1
  • 9
  • 26
1
vote
1 answer

How to Combine Different Woocommerce Fees into One Name?

I'm setting up California Redemption value fees for my site. The code that I have found on here works, however I would like for the different fees to be combined under the same name, which would just be "C.R.V." but still count the appropriate fees…
1
vote
0 answers

AptosBridge in BSC Chain script bot problem (Node.js)

Writing script for transactions thru Aptos bridge from BSC Chain. The problem is - every time I get the same transaction revert reason. LzApp: Not enough native token. I checked everything in aptos docs. Everything seems to be right but still…
Tim Reznik
  • 11
  • 1
1
vote
1 answer

Woocommerce PayPal Payment Fee Plugins

In my business, I can't cover the payment fee as a seller. I have to let the buyer pay including the payment fee, like 3.99% + 0.3 USD, 4.99% + 0.3 USD, or other currency as another formula. It is based on currencies because I have more than 10…
Zara Liu
  • 11
  • 1
1
vote
1 answer

WooCommerce checkout fee based on cart item count with category excluded

I am trying to make custom checkout fees if there is more items in cart than 5 or 10, but I also have to exclude categories "tickets" and "vouchers" from count. I found good code examples but none with a negative category selection and I really…
1
vote
1 answer

After the ethereum merge, how can I know the reward address..?

Before the Ethereum merge. The miner received the fee or reward, and the miner was known by looking at the json rpc function "eth_getBlockByNumber". Now, I know that people who participated in staking get a reward. Has the json-rpc api been added to…
Jmob
  • 49
  • 7
1
vote
0 answers

Woocommerce checkout - display payment gateway cost even if zero

Following up on this question WooCommerce custom payment gateway: Just show an extra fee based on total order , I was wondering if it's possible to just display the payment amount next to each payment option, like in this…
ilkork
  • 23
  • 5
1
vote
1 answer

Internal JSON-RPC error. “execution reverted” when using safeTransferFrom with a fee

This is a smart contract that I wrote in Solidity. It works 100% if I don´t charge any transaction fees. When I added 2 lines to charge a fee, I am getting this error. What this smart contract does is very simple. It transfers 2 tokens (_tokenId1…
robsonsf
  • 21
  • 2
1
vote
1 answer

Apply discount for every 10th order in WooCommerce

I need to give the customer a 10% discount after 10 orders are made, and next 10 and next 10. I've found some code and modified it. So based on Apply a coupon programmatically in Woocommerce answer code, this is my code attempt: ///* 10% Discount…
Web Honey
  • 28
  • 7
1
vote
0 answers

Braintree Transaction Fee

I am struggling to find any mention of the Braintree Transaction Fee in the transaction reports. Braintree fees can seemingly only be found by individual transaction ID in the merchant statement->Transaction Fee Report, however this is only…
SamuraiMelon
  • 297
  • 3
  • 11
1
vote
1 answer

Extra fee based on user ID, user role and payment method in WooCommerce checkout

I have a piece of code that adds a small fee to the checkout for a certain user role (b2bcustomer). Everything works OK. Now I would like one particular user ID in this user role (b2bcustomer) not to be charged a fee. I tried to complete the code…
JackFrank
  • 13
  • 3
1
vote
1 answer

How to add fees based on product categories and quantity in WooCommerce

I have some product in WooCommerce and two categories are: Name: ORG Test Slug: org-test Name: ORG Prod Slug: org-prod I want to calculate shipping fee per quantity ($15 per quantity) if the product matches org-prod category: My code…
Si8
  • 9,141
  • 22
  • 109
  • 221
1
vote
1 answer

Apply fee based on product category and product length in WooCommerce

I'm trying to apply a fee based on the product category and product length. If the product belongs to a certain category and the length is less than 30m I want to charge a cut price fee per product (cost to cut roll of flooring). I have a function…
Sofi Smith
  • 172
  • 2
  • 13
1
vote
2 answers

Add fee to WooCommerce shipping class but exclude local pickup

I'm using Add fee to Woocommerce Shipping Class without the use of zones or flat rate answer code, that allows me add an additional 'Fee' if any product from the 'Dangerous Goods' shipping class has been added to cart. This is great as it allows me…
1 2
3
10 11