Skip to content

Commit

Permalink
Revert "fix: passing initiativeContext to TrustPay ApplePay (#519)"
Browse files Browse the repository at this point in the history
This reverts commit b74c816.
  • Loading branch information
vsrivatsa-edinburgh authored Jul 25, 2024
1 parent e3049c4 commit dc086ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orca-loader/Elements.res
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ open EventListenerManager
open ApplePayTypes

type trustPayFunctions = {
finishApplePaymentV2: (string, paymentRequestData, string) => Promise.t<JSON.t>,
finishApplePaymentV2: (string, paymentRequestData) => Promise.t<JSON.t>,
executeGooglePayment: (string, GooglePayType.paymentDataRequest) => Promise.t<JSON.t>,
}
@new external trustPayApi: JSON.t => trustPayFunctions = "TrustPayApi"
Expand Down Expand Up @@ -565,7 +565,7 @@ let make = (

try {
let trustpay = trustPayApi(secrets)
trustpay.finishApplePaymentV2(payment, paymentRequest, Window.Location.hostname)
trustpay.finishApplePaymentV2(payment, paymentRequest)
->then(res => {
let value = "Payment Data Filled: New Payment Method"
logger.setLogInfo(
Expand Down

0 comments on commit dc086ba

Please sign in to comment.