https://github.com/xendit/demo-store
https://github.com/xendit/demo-store
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xendit/demo-store
- Owner: xendit
- Created: 2026-01-08T00:46:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-04-02T12:26:22.000Z (4 months ago)
- Last Synced: 2026-04-03T01:44:20.218Z (4 months ago)
- Language: TypeScript
- Size: 5.94 MB
- Stars: 3
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Xendit Demo Store
A comprehensive demo application showcasing Xendit's payment integrations across Southeast Asia. This full-stack React/Node.js application demonstrates how to implement Xendit's Sessions API with both Payment Link and Components integration methods.
[Try the live demo](https://demo-store.xendit.co)
## Refer to these examples when developing your own integration
- Server guide - [`server/integrations/README.md`](server/integrations/README.md)
- Sessions API - Components
- Serverside - [`server/integrations/components.ts`](server/integrations/components.ts)
- Frontend - [`src/integrations/XenditComponents.tsx`](src/integrations/XenditComponents.tsx)
- Components Frontend guide - [`src/integrations/README.md`](src/integrations/README.md)
- Sessions API - Payment Links
- Serverside - [`server/integrations/payment-link.ts`](server/integrations/payment-link.ts)
- Invoice API - Payment Links
- Serverside - [`server/integrations/invoice.ts`](server/integrations/invoice.ts)
## Documentation Links
- [Xendit Docs](https://docs.xendit.co/)
- [Xendit API Reference](https://developers.xendit.co/)
### Session API
- [Sessions Overview](https://docs.xendit.co/docs/payment-sessions-overview)
- [Create Session API](https://docs.xendit.co/apidocs/create-session)
### Session Payment Link Guides
- [One-Time Payment](https://docs.xendit.co/docs/payment-1)
- [Saving Payment Method](https://docs.xendit.co/docs/storing-payment-details)
- [Pay and Save](https://docs.xendit.co/docs/pay-and-save-2)
### Session Components Guides
- [Components Overview](https://docs.xendit.co/docs/components-overview)
- [One-Time Payment](https://docs.xendit.co/docs/components-one-time-payment)
- [Saving Payment Method](https://docs.xendit.co/docs/components-save-payment-method)
- [Pay and Save](https://docs.xendit.co/docs/pay-and-save-3)
### Invoice API
- [Create Invoice](https://archive.developers.xendit.co/api-reference/#create-invoice)