Support » Plugin: WooCommerce Stripe Payment Gateway » Woocommerce try to capture an amount greater than it already has

  • Resolved Olivier

    (@olebrun)


    Hi,

    On an order, woocommerce try to capture an amount greater (1 cent) to the one paid by the customer. When I try to pass the order to “In progress”, stripe say :

    “You cannot capture a charge for an amount greater than it already has” and my order changed to status failed …

    How can I force stripe or woocommerce to capture the amount than is waiting on stripe (1 cent less then the woocommerce order) ?

    And why this appending ?

    Thanks,
    regards,

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Senff

    (@senff)

    Hi @olebrun,

    With Stripe, this is not possible. By authorizing a specific amount, the customer has agreed to pay a specific amount during the purchase, so you will not be able to charge them more than that.

    May I ask why you want to charge them 1 cent more?

    You don’t understand me :

    Woocommerce (or stripe ?) has ask the customer to paid 28.84€ so on stripe I have a authorized amount of 28.84€.

    Now I want to capture this amount but on the woocommerce order the total is not 28.84 but 28.85 ! (one cent more) … the order has not changed since the customer paiement … so why is there a 1 cent more on woocommerce order (or less on stripe) ?? and how to complete the order and capture the initial paiement of 28.84€ ?

    thanks,

    • This reply was modified 2 months, 2 weeks ago by Olivier.
    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    Hi there,

    You can modify the order in WooCommerce to reduce the amount of the order by 1 cent to process this charge.

    Can you please provide more information about this element:

    “Woocommerce has ask the customer to paid 28.84€ so on stripe I have a authorized amount of 28.84€.”

    Did you manually edit or create the charge in the Stripe Dashboard, or was the whole transaction initiated on the WooCommerce site only?

    How can I modify the order ?
    The only way I have found is to create and apply a coupon of 0.01€ … it works but not very nice as the customer view it :/

    The whole transaction was done by woocommerce and the stripe plugin. I do not have change the order nor do any operation on the stripe dashboard.

    Here is the order total (after applying coupon to capture the money) -> http://connectingstuff.net/a/wc1.png

    Here is the order notes (before applying coupon) -> http://connectingstuff.net/a/wc2.png

    And the stripe logs for this order (before applying coupon) -> http://connectingstuff.net/a/wc3.png

    • This reply was modified 2 months, 2 weeks ago by Olivier.
    • This reply was modified 2 months, 2 weeks ago by Olivier.
    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    You can modify an order as outlined here: https://docs.woocommerce.com/document/managing-orders/

    To avoid using a coupon you’d need to edit the order and reduce an item by 1 cent.

    Was the order edited in any way between the date of authorization 11/3 and the date of the capture on 11/05?

    Thanks for the order modification.
    No the order has not been touch in any way between it’s creation and the capture.

    In the woocommerce-stripe log I just found this:

    2019-11-03T21:46:45+00:00 DEBUG
    ====Stripe Version: 4.2.3====
    ====Start Log====
    Info: Begin processing payment for order 11092 for the amount of 27.84
    ====End Log====

    But I thinks it’s a rounding problem.
    I found on my logs the mail sent to the customer when the order was created and on the first line there is :

    “the product label” qty 1 price 3.99

    If I look at the order on the dashboard, this line is . :

    “the product label” qty 1 price 3.33 tax 0.67 -> 4 !!! (tax is 20%)

    The 0.01 cent diff is here so it seems woocommerce doesn’t do the total the same way on the order creation and on the dashboard … annoying

    Hi @olebrun,

    This is odd and not something we’re seeing happening much at all with Stripe. Not on version 4.2.3 nor on version 4.3

    Out of curiosity, what version of WooCommerce are you using? Are you also able to update Stripe to 4.3.0?

    Hi,

    I’m on woocommerce 3.7 and stripe gateway 4.2.3
    I will try to update to wocommerce 3.8 and strip 4.3 and have a try why the same order, but can’t do that soon.

    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    Ok. We’ll go ahead and keep this open for a bit. If we don’t hear back from you in a week, we’ll close this out and you can start a new thread if the issue persists after updating.

    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.