Skip to content

Make payments extension capability fields optional - #8147

Merged
Shuhala merged 1 commit into
Shopify:mainfrom
Shuhala:optional-payments-support-flags
Jul 28, 2026
Merged

Make payments extension capability fields optional#8147
Shuhala merged 1 commit into
Shopify:mainfrom
Shuhala:optional-payments-support-flags

Conversation

@Shuhala

@Shuhala Shuhala commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

What

Makes supports_installments, supports_deferred_payments, and supports_3ds optional in payments app extension TOML config schemas, so partners can omit them.

supports_3ds stays required for credit_card and custom_credit_card extensions.

Why

Companion to the core change in shop/world#940396 that relaxed the same properties on the server side. Without this CLI-side change, shopify app deploy rejects configs that omit these fields even though core now accepts them.

@Shuhala
Shuhala force-pushed the optional-payments-support-flags branch from 145e63e to 12c4b02 Compare July 22, 2026 15:07
@Shuhala
Shuhala marked this pull request as ready for review July 22, 2026 15:08
@Shuhala
Shuhala requested a review from a team as a code owner July 22, 2026 15:08
@Shuhala
Shuhala force-pushed the optional-payments-support-flags branch 3 times, most recently from e878dcd to 59e8ba8 Compare July 23, 2026 14:14
@Shuhala Shuhala changed the title Make payments extension support flags optional Make payments extension not-so-useful fields optional Jul 23, 2026
@Shuhala
Shuhala force-pushed the optional-payments-support-flags branch 4 times, most recently from 6b9cde2 to d2b11b8 Compare July 24, 2026 15:41
@Shuhala Shuhala changed the title Make payments extension not-so-useful fields optional Make payments extension capability fields optional Jul 24, 2026

@dmerand dmerand left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM overall, just one question about test coverage.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you confirm whether supports_installments and supports_deferred_payments may be omitted independently? The schema still rejects configs where only one is missing; the new tests cover only both being omitted. If the pair must remain synchronized, please add a test documenting that contract.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes they can be optional independently. Neither of these fields is actually used.

Assisted-By: devx/662f85f5-a0c5-4b77-b4e3-a07404abaf08
@Shuhala
Shuhala force-pushed the optional-payments-support-flags branch from d2b11b8 to fe42739 Compare July 28, 2026 19:53
@Shuhala
Shuhala added this pull request to the merge queue Jul 28, 2026
Merged via the queue into Shopify:main with commit 5fa510c Jul 28, 2026
28 checks passed
@Shuhala
Shuhala deleted the optional-payments-support-flags branch July 28, 2026 22:05
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.

2 participants