Skip to content

Commit

Permalink
allowOnboarding is now assigned. (#1505)
Browse files Browse the repository at this point in the history
<fixed>

* For Apple Pay, when the `allowOnboarding` property of
`ApplePayConfiguration.init` is set to **true**, the onboarding check
now correctly runs.

</fixed>
  • Loading branch information
goergisn authored Jan 17, 2024
2 parents b0156d8 + 7c087c7 commit 8365e8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AdyenComponents/Apple Pay/ApplePayConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ extension ApplePayComponent {
throw ApplePayComponent.Error.emptyMerchantIdentifier
}
self.paymentRequest = paymentRequest
self.allowOnboarding = allowOnboarding

self.merchantIdentifier = paymentRequest.merchantIdentifier
self.applePayPayment = try ApplePayPayment(countryCode: paymentRequest.countryCode,
Expand Down

0 comments on commit 8365e8b

Please sign in to comment.