Total price being passed to stripe is occasionally 0.01p too little

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Gateways Stripe Total price being passed to stripe is occasionally 0.01p too little

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39549

    Simon Harris
    Participant

    Every now and then my online payments are going through but 1p too little. I have looked at 8 of them (the only ones that occurred) since may and can see no similarities between them. Whilst I’m not worried about the money it does present a bit of a headache when accounting.

    I have checked in stripe under the POST /v1/charges and the amount is wrong. For example the following order was for £18.90 and in Stripe

    “object”: “charge”,
    “amount”: 1889,
    “amount_refunded”: 0,
    “application”: null,
    “application_fee”: null,

    Any ideas??
    🙂

    #39550

    Olly
    Admin & Mod

    sounds like a rounding issue somewhere perhaps ?! (just guessing though)
    can you post the whole stripe POST /v1/charges output here (make it a private reply)
    maybe we can see something there to start off with

    thing is, if 1889 does not match 1890 (presumably the actual order value) it should throw some errors somewhere before it even gets to stripe (i.e the 2 amounts must match EXACTLY)

    that’s just off the top off my head at the moment (haven’t come across this before )

    furthermore – are you willing and able to get out some info out of the wppizza orders table ? (not everybody knows how to access database table data so am asking first of all)

    #39551

    Olly
    Admin & Mod

    one more thing :
    where exactly do you see the 18.90 ?

    #39552

    Simon Harris
    Participant
    This reply has been marked as private.
    #39553

    Olly
    Admin & Mod
    This reply has been marked as private.
    #39554

    Olly
    Admin & Mod
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Total price being passed to stripe is occasionally 0.01p too little’ is closed to new replies.