Skip to content

Commit

Permalink
PayPal: Only the frist refund was accepted by PayPal
Browse files Browse the repository at this point in the history
(cherry picked from commit 7f6905c)
  • Loading branch information
Michael-Herzog authored and markwoerdenweber committed Nov 18, 2024
1 parent c3be8d8 commit 950faab
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ public virtual async Task<PayPalResponse> RefundPaymentAsync(RefundPaymentReques
}

var refundRequest = new CapturesRefundRequest(request.Order.CaptureTransactionId)
.WithBody(message)
.WithRequestId(request.Order.Id.ToString());
.WithBody(message);

var response = await ExecuteRequestAsync(refundRequest, request.Order.StoreId, cancelToken);

Expand Down

0 comments on commit 950faab

Please sign in to comment.