-
Notifications
You must be signed in to change notification settings - Fork 25
Implement submitStart #482
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
Implement submitStart #482
Conversation
9f02a8c to
d85d943
Compare
d85d943 to
4a422bd
Compare
| // MARK: - Payment Token Types | ||
|
|
||
| /// Payment token input structure for checkout submission. | ||
| public struct CartPaymentTokenInput: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've renamed this to PaymentTokenInput on web, we should probably match here
| capturedJavaScript = javaScriptString | ||
| if !javaScriptString.isEmpty { | ||
| evaluateJavaScriptExpectation?.fulfill() | ||
| } else if javaScriptString == expectedScript { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the purpose of the else if to check when they are both empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, this logic looks odd, tidying up
What changes are you making?
Implement checkout.submitStart
Before you merge
Important
Releasing a new version of the kit?
podspecfile.Releasing a new major version?
Tip
See the Contributing documentation for instructions on how to publish a new version of the library.