Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Add Adyen Blik to Headless #1005

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

borisprimer
Copy link
Contributor

@borisprimer borisprimer self-assigned this Sep 27, 2024
@borisprimer borisprimer requested review from a team as code owners September 27, 2024 17:22
@borisprimer borisprimer changed the title Add Adyen Blik to Headless feature: Add Adyen Blik to Headless Sep 27, 2024
@borisprimer borisprimer force-pushed the bn/ACC-4219-adyen-blik-on-headless branch from 3facac6 to 46bd9c9 Compare September 27, 2024 17:25
Copy link
Contributor

redirectManager = try PrimerHeadlessUniversalCheckout.NativeUIManager(paymentMethodType: paymentMethodType)
try redirectManager?.showPaymentMethod(intent: sessionIntent)
} catch {
print("\n\nMERCHANT APP\n\(#function)\nerror: \(error)")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BorisNikolic do we need to send analytics data, or logs at this point to Kibana?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually no need, this is the debug app code, the view controller utilising headless implementation as an example.

Copy link
Contributor

@jnewc jnewc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some tests

@borisprimer
Copy link
Contributor Author

Please add some tests

Will do that, totally forgot to add them 🤦

@borisprimer borisprimer force-pushed the bn/ACC-4219-adyen-blik-on-headless branch 4 times, most recently from 79ee26c to 590dbe7 Compare October 2, 2024 12:27
Copy link
Contributor

github-actions bot commented Oct 3, 2024

Warnings
⚠️ > Pull Request size seems relatively large. If this Pull Request contains multiple changes, please split each into separate PR will helps faster, easier review.

Generated by 🚫 Danger Swift against 0d00a77

Package.resolved Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you expect this addition here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ehm, nope...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.


var rawData: PrimerRawData? {
didSet {
if let rawPhoneNumberInput = self.rawData as? PrimerOTPData {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable name is a little misleading

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed and pushed.

NQuinn27
NQuinn27 previously approved these changes Oct 3, 2024
Copy link
Contributor

@NQuinn27 NQuinn27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, a couple of nits

@borisprimer borisprimer force-pushed the bn/ACC-4219-adyen-blik-on-headless branch from 330fe24 to 0d00a77 Compare October 3, 2024 13:15
Copy link

sonarqubecloud bot commented Oct 3, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
79.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@NQuinn27 NQuinn27 merged commit e6f6597 into master Oct 3, 2024
13 of 14 checks passed
@NQuinn27 NQuinn27 deleted the bn/ACC-4219-adyen-blik-on-headless branch October 3, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants