Skip to content

Feature/payto base#2080

Merged
neelSharma12 merged 74 commits intodevelopfrom
feature/payto-base
Apr 3, 2025
Merged

Feature/payto base#2080
neelSharma12 merged 74 commits intodevelopfrom
feature/payto-base

Conversation

@neelSharma12
Copy link
Copy Markdown
Contributor

@neelSharma12 neelSharma12 commented Mar 31, 2025

Summary

Payment method: PayTo

Demo

PayTo_flow.mp4

Release notes

Supported payment method: PayTo. Payment method type: payto.

Ticket

COIOS-846

neelSharma12 and others added 30 commits January 31, 2025 13:41
# Summary

<new>
- Added initial setup for payTo payment method.
</new>

# Ticket

<ticket>
COIOS-863
</ticket>
# Summary

# Demo
![Simulator Screenshot - iPhone 16 - 2025-02-03 at 09 36
59](https://github.com/user-attachments/assets/75777513-4b24-4014-819d-2e9f5425ef27)

<new>
Create base UI including following:

PayTo title text
PayTo flow type selection title text
Segmented control item including 1. PayID 2.BSB
Continue button

</new>

# Ticket

<ticket>
COIOS-864
</ticket>
# Summary

Adds the phone number item with single extension (thus no selection).

# Ticket

<ticket>
COIOS-866
</ticket>
# Summary

<new>
- Added Identifier picker UI.
- Added First name input field.
- Added last name input field.
</new>

# Ticket

<ticket>
COIOS-865
</ticket>

![Simulator Screenshot - iPhone 16 - 2025-02-17 at 13 18
37](https://github.com/user-attachments/assets/435f3334-d329-470a-b4a3-6a561c29d6eb)
neelSharma12 and others added 9 commits March 19, 2025 12:11
Regenerate snapshots
# Summary


Add snapshot tests

# Ticket

<ticket>
COIOS-881
</ticket>
# Summary

Modified error messages.

# Ticket

<ticket>
COIOS-887
</ticket>
# Summary

Added docs for PayTo.

# Ticket

<ticket>
COIOS-000
</ticket>
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: ['new', 'changed', 'fixed', 'removed', 'deprecated', 'chore', 'improvement']

@neelSharma12 neelSharma12 added the new a pull request that adds a new feature label Apr 1, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2025

👀 6 public changes detected

Comparing feature/payto-base to develop

❇️6 Additions

Adyen

❇️ Added

public struct PayToPaymentMethod: Adyen.PaymentMethod {
  public func encode(to encoder: any Swift.Encoder) throws -> Swift.Void
  public init(from decoder: any Swift.Decoder) throws
  public let name: Swift.String { get }
  public let type: Adyen.PaymentMethodType { get }
  public var merchantProvidedDisplayInformation: Adyen.MerchantCustomDisplayInformation?
}
public struct StoredPayToPaymentMethod: Adyen.StoredPaymentMethod {
  public func defaultDisplayInformation(using parameters: Adyen.LocalizationParameters?) -> Adyen.DisplayInformation
  public func encode(to encoder: any Swift.Encoder) throws -> Swift.Void
  public init(from decoder: any Swift.Decoder) throws
  public let identifier: Swift.String { get }
  public let label: Swift.String { get }
  public let name: Swift.String { get }
  public let supportedShopperInteractions: [Adyen.ShopperInteraction] { get }
  public let type: Adyen.PaymentMethodType { get }
  public var merchantProvidedDisplayInformation: Adyen.MerchantCustomDisplayInformation?
}

PaymentMethodType

❇️ Added

case payTo

AdyenActions

AwaitPaymentMethod

❇️ Added

case payTo

AdyenComponents

❇️ Added

final public class PayToComponent: Adyen.AdyenObserver, Adyen.LoadingComponent, Adyen.PaymentAware, Adyen.PaymentComponent, Adyen.PresentableComponent, Adyen.SubmittableComponent {
  final public func stopLoading() -> Swift.Void
  final public func submit() -> Swift.Void
  final public func validate() -> Swift.Bool
  final public var configuration: AdyenComponents.PayToComponent.Configuration
  final public var paymentMethod: any Adyen.PaymentMethod { get }
  final public var requiresModalPresentation: Swift.Bool
  final public var viewController: UIKit.UIViewController { get set }
  public init(
    paymentMethod: Adyen.PayToPaymentMethod,
    context: Adyen.AdyenContext,
    configuration: AdyenComponents.PayToComponent.Configuration = .init()
  )
  public typealias Configuration = Adyen.BasicComponentConfiguration
  weak final public var delegate: (any Adyen.PaymentComponentDelegate)?
}
public struct PayToDetails: Adyen.PaymentMethodDetails, Adyen.ShopperInformation {
  public func encode(to encoder: any Swift.Encoder) throws -> Swift.Void
  public init(
    paymentMethod: any Adyen.PaymentMethod,
    accountIdentifier: Swift.String,
    shopperName: Adyen.ShopperName?
  )
  public let accountIdentifier: Swift.String { get }
  public let shopperName: Adyen.ShopperName? { get }
  public let type: Adyen.PaymentMethodType { get }
}

Analyzed targets: Adyen, AdyenActions, AdyenCard, AdyenCashAppPay, AdyenComponents, AdyenDelegatedAuthentication, AdyenDropIn, AdyenEncryption, AdyenSession, AdyenSwiftUI, AdyenTwint, AdyenWeChatPay

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

@erenbesel erenbesel left a comment

Choose a reason for hiding this comment

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

Great! Could you update the release note with the correct format before merging? Needs to be same format as when we add a new payment method

@neelSharma12
Copy link
Copy Markdown
Contributor Author

Great! Could you update the release note with the correct format before merging? Needs to be same format as when we add a new payment method

Yes, tomorrow I have a meeting with docs team and I gonna confirm the notes with them.

Copy link
Copy Markdown
Contributor

@atmamont atmamont left a comment

Choose a reason for hiding this comment

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

🦘 🚀

@neelSharma12 neelSharma12 marked this pull request as ready for review April 3, 2025 07:46
@neelSharma12 neelSharma12 merged commit b80fc2e into develop Apr 3, 2025
16 checks passed
@neelSharma12 neelSharma12 deleted the feature/payto-base branch April 3, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new a pull request that adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants