Skip to content

Conversation

@kiftio
Copy link
Contributor

@kiftio kiftio commented Nov 26, 2025

What changes are you making?

Implement checkout.submitStart

Before you merge

Important

Releasing a new version of the kit?

Releasing a new major version?

  • I have bumped the version number in the README.

Tip

See the Contributing documentation for instructions on how to publish a new version of the library.

@kiftio kiftio requested a review from a team as a code owner November 26, 2025 14:41
@kiftio kiftio marked this pull request as draft November 26, 2025 14:41
@kiftio kiftio changed the title Prototype development/submit start Implement submitStart Nov 26, 2025
@kiftio kiftio force-pushed the prototype-development/submit-start branch from 9f02a8c to d85d943 Compare November 26, 2025 14:45
@kiftio kiftio marked this pull request as ready for review November 26, 2025 14:49
@kiftio kiftio force-pushed the prototype-development/submit-start branch from d85d943 to 4a422bd Compare November 27, 2025 15:20
// MARK: - Payment Token Types

/// Payment token input structure for checkout submission.
public struct CartPaymentTokenInput: Codable {

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

Comment on lines 36 to 39
capturedJavaScript = javaScriptString
if !javaScriptString.isEmpty {
evaluateJavaScriptExpectation?.fulfill()
} else if javaScriptString == expectedScript {

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?

Copy link
Contributor Author

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

@kiftio kiftio merged commit bb78520 into prototype/development Nov 28, 2025
7 checks passed
@kiftio kiftio deleted the prototype-development/submit-start branch November 28, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants