Home Forums Stripe Commissions & Gateway Support $woocommerce->cart->add_fee not calculated on Stripe total

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #68194
    Jean-Michel Junod
    Participant

    Hello,
    I use the action woocommerce_cart_calculate_fees to add some extra fees ($woocommerce->cart->add_fee()).
    These fees are shown in the order and order-received pages, but on Stripe the total amount is not correct, it seems that those extra fees are not added/used.
    Any hint on that?
    Best regards,
    – Jean-Michel

    #68293
    Anna
    Member

    @jeanmichel71
    Hello,
    Is the amount being deducted from the customer’s payment?
    Is the extra fee being submitted to admin instead of the vendor?

    #68313
    Jean-Michel Junod
    Participant

    Hello Anna,
    No, I can’t see the amount anywhere… Please look at the attached image.
    The 2 fees manually added are shown in the cart, but nowhere in Stripe (1029.- missing).

    #68356
    Anna
    Member

    @jeanmichel71
    Ok-
    Well I am sorry to say I just do not know how that custom code would need to be altered to properly work with Stripe and commissions.
    Is the customer actually be charged for the additional fees you have added?

    #68362
    Jean-Michel Junod
    Participant

    Hello Anna,
    This “custom code” is just a simple woocommerce normal add_fee operation. The total amount is calculated as expected in the cart/order-received pages, so in my opinion it should be reported on the Stripe billing, right? The total amount (with the extra fees as shown in the cart) should appear in the Stripe customer account (which is the one who’s receiving the money first, then commission to the “main account”), and that is not the case…
    Those extra fees are obviously not being handled by the gateway..?? This doesn’t look like a commission problem, it looks like the total amount with extra fees (add_fee) is just not properly handled, extra fees are ignored.
    Everywhere else in woocommerce (for example woocommerce/orders), the total is fine (with the extra fees), but not in Stripe.

    #68369
    Anna
    Member

    @jeanmichel71
    Ok I understand that your code is a woocommerce normal add_fee operation.
    However.. We calculate “orders” differently..
    The fee would essentially be coded in to a normal woocommerce cart, correct? The fee would then essentially be applied to the whole order.
    Our Stripe Commissions & Gateway plugin is designed to work with the vendor commissions calculations which are calculated per product.
    It is in this that I wonder if the normal woocommerce add_fee operation is failing to be properly calculated. If the extra fess are not being collected from the customer, not being sent to admin nor the vendor- then yes, they are being ignored.

    #68377
    Jean-Michel Junod
    Participant

    Hello Anna, thanks for your answer.
    Sorry to insist, but as described in the gateway’s description, it allows to:
    “Use Stripe on your checkout page as a payment gateway to accept credit card payments”
    If those extra fees are not being handled by the Stripe payment gateway, I wonder how it is possible to bill them to the customer???
    IMO the total price (order price including fees) has to be billed on the credit card of the customer (customer has to pay these fees), then the vendor should receive the amount (total including add_fee fees) minus the commission (“admin application fees” in Stripe which are calculated per product as you say) which is sent to the admin Stripe’s account.
    If I use the “WC Vendors Test Gateway”, the total includes all the fees. So why not on the “Stripe & Commission gateway”? How to bill these fees to the customer? Should I add a kind of “virtual product” which is the fees and this product would have no commission?
    Or am I totally missing the point?

    #68384
    Jean-Michel Junod
    Participant

    I also tried the following plug-in to add fees:
    “WooCommerce Conditional Product Fees for Checkout”
    The fees are not going to the admin Stripe (or vendor) account either.

    I read the following post:

    You say: “It would send the fees to the admin (you!).”
    For me, the admin (Stripe) account is the one which has the vendors connected accounts. But still no fees there…

    #68682
    Jean-Michel Junod
    Participant

    Hello,
    Any update/hint on this topic? How to bill extra fees with the Stripe gateway?
    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Stripe Commissions & Gateway Support’ is closed to new topics and replies.