# Payment & Transactions / Payment Successful Success confirmation with transaction details, receipt download, and next-step actions. **Category:** Patterns **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-payment-transactions-payment-successful--full-screen ## Pattern variants - Full Screen: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-payment-transactions-payment-successful--full-screen - Card: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-payment-transactions-payment-successful--card ## When to use this pattern Use Payment & Transactions / Payment Successful when building citizen-facing flows that match the described government journey. Combine components such as cards, forms, tables, buttons, and status indicators as shown in Storybook. ## Framework setup ### HTML / CDN ```html ``` ### React ```bash npm install ux4g-web-components ``` ```jsx import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` ### Angular Update `angular.json`: ```json { "styles": [ "node_modules/ux4g-web-components/styles/ux4g.css", "src/styles.css" ], "scripts": [ "node_modules/ux4g-web-components/dist/runtime/design-system.js" ] } ``` ## Code examples The snippets below are extracted from the Storybook canvas for Payment & Transactions / Payment Successful. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Card — Payment Successful HTML: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Payment Successful

Rs 41.30 paid via UPI to Revenue Department, Maharashtra.

Amount paid Rs 41.30
Transaction ID PG2026MH04127TX
Method UPI - ramesh@upi
Date and time 12 Apr 2026, 2:34 PM IST
``` React: ```jsx import React from 'react'; const PaymentTransactionsPaymentSuccessfulExample1Demo = () => ( <>
  • Personal info
  • Documents
  • Review
  • Payment

Payment Successful

Rs 41.30 paid via UPI to Revenue Department, Maharashtra.

Amount paid Rs 41.30
Transaction ID PG2026MH04127TX
Method UPI - ramesh@upi
Date and time 12 Apr 2026, 2:34 PM IST
Powered by - Digital India
); export default PaymentTransactionsPaymentSuccessfulExample1Demo; ``` Angular: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Payment Successful

Rs 41.30 paid via UPI to Revenue Department, Maharashtra.

Amount paid Rs 41.30
Transaction ID PG2026MH04127TX
Method UPI - ramesh@upi
Date and time 12 Apr 2026, 2:34 PM IST
``` ### 2. Full Screen — Payment Successful HTML: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Payment Successful

Rs 41.30 paid via UPI to Revenue Department, Maharashtra.

Amount paid Rs 41.30
Transaction ID PG2026MH04127TX
Method UPI - ramesh@upi
Date and time 12 Apr 2026, 2:34 PM IST
``` React: ```jsx import React from 'react'; const PaymentTransactionsPaymentSuccessfulExample2Demo = () => ( <>
  • Personal info
  • Documents
  • Review
  • Payment

Payment Successful

Rs 41.30 paid via UPI to Revenue Department, Maharashtra.

Amount paid Rs 41.30
Transaction ID PG2026MH04127TX
Method UPI - ramesh@upi
Date and time 12 Apr 2026, 2:34 PM IST
Powered by - Digital India
); export default PaymentTransactionsPaymentSuccessfulExample2Demo; ``` Angular: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Payment Successful

Rs 41.30 paid via UPI to Revenue Department, Maharashtra.

Amount paid Rs 41.30
Transaction ID PG2026MH04127TX
Method UPI - ramesh@upi
Date and time 12 Apr 2026, 2:34 PM IST
```