feat(chore): support retrieval of invoice PDF download URLs#28
feat(chore): support retrieval of invoice PDF download URLs#28Sourav-kashyap wants to merge 7 commits into
Conversation
support retrieval of invoice PDF download URLs GH-27
2b285cc to
d9447ee
Compare
… support add invoice payment details and payment intent retrieval support GH-27
| * - canceled | ||
| * - succeeded | ||
| */ | ||
| status: string; |
| /** Card brand: visa, mastercard, amex, etc. */ | ||
| brand: string; | ||
| /** Last 4 digits */ | ||
| last4: string; | ||
| /** Expiration month */ | ||
| expMonth: number; | ||
| /** Expiration year */ | ||
| expYear: number; | ||
| /** Funding type: credit, debit, prepaid, unknown */ | ||
| funding: string; | ||
| /** Country code */ | ||
| country?: string; |
There was a problem hiding this comment.
define these separately
| bankName: string; | ||
| /** Last 4 digits */ | ||
| last4: string; | ||
| /** Routing number */ | ||
| routingNumber?: string; | ||
| /** Account type: checking, savings */ | ||
| accountType?: string; | ||
| }; |
|
|
||
| // Payment method default values | ||
| const DEFAULT_EXPIRY_MONTH = 12; | ||
| const DEFAULT_EXPIRY_YEAR = 2025; |
There was a problem hiding this comment.
how is default 2025 valid ?
take these from config user will pass via env
|
|
||
| // Payment method default values | ||
| const DEFAULT_EXPIRY_MONTH = 12; | ||
| const DEFAULT_EXPIRY_YEAR = 2025; |
SonarQube reviewer guideSummary: Add invoice PDF retrieval, payment details, and payment intent tracking for both Stripe and ChargeBee providers, with comprehensive adapters and type definitions. Review Focus:
Start review at:
|



Description
This change introduces enhancements for invoice data access and payment-related operations.
Changes
Using Stripe:
Stripe.mov
Using Chargebee:
Chargebee.mov