Skip to content

Commit

Permalink
Merge branch 'feature/SP-87-lagg-till-click-to-pay-i-device-accepted-…
Browse files Browse the repository at this point in the history
…wallets' into 'feature/native-payments'

Adding ClickToPay as device accepted wallet

See merge request swedbank-pay/swedbank-pay-sdk-ios!15
  • Loading branch information
alleus committed Nov 14, 2024
2 parents a73b650 + ee72936 commit 86a85a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct SwedbankPayAPIEnpointRouter: EndpointRouterProtocol {
}
case .preparePayment:
return ["integration": "HostedView",
"deviceAcceptedWallets": PKPaymentAuthorizationController.canMakePayments() ? "ApplePay" : "",
"deviceAcceptedWallets": PKPaymentAuthorizationController.canMakePayments() ? "ApplePay;ClickToPay" : "ClickToPay",
"client": ["userAgent": SwedbankPaySDK.VersionReporter.userAgent,
"ipAddress": NetworkStatusProvider.getAddress(for: .wifi) ?? NetworkStatusProvider.getAddress(for: .cellular) ?? "",
"screenHeight": String(Int32(UIScreen.main.nativeBounds.height)),
Expand Down

0 comments on commit 86a85a0

Please sign in to comment.