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

2Checkout: Refunds don't work on API v5

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6.0
    • Fix Version/s: 4.7.1
    • Component/s: None
    • Labels:
      None

      Description

      The API v5 refund is not function because and invalid reason is sent. Currently the refund parameters are:

      $params = [
      'refno' => $transaction_id,
      'amount' => $amount,
      'comment' => $notes,
      'reason' => 'Merchant Request'
      ];
      Instead for the reason we need to use one of the following (probably Other): Chargeback, Duplicate order, Incorrect product ordered, Not satisfied with the product, Product not received, Unwanted auto-renewal, Technical issue with the product, Other, No reason

        Activity

        jonathan Jonathan Reissmueller created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.7.0 Sprint 3 [ 88 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.7.0 Sprint 3 [ 88 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked lower
        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        If the demo doesn't allow us to test refunds, it will be a difficult trial-and-error attempt to resolve. We should contact someone that can test the updated functionality.

        It would be useful to support both the legacy refunds (that currently work) and the API v5 refunds that require this change. Perhaps an API selector in gateway settings.

        Show
        tyson Tyson Phillips (Inactive) added a comment - If the demo doesn't allow us to test refunds, it will be a difficult trial-and-error attempt to resolve. We should contact someone that can test the updated functionality. It would be useful to support both the legacy refunds (that currently work) and the API v5 refunds that require this change. Perhaps an API selector in gateway settings.
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.7.0 Sprint 4 [ 89 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.7.0 Sprint 4 [ 89 ] 4.7.0 Sprint 4, 4.7.0 Sprint 5 [ 89, 90 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.7.0 Sprint 4, 4.7.0 Sprint 5 [ 89, 90 ] 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6 [ 89, 90, 91 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6 [ 89, 90, 91 ] 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6, 4.8.0 Sprint 1 [ 89, 90, 91, 92 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #4 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 10 minutes [ 600 ]
        Worklog Id 12601 [ 12601 ]
        jonathan Jonathan Reissmueller made changes -
        Fix Version/s 4.7.1 [ 11126 ]
        Original Estimate 0 minutes [ 0 ]
        Affects Version/s 4.6.0 [ 11122 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #4 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Sep/19

              Time Tracking

              Estimated:
              Original Estimate - 0 minutes
              0m
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 10 minutes
              10m

                Agile