From 732802c68af0b74b8e61b6b2e30537f671ac1e0f Mon Sep 17 00:00:00 2001 From: Vrishab Srivatsa Date: Wed, 4 Oct 2023 18:28:53 +0530 Subject: [PATCH] All typos fixed --- src/LocaleString.res | 4 ++-- src/Payments/BankTransfersPopup.res | 2 +- src/Payments/KlarnaSDK.res | 2 +- src/Types/PaymentConfirmTypes.res | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/LocaleString.res b/src/LocaleString.res index 8f1937f8f..408249252 100644 --- a/src/LocaleString.res +++ b/src/LocaleString.res @@ -129,7 +129,7 @@ let localeStrings = [ saveCardDetails: "Save card details", addBankAccount: "Add bank account", achBankDebitTerms: str => - `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed withing 8 weeks starting from the date on which your account was debited.`, + `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.`, sepaDebitTerms: str => `By providing your payment information and confirming this payment, you authorise (A) ${str} and Hyperswitch, our payment service provider and/or PPRO, its local service provider, to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with those instructions. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank. You agree to receive notifications for future debits up to 2 days before they occur.`, becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, @@ -273,7 +273,7 @@ let localeStrings = [ saveCardDetails: "Save card details", addBankAccount: "Add bank account", achBankDebitTerms: str => - `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed withing 8 weeks starting from the date on which your account was debited.`, + `By providing your account number and confirming this payment, you are authorizing ${str} and Hyperswitch, our payment service provider, to send instructions to your bank to debit your account and your bank to debit your account in accordance with those instructions. You are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited.`, sepaDebitTerms: str => `By providing your payment information and confirming this payment, you authorise (A) ${str} and Hyperswitch, our payment service provider and/or PPRO, its local service provider, to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with those instructions. As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. Your rights are explained in a statement that you can obtain from your bank. You agree to receive notifications for future debits up to 2 days before they occur.`, becsDebitTerms: `By providing your bank account details and confirming this payment, you agree to this Direct Debit Request and the Direct Debit Request service agreement and authorise Hyperswitch Payments Australia Pty Ltd ACN 160 180 343 Direct Debit User ID number 507156 (“Hyperswitch”) to debit your account through the Bulk Electronic Clearing System (BECS) on behalf of Hyperswitch Payment Widget (the "Merchant") for any amounts separately communicated to you by the Merchant. You certify that you are either an account holder or an authorised signatory on the account listed above.`, diff --git a/src/Payments/BankTransfersPopup.res b/src/Payments/BankTransfersPopup.res index 2a0f388b5..1fdcad119 100644 --- a/src/Payments/BankTransfersPopup.res +++ b/src/Payments/BankTransfersPopup.res @@ -90,7 +90,7 @@ let make = (~transferType) => { {buttonElement} -
+
{keys ->Js.Array2.map(item =>
diff --git a/src/Payments/KlarnaSDK.res b/src/Payments/KlarnaSDK.res index 84cf7370f..43d2542c5 100644 --- a/src/Payments/KlarnaSDK.res +++ b/src/Payments/KlarnaSDK.res @@ -37,7 +37,7 @@ let default = (props: props) => { Utils.handlePostMessage([("fullscreen", false->Js.Json.boolean)]) Utils.postFailedSubmitResponse( ~errortype="confirm_payment_failed", - ~message="An unknown error has occured", + ~message="An unknown error has occurred", ) } diff --git a/src/Types/PaymentConfirmTypes.res b/src/Types/PaymentConfirmTypes.res index af68725cc..ffc56e75e 100644 --- a/src/Types/PaymentConfirmTypes.res +++ b/src/Types/PaymentConfirmTypes.res @@ -21,7 +21,7 @@ let defaultBacsBankInstruction = { account_number: "", account_holder_name: "", } -type reciever + type bankTransfer = {ach_credit_transfer: achCreditTransfer} type redirectToUrl = { returnUrl: string, @@ -135,6 +135,6 @@ let itemToObjMapper = dict => { paymentId: getString(dict, "payment_id", ""), error_message: getString(dict, "error_message", ""), payment_method_type: getString(dict, "payment_method_type", ""), - manualRetryAllowed: getBool(dict, "manual_retry_allowed", false) + manualRetryAllowed: getBool(dict, "manual_retry_allowed", false), } }