Skip to content

Commit

Permalink
chore: removing a check that is not required anymore (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 authored Jul 22, 2024
1 parent 067dcb1 commit 7525c5d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ let adyenHelperObj = {

// determines whether Adyen Giving is available based on the donation token
isAdyenGivingAvailable(paymentInstrument) {
// Adyen giving is only available for BCMC in POS
return paymentInstrument.paymentTransaction.custom.Adyen_donationToken && paymentInstrument.paymentTransaction.custom.Adyen_paymentMethod !== 'bcmc';
return paymentInstrument.paymentTransaction.custom.Adyen_donationToken;
},

// gets the ID for ratePay using the custom preference and the encoded session ID
Expand Down

0 comments on commit 7525c5d

Please sign in to comment.