Skip to content

Commit

Permalink
Removes dummy comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed Oct 19, 2023
1 parent 2f0d028 commit 78c1319
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Handlers/AbstractPaymentMethodHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,6 @@ protected function preparePaymentsRequest(
$paymentRequest->setShopperIP($shopperIp);
$paymentRequest->setShopperReference($shopperReference);

//Building payment data
//Building payment data
$amount = $partialAmount ?: $this->currency->sanitize(
$transaction->getOrder()->getPrice()->getTotalPrice(),
Expand Down
2 changes: 1 addition & 1 deletion src/Handlers/PaymentResponseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ public function handlePaymentResponse(

$paymentResponseHandlerResult->setIsGiftcardOrder($isGiftcardOrderResponse);

// TODO: donation token is null in response in case of ideal payments - Ask Can what to do about it
$donationToken = $response->getDonationToken();

// Set Donation Token if response contains it, except for giftcards
if (!empty($donationToken) && !$isGiftcardOrderResponse) {
$paymentResponseHandlerResult->setDonationToken($donationToken);
Expand Down

0 comments on commit 78c1319

Please sign in to comment.