diff --git a/src/orca-loader/Elements.res b/src/orca-loader/Elements.res index bf640d4df..c80e9cac9 100644 --- a/src/orca-loader/Elements.res +++ b/src/orca-loader/Elements.res @@ -6,7 +6,7 @@ open EventListenerManager open ApplePayTypes type trustPayFunctions = { - finishApplePaymentV2: (string, paymentRequestData) => Promise.t, + finishApplePaymentV2: (string, paymentRequestData, string) => Promise.t, executeGooglePayment: (string, GooglePayType.paymentDataRequest) => Promise.t, } @new external trustPayApi: JSON.t => trustPayFunctions = "TrustPayApi" @@ -565,7 +565,7 @@ let make = ( try { let trustpay = trustPayApi(secrets) - trustpay.finishApplePaymentV2(payment, paymentRequest) + trustpay.finishApplePaymentV2(payment, paymentRequest, Window.Location.hostname) ->then(res => { let value = "Payment Data Filled: New Payment Method" logger.setLogInfo(