Skip to content

Commit ec32291

Browse files
committed
fix: add check for non-INR transactions in payment eligibility
1 parent 3531346 commit ec32291

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

payment_integration_utils/payment_integration_utils/client_overrides/list/payment_entry_list.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ function get_ineligibility_reason(doc) {
7575

7676
if (doc.payment_type !== "Pay") return __("Not Payable");
7777

78+
if (doc.paid_from_account_currency !== "INR") return __("Not INR Transaction");
79+
7880
if (is_link_details_missing(doc)) return __("Contact Details Missing");
7981

8082
if (is_party_bank_account_missing(doc)) return __("Party's Bank Account Missing");

0 commit comments

Comments
 (0)