payorc_flutter_v2 1.0.23 copy "payorc_flutter_v2: ^1.0.23" to clipboard
payorc_flutter_v2: ^1.0.23 copied to clipboard

A Flutter plugin for orc payment.

1.0.23 #

  • Added support for dynamic action parameter in PaymentRequest.submitOrder (defaults to "AUTH").
  • Improved Google Pay error handling: user cancellations now return a standardized "Transaction cancelled by User to the merchant" message.
  • Fixed /sdk/add-card API request body to include all fields (including empty strings) and properly normalize slots.
  • Improved mobile number country code fallback in Add Card form to use customerDetails.code.
  • Security: CVV is now explicitly cleared from CardData before returning to merchant callbacks.

1.0.22 #

  • Removed the temporary Apple Pay diagnostics logging API (/sdk/logs) used only for development testing.
  • Cleaned up Apple Pay wallet submission flow so the backend is only called after a valid token is generated.
  • Fixed direct PayOrc.applePay path to stop sending empty paymentData.data payloads.

1.0.21 #

  • Fixed the direct on-click Apple Pay and Google Pay flow to wait for checkout customization before launching the wallet selector.
  • This brings the direct PayOrc.applePay / PayOrc.googlePay entrypoints in line with the sheet-based flow and prevents initialization errors when customization has not loaded yet.

1.0.20 #

  • Update the implementation changes in README.md.
  • Covering the onclick payment with Payorc.google, Payorc.taby and Payorc.apple

1.0.19 #

  • Added webhook URL propagation for add-card, submit-order, Tabby, Apple Pay, and Google Pay requests.

1.0.18 #

  • Fixed Error handling error for saved cards issue.

1.0.17 #

  • Added click/selection callback support for Google Pay, Apple Pay, and Tabby payment options.
  • Improved Google Pay error handling and surfaced clearer error messages in the payment flow.
  • Fixed merchant response handling so SDK callbacks receive the expected response data.
  • Fixed the add-card flow to pass order details correctly during checkout.
  • Improved optional field handling for payment requests, including proper omission of empty values.

1.0.16 #

  • Google Pay errors now display inline in the payment options sheet.
  • Add-card flow returns CardData properly from SDK callbacks.
  • Submit-order success callbacks now forward the full merchant response JSON.
  • Tabby onTabbyAuthorized now returns the raw Tabby confirm API response.

1.0.15 #

  • Fixed the card payment bottom sheet country code and mobile number merge issue.
  • Added flexibility to optional fields for payment request.

1.0.14 #

  • Relaxed the package_info_plus dependency constraint to support all compatible 8.x.x versions (>=8.0.2 <10.2.0).

1.0.13 #

  • Relaxed the package_info_plus dependency constraint to support all compatible 8.x.x versions (>=8.0.2 <9.0.0).

1.0.12 #

  • Updated the changelog to provide more detailed release notes and improve documentation for previous versions.
  • No functional changes or code modifications have been introduced in this release.

1.0.11 #

  • This release enhances the package management system by introducing greater flexibility in YAML configuration for defining package dependencies.
  • Previously, strict version requirements could lead to compatibility issues when integrating different packages.
  • With this update, the YAML configuration is more adaptable, allowing different package versions to coexist without causing version mismatches.
  • This improvement simplifies dependency management, reduces integration conflicts, and ensures smoother deployments across various environments.

1.0.10 #

  • This release introduces the ability to embed payment options at any point within the application flow.
  • Instead of limiting payment integration to a fixed step, developers can now place payment components wherever they best fit the user journey.
  • The enhancement enables a more seamless and personalized payment experience while simplifying integration into diverse application scenarios.

1.0.9 #

  • CustomerDetails: document and support empty name, mobile, and email — SDK prompts the user on the add-card sheet when values are missing.
  • Add-card form: fix card holder name handling when customer details are partial or empty.

1.0.8 #

  • README: remove payorcEmbeddedSamsungPayTile / payorcEmbeddedConfirmButton embedded docs; Samsung Pay remains via showOptionsSheet and PayorcEmbeddedPaymentCheckout.
  • Tabby sandbox: use Environment.staging in tabby_checkout_flow when PayorcEnvironment.sandbox.

1.0.7 #

  • MerchantSdkOptions: parse checkout sdk_options typography (font_weight, font_style, max_lines, letter_spacing, word_spacing, overflow); host PayorcSdk.customization(text:) overrides when set.
  • PayorcSdk.customization: remove top-level borderColor (use appTextField.borderColor); autoselectColor is now Color? instead of int?.
  • PayOrc.submitOrder: remove addCardPaymentRequest and onNewCardAdded — failure-sheet retry, add-card, and other-card flows are handled inside the SDK.
  • README: document two checkout integration paths (showOptionsSheet vs embedded widgets / PayOrc), embedded payment method widgets, and updated PayOrc.submitOrder API.
  • Validate payment amount is greater than zero for wallet payment items.
  • Tabby embedded checkout and signed-header / customization fixes.

1.0.6 #

  • Tabby BNPL: init/confirm via PayOrc API (TabbyInitData.password / merchantCode); removed tabbyApiKey and tabbyMerchantCode from PayorcSdk.init.
  • PayorcSdk.customization: textPrimary, textSecondary, autoselectColor, addCardForm, appTextField, bottomSheet; checkout merchant_details merge priority documented.
  • PayorcGuidanceStyle (label / hint) drives AppTextField floating labels and add-card field title / hint wiring.
  • In-Dart localization (payorc_sdk_translations.dart); removed JSON translation assets.
  • Package layout: public API under lib/ (removed lib/src/ split).
  • UI: host borderColor / text color overrides, add-card form copy customization, expiry MM/YY labels in label guidance mode.

1.0.5 #

  • Add PayorcSubmitOrderErrorCodes for submit-payment contact error codes (wrong phone, email, mobile, country code).
  • Reopen add-card with prefilled card and paymentRequest mobile country on contact validation errors.
  • Apply host title font to AppTextField labels and PayMethodTile titles.
  • Close 3DS / add-card WebView on failed postbacks (PAYMENT_FAILED, etc.) and deliver result to the host flow.
  • Payment-failed and mobile-validation fixes.

1.0.4 #

  • Improve payment and submit-order flow handling and navigation.
  • Refine add-card / 3DS WebView chrome and related UI.
  • Expand README: upgrading the package on pub.dev, PayorcSdkTextCustomization (full constructor and PayorcSdkFontFamily), and integration notes.

1.0.3 #

  • Add add-card validation message customization via PayorcSdk.customization(cardFormValidation: ...).
  • Add CardFormError and PayorcSdkCardFormValidationCustomization to public SDK API.
  • Update README customization docs for card form validation overrides and text customization fields.

1.0.2 #

  • Validate add-card form fields only on submit instead of during typing.
  • Improve add-card form UX by surfacing validation after verify action.

1.0.0 #

  • Initial release.