chore: remove deprecated checkoutcom-flow and stripe-payment-element from CreateOrderInputDTO#1988
chore: remove deprecated checkoutcom-flow and stripe-payment-element from CreateOrderInputDTO#1988fedemint wants to merge 2 commits into
Conversation
… CreateOrderInputDTO in openapi spec The existing payment method option covers the same card-payment flows. This keeps the public SDK OpenAPI spec aligned with the docs deprecation messaging. Co-Authored-By: Fede Sarquis <fede@paella.dev>
Original prompt from Fede
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
🦋 Changeset detectedLatest commit: fff1426 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-Authored-By: Fede Sarquis <fede@paella.dev>
Description
Removes the deprecated
checkoutcom-flowandstripe-payment-elementpayment.methodenum options fromCreateOrderInputDTOinpackages/wallets/src/openapi.json. The existingcardoption covers the same card-payment flows, and this aligns the public SDK spec with the docs deprecation messaging.Note:
packages/client/base/src/lib/hosted-checkout/Order.tsstill lists these values because it mirrors the order response schema, and the API currently still emits processor-specific method values in order objects.Test plan
cardremains a validpayment.methodoption in bothanyOfbranches ofCreateOrderInputDTOcheckoutcom-flowandstripe-payment-elementare no longer present inCreateOrderInputDTO.paymentoneOf entriesPackage updates
packages/wallets/src/openapi.jsonand does not change runtime code or public package APIs, so no changeset is required.Link to Devin session: https://crossmint.devinenterprise.com/sessions/0e2ad01383a94c8282aa5dc3493084ca
Requested by: @fedemint