dart_wing 1.0.0
dart_wing: ^1.0.0 copied to clipboard
Wing Bank online payment (Web SDK v2) client for Dart and Flutter. Authorize a payment, open Wing's checkout page, inquire transactions, and decrypt payment callbacks.
1.0.0 #
First release: a Dart client for Wing Bank's online payment Web SDK v2 (spec 2.0.3).
authorize: encrypts the payment (AES-256-CBCpayload) and signs it (hash), and returns the token and Wing's payment page (confirmUrl);WEBAPP(return URL) andMOBAPP(deep link) integrationsinquiry: transaction details, withisPaid(price)to reject amounts below your price as Wing requiresdecryptCallback/parseCallback: decrypt thecontentsWing POSTs to your callback URL- payloads, hashes and callbacks reproduce the known answers computed with
PHP's
openssl_encrypt(spec/test-vectors) - Wing business errors are returned in
status; transport and local failures throwWingExceptionwith aWingErrorTypeandisRetryable