digetpay_plugin 0.3.0
digetpay_plugin: ^0.3.0 copied to clipboard
Pure-Dart DigetPay payment plugin: hosted (PCI-safe) checkout via WebView plus transaction management over the DigetPay REST API.
0.3.0 - 2026-07-07 #
- Breaking:
getTransactionById(id)is now a guarded stub — the backend lookup-by-id endpoint (GET /payment/checkout/status?id=) is no longer available, so this always throwsUnsupportedError. UsegetCheckoutStatus(sessionId), or listgetCheckoutSessions()and inspect the returnedCheckoutSessions, instead. - Docs: updated the README capability table, "which id do I use?" callout,
and "not yet available" section; the example's
Not Yet Availablescreen now demosgetTransactionByIdalongside the other guarded stubs, andTransaction Lookupis limited togetCheckoutStatus.
0.2.0 - 2026-07-06 #
- New:
getCheckoutSessions([CheckoutSessionFilter])lists your checkout sessions (GET /payment/checkout/sessions) as aPageDto<CheckoutSession>. EachCheckoutSessionexposesgatewayTransactionId— the id to use withcapture/voidd/refund/getTransactionById(not the sessionid). - New:
CheckoutSession,CheckoutSessionFilter, andPageDto.fromPaginated(parses the NestJS{data, pagination}shape). - Deprecated:
getTransactions()— renamed togetCheckoutSessions(); it now forwards to it and returnsPageDto<CheckoutSession>. - Behaviour change: the not-yet-implemented methods now throw
UnsupportedErrorinstead of silently returning a failure/null:sale(disabled for PCI),applePay,externalPayment,recurring,getTransactionByOrderId,getTransactionByRrn. - Fix:
getCheckoutStatusnow callsGET /sdk/status?sessionId=(was pointing at the wrong path). - Packaging: added
repository,issue_tracker, andtopicsmetadata; converted to a true pure-Dart package (removed the unused native plugin scaffolding); aligned theflutterSDK constraint. - Docs: rewritten README (hero, quick start, capability table, sessions guide) and a runnable example is now published.
0.1.0 #
- Initial DigetPay release (pure Dart).
DigetPaySdkfacade withinitialize()+ init-guard.- Hosted, PCI-safe card checkout via
cardPay()(WebView) —POST /payment/checkout/intiate+GET /payment/checkout/status. - Money movement:
capture,voidd,refund. - Transaction queries:
getTransactions,getTransactionById(typedTransaction/PageDto). - Typed
DigetPayResponsenormalizing the backend{code, message, errorCode, data}envelope. - Guarded stubs (no backend endpoint yet):
sale(S2S card — disabled for PCI),applePay,externalPayment,recurring,getTransactionByOrderId,getTransactionByRrn.