diff --git a/public/icons/orca.svg b/public/icons/orca.svg index dce3d7806..3852f164d 100644 --- a/public/icons/orca.svg +++ b/public/icons/orca.svg @@ -3323,4 +3323,10 @@ License) d="M13.3333 7.99774C13.2454 8.00001 13.138 8.00001 13 8.00001H7.99998M13.3333 7.99774C13.4427 7.99492 13.522 7.98859 13.5934 7.97439C14.1224 7.86918 14.5358 7.45572 14.641 6.9268C14.6666 6.798 14.6666 6.64311 14.6666 6.33334C14.6666 6.02357 14.6666 5.86869 14.641 5.73989C14.5358 5.21097 14.1224 4.79751 13.5934 4.6923C13.4646 4.66668 13.3097 4.66668 13 4.66668H9.66665M13.3333 7.99774V10.8C13.3333 11.9201 13.3333 12.4802 13.1153 12.908C12.9236 13.2843 12.6176 13.5903 12.2413 13.782C11.8135 14 11.2534 14 10.1333 14H7.99998M2.66665 7.99774C2.75457 8.00001 2.86192 8.00001 2.99998 8.00001H7.99998M2.66665 7.99774C2.55731 7.99492 2.47791 7.98859 2.40653 7.97439C1.87761 7.86918 1.46414 7.45572 1.35893 6.9268C1.33331 6.798 1.33331 6.64311 1.33331 6.33334C1.33331 6.02357 1.33331 5.86869 1.35893 5.73989C1.46414 5.21097 1.87761 4.79751 2.40653 4.6923C2.53532 4.66668 2.69021 4.66668 2.99998 4.66668H6.33331M2.66665 7.99774V10.8C2.66665 11.9201 2.66665 12.4802 2.88463 12.908C3.07638 13.2843 3.38234 13.5903 3.75867 13.782C4.18649 14 4.74654 14 5.86665 14H7.99998M9.66665 4.66668C10.5871 4.66668 11.3333 3.92048 11.3333 3.00001C11.3333 2.07954 10.5871 1.33334 9.66665 1.33334C8.74617 1.33334 7.99998 2.07954 7.99998 3.00001M9.66665 4.66668H7.99998M7.99998 3.00001C7.99998 2.07954 7.25379 1.33334 6.33331 1.33334C5.41284 1.33334 4.66665 2.07954 4.66665 3.00001C4.66665 3.92048 5.41284 4.66668 6.33331 4.66668M7.99998 3.00001V4.66668M6.33331 4.66668H7.99998M7.99998 14V8.00001M7.99998 8.00001V4.66668" stroke="currentColor" stroke-width="1.064" stroke-linecap="round" stroke-linejoin="round" /> + + + \ No newline at end of file diff --git a/src/LocaleStrings/ArabicLocale.res b/src/LocaleStrings/ArabicLocale.res index 0287315df..dd81b9974 100644 --- a/src/LocaleStrings/ArabicLocale.res +++ b/src/LocaleStrings/ArabicLocale.res @@ -251,4 +251,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `لا يوجد مبلغ متبقٍ للدفع. يرجى المتابعة لإتمام عملية الدفع.`, giftCardPaymentRemainingMessage: (currency, amount) => `يرجى دفع المبلغ المتبقي ${amount} ${currency} باستخدام وسيلة دفع أخرى أدناه.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/CatalanLocale.res b/src/LocaleStrings/CatalanLocale.res index 92c940470..9dbb8b816 100644 --- a/src/LocaleStrings/CatalanLocale.res +++ b/src/LocaleStrings/CatalanLocale.res @@ -250,4 +250,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `No queda cap import pendent de pagament. Si us plau, continueu amb el pagament.`, giftCardPaymentRemainingMessage: (currency, amount) => `Pagueu l'import restant de ${currency} ${amount} amb un altre mètode de pagament a continuació.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/ChineseLocale.res b/src/LocaleStrings/ChineseLocale.res index acb44fb1e..fb85219b2 100644 --- a/src/LocaleStrings/ChineseLocale.res +++ b/src/LocaleStrings/ChineseLocale.res @@ -248,4 +248,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `无需支付剩余金额。请继续完成付款。`, giftCardPaymentRemainingMessage: (currency, amount) => `请使用下方的其他支付方式支付剩余金额 ${currency}${amount}。`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/DeutschLocale.res b/src/LocaleStrings/DeutschLocale.res index d743842b0..d9741fe21 100644 --- a/src/LocaleStrings/DeutschLocale.res +++ b/src/LocaleStrings/DeutschLocale.res @@ -249,4 +249,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Es ist kein Restbetrag zu zahlen. Bitte fahren Sie mit der Zahlung fort.`, giftCardPaymentRemainingMessage: (currency, amount) => `Bitte zahlen Sie den verbleibenden Betrag von ${amount} ${currency} mit einer anderen Zahlungsmethode unten.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/DutchLocale.res b/src/LocaleStrings/DutchLocale.res index cacc431f7..dd54fc540 100644 --- a/src/LocaleStrings/DutchLocale.res +++ b/src/LocaleStrings/DutchLocale.res @@ -248,4 +248,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Er staat geen resterend bedrag open. Ga verder met de betaling.`, giftCardPaymentRemainingMessage: (currency, amount) => `Betaal het resterende bedrag van ${amount} ${currency} met een andere betaalmethode hieronder.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/EnglishGBLocale.res b/src/LocaleStrings/EnglishGBLocale.res index b2547c586..37032b61b 100644 --- a/src/LocaleStrings/EnglishGBLocale.res +++ b/src/LocaleStrings/EnglishGBLocale.res @@ -248,4 +248,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `There is no remaining amount to pay. Please proceed with the payment.`, giftCardPaymentRemainingMessage: (currency, amount) => `Please pay the remaining ${currency} ${amount} using another payment method below.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/EnglishLocale.res b/src/LocaleStrings/EnglishLocale.res index e06cfc24a..a0cd07640 100644 --- a/src/LocaleStrings/EnglishLocale.res +++ b/src/LocaleStrings/EnglishLocale.res @@ -248,4 +248,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `No remaining amount to pay. Please proceed with payment.`, giftCardPaymentRemainingMessage: (currency, amount) => `Pay remaining ${currency} ${amount} with other payment method below.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/FrenchBelgiumLocale.res b/src/LocaleStrings/FrenchBelgiumLocale.res index 940fd33c1..ce226bae9 100644 --- a/src/LocaleStrings/FrenchBelgiumLocale.res +++ b/src/LocaleStrings/FrenchBelgiumLocale.res @@ -250,4 +250,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Aucun montant restant à payer. Veuillez poursuivre le paiement.`, giftCardPaymentRemainingMessage: (currency, amount) => `Veuillez payer le montant restant de ${amount} ${currency} avec un autre moyen de paiement ci-dessous.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/FrenchLocale.res b/src/LocaleStrings/FrenchLocale.res index d504b65ed..e88c27650 100644 --- a/src/LocaleStrings/FrenchLocale.res +++ b/src/LocaleStrings/FrenchLocale.res @@ -250,4 +250,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Aucun montant restant à payer. Veuillez poursuivre le paiement.`, giftCardPaymentRemainingMessage: (currency, amount) => `Veuillez payer le montant restant de ${amount} ${currency} avec un autre moyen de paiement ci-dessous.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/HebrewLocale.res b/src/LocaleStrings/HebrewLocale.res index d25097c3b..719016532 100644 --- a/src/LocaleStrings/HebrewLocale.res +++ b/src/LocaleStrings/HebrewLocale.res @@ -249,4 +249,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `לא נותר סכום לתשלום. אנא המשיכו לביצוע התשלום.`, giftCardPaymentRemainingMessage: (currency, amount) => `אנא שלמו את הסכום שנותר ${amount} ${currency} באמצעות אמצעי תשלום אחר למטה.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/ItalianLocale.res b/src/LocaleStrings/ItalianLocale.res index af45633fd..e4ad0602d 100644 --- a/src/LocaleStrings/ItalianLocale.res +++ b/src/LocaleStrings/ItalianLocale.res @@ -250,4 +250,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Non rimane alcun importo da pagare. Procedi con il pagamento.`, giftCardPaymentRemainingMessage: (currency, amount) => `Paga l’importo rimanente di ${amount} ${currency} con un altro metodo di pagamento qui sotto.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/JapaneseLocale.res b/src/LocaleStrings/JapaneseLocale.res index ad92ac3a4..fe620af07 100644 --- a/src/LocaleStrings/JapaneseLocale.res +++ b/src/LocaleStrings/JapaneseLocale.res @@ -249,4 +249,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `残りの支払金額はありません。支払いを続行してください。`, giftCardPaymentRemainingMessage: (currency, amount) => `残りの ${amount}${currency} は、以下の別の支払い方法でお支払いください。`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/LocaleStringTypes.res b/src/LocaleStrings/LocaleStringTypes.res index ba2c9f689..086beba71 100644 --- a/src/LocaleStrings/LocaleStringTypes.res +++ b/src/LocaleStrings/LocaleStringTypes.res @@ -236,6 +236,7 @@ type localeStrings = { giftCardAppliedText: string, giftCardPaymentCompleteMessage: string, giftCardPaymentRemainingMessage: (string, string) => string, + payment_methods_qris: string, } type constantStrings = { diff --git a/src/LocaleStrings/PolishLocale.res b/src/LocaleStrings/PolishLocale.res index 636eb59a9..4498d34bc 100644 --- a/src/LocaleStrings/PolishLocale.res +++ b/src/LocaleStrings/PolishLocale.res @@ -249,4 +249,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Nie pozostała żadna kwota do zapłaty. Proszę kontynuować płatność.`, giftCardPaymentRemainingMessage: (currency, amount) => `Proszę zapłacić pozostałą kwotę ${amount} ${currency} inną metodą płatności poniżej.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/PortugueseLocale.res b/src/LocaleStrings/PortugueseLocale.res index c1c19c867..0d893de67 100644 --- a/src/LocaleStrings/PortugueseLocale.res +++ b/src/LocaleStrings/PortugueseLocale.res @@ -249,4 +249,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Não há valor restante a pagar. Por favor, prossiga com o pagamento.`, giftCardPaymentRemainingMessage: (currency, amount) => `Por favor, pague o valor restante de ${amount} ${currency} com outro método de pagamento abaixo.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/RussianLocale.res b/src/LocaleStrings/RussianLocale.res index 9d1dc172e..41648121f 100644 --- a/src/LocaleStrings/RussianLocale.res +++ b/src/LocaleStrings/RussianLocale.res @@ -257,4 +257,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Оставшаяся сумма к оплате отсутствует. Пожалуйста, продолжите оплату.`, giftCardPaymentRemainingMessage: (currency, amount) => `Пожалуйста, оплатите оставшуюся сумму ${amount} ${currency} другим способом оплаты ниже.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/SpanishLocale.res b/src/LocaleStrings/SpanishLocale.res index 968892542..b7c682059 100644 --- a/src/LocaleStrings/SpanishLocale.res +++ b/src/LocaleStrings/SpanishLocale.res @@ -249,4 +249,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `No queda importe restante por pagar. Por favor, proceda con el pago.`, giftCardPaymentRemainingMessage: (currency, amount) => `Pague los ${currency} ${amount} restantes con otro método de pago a continuación.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/SwedishLocale.res b/src/LocaleStrings/SwedishLocale.res index 178af1950..4eb97185e 100644 --- a/src/LocaleStrings/SwedishLocale.res +++ b/src/LocaleStrings/SwedishLocale.res @@ -248,4 +248,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `Ingen kvarvarande summa att betala. Vänligen fortsätt med betalningen.`, giftCardPaymentRemainingMessage: (currency, amount) => `Vänligen betala den kvarvarande summan ${amount} ${currency} med en annan betalningsmetod nedan.`, + payment_methods_qris: `QRIS`, } diff --git a/src/LocaleStrings/TraditionalChineseLocale.res b/src/LocaleStrings/TraditionalChineseLocale.res index 358ab60f5..d234c05ad 100644 --- a/src/LocaleStrings/TraditionalChineseLocale.res +++ b/src/LocaleStrings/TraditionalChineseLocale.res @@ -248,4 +248,5 @@ let localeStrings: LocaleStringTypes.localeStrings = { giftCardPaymentCompleteMessage: `無需支付剩餘金額。請繼續完成付款。`, giftCardPaymentRemainingMessage: (currency, amount) => `請使用下方的其他付款方式支付剩餘金額 ${currency}${amount}。`, + payment_methods_qris: `QRIS`, } diff --git a/src/Payments/PaymentMethodsRecord.res b/src/Payments/PaymentMethodsRecord.res index b27c5a431..8932e23fb 100644 --- a/src/Payments/PaymentMethodsRecord.res +++ b/src/Payments/PaymentMethodsRecord.res @@ -660,6 +660,13 @@ let getPaymentMethodsFields = (~localeString: LocaleStringTypes.localeStrings) = fields: [InfoElement], miniIcon: Some(icon("bank", ~size=19)), }, + { + paymentMethodName: "qris", + icon: Some(icon("qris", ~size=19, ~width=40)), + displayName: localeString.payment_methods_qris, + fields: [InfoElement], + miniIcon: None, + }, ] type required_fields = { diff --git a/src/Types/PaymentModeType.res b/src/Types/PaymentModeType.res index 4aae4c261..b43536ec4 100644 --- a/src/Types/PaymentModeType.res +++ b/src/Types/PaymentModeType.res @@ -27,6 +27,7 @@ type payment = | PayPal | EFT | Givex + | QRIS | Unknown let paymentMode = str => { @@ -59,6 +60,7 @@ let paymentMode = str => { | "paypal" => PayPal | "eft" => EFT | "givex" => Givex + | "qris" => QRIS | _ => Unknown } } @@ -92,4 +94,5 @@ let defaultOrder = [ "eft", "revolut_pay", "givex", + "qris", ] diff --git a/src/Utilities/DynamicFieldsUtils.res b/src/Utilities/DynamicFieldsUtils.res index c22a49653..4689b2cc4 100644 --- a/src/Utilities/DynamicFieldsUtils.res +++ b/src/Utilities/DynamicFieldsUtils.res @@ -40,6 +40,7 @@ let dynamicFieldsEnabledPaymentMethods = [ "interac", "open_banking", "givex", + "qris", ] let getAtomBasedOnSplitPayments = (isSplitPaymentsEnabled, splitAtom, normalAtom) =>