Skip to content

feat: First-party checkout - #263

Draft
ndyhrdy wants to merge 10 commits into
mainfrom
feat/first-party-checkout
Draft

feat: First-party checkout#263
ndyhrdy wants to merge 10 commits into
mainfrom
feat/first-party-checkout

Conversation

@ndyhrdy

@ndyhrdy ndyhrdy commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@ndyhrdy ndyhrdy self-assigned this Aug 19, 2026
Comment thread sdk/src/components/field-iframe.tsx
Comment thread sdk/src/backend-types/session.ts Outdated
enter() {
window.addEventListener("pageshow", this.onPageShow);
this.bb.dispatchEvent(new XenditWillRedirectEvent());
this.bb.dispatchEvent(new XenditWillRedirectEvent(this.url));

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.

Is this for the button we show on the redirect page?

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.

yep

Comment thread sdk/src/public-options-types.ts Outdated
Comment thread sdk/src/public-options-types.ts
* The kind of session. CARDS_SESSION_JS sessions are not supported.
*/
mode: "COMPONENTS";
mode: "COMPONENTS" | "PAYMENT_LINK";

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.

We should check that the type is COMPONENTS if the user is not on the hosted checkout

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.

https://github.com/xendit/checkout-ui-gateway/pull/533

there would be further changes here to check if the property indicates if embedding is allowed.

Comment thread sdk/src/lifecycle/behaviors/action.ts Outdated
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