An open API service indexing awesome lists of open source software.

https://github.com/xendit/demo-store


https://github.com/xendit/demo-store

Last synced: 4 months ago
JSON representation

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)