Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5308

Possible payment race condition during client checkout when also applying a credit

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.10.3
    • Fix Version/s: 5.11.1
    • Component/s: Client Interface, Plugins
    • Labels:
      None

      Description

      A customer had an issue where the client had a credit, they applied the credit during checkout and paid the difference with Stripe Payments. However, the full amount was charged with Stripe and a transaction was recorded for the difference (invoice - credit).

      To reproduce:

      1. Add a credit to the client's account of $92.52
      2. Order a service for $102
      3. Place order as a client (Wizard template). Choose to apply the credit and move forward with payment with Stripe Payments.

      Note that the payment is processed for the full amount, but the transaction is not accurate.

      Some screenshots attached to reflect the result encountered.

      1. screenshot-1.png
        58 kB
      2. screenshot-2.png
        38 kB
      3. screenshot-3.png
        90 kB

        Activity

        Hide
        admin Paul Phillips added a comment -

        As part of this, double check that the transaction amount we are recording is what's returned from Stripe I think we talked about this before but don't recall if we are already doing this or are doing this as part of another task. Seems like maybe we aren't since the transaction amount does not match.

        Show
        admin Paul Phillips added a comment - As part of this, double check that the transaction amount we are recording is what's returned from Stripe I think we talked about this before but don't recall if we are already doing this or are doing this as part of another task. Seems like maybe we aren't since the transaction amount does not match.

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: