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

Argument Mismatch in Source.Payment.Installment Initialization with CreateSourcePayload #308

Open
Papichaya-Dev opened this issue Dec 19, 2024 · 0 comments
Labels

Comments

@Papichaya-Dev
Copy link

Papichaya-Dev commented Dec 19, 2024

Expected behavior

Xcode doesn't mark Source.Payment.Installment initialization with:

  • Error 1: Extra arguments at positions #1, #2, #3 in call
  • Error 2: Missing argument for parameter 'from' in call

Actual behavior

Xcode marks Source.Payment.Installment initialization with:

  • Error 1: Extra arguments at positions #1, #2, #3 in call
  • Error 2: Missing argument for parameter 'from' in call

Steps to reproduce the issue

  1. Add the code snippet for CreateSourcePayload initialization in Source.Payment.Installment to an iOS Project
  2. Attempt to build the project.
  3. Observe the compilation errors in Xcode.

Logs

Related to issue #300
There are 2 error messages when try to create Source.Payment.Installment

  1. Extra arguments at positions #1, #2, #3 in call
  2. Missing argument for parameter 'from' in call

Screenshots

Screenshot 2567-12-19 at 12 15 29

Name and version information

Xcode Version 15.4 (15F31d)
Omise-iOS version 5.3.0
Package Manager: SwiftPM
Operating System: MacOS 14.6.1 (23G93)

@Papichaya-Dev Papichaya-Dev changed the title Argument Mismatch in CreateSourcePayload Initialization for Source.Payment.Installment Argument Mismatch in Source.Payment.Installment Initialization with CreateSourcePayload Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant