diff --git a/src/Types/PaymentType.res b/src/Types/PaymentType.res index 0acca83f5..43fa329c4 100644 --- a/src/Types/PaymentType.res +++ b/src/Types/PaymentType.res @@ -897,7 +897,7 @@ let getConfirmParams = dict => { let getSdkHandleConfirmPaymentProps = dict => { handleConfirm: dict->getBool("handleConfirm", false), - buttonText: dict->getString("buttonText", ""), + buttonText: ?dict->getOptionString("buttonText"), confirmParams: dict->getDictfromDict("confirmParams")->getConfirmParams, }