payorc_flutter_v2 1.0.23
payorc_flutter_v2: ^1.0.23 copied to clipboard
A Flutter plugin for orc payment.
1.0.23 #
- Added support for dynamic
actionparameter inPaymentRequest.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-cardAPI 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
CardDatabefore 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.applePaypath to stop sending emptypaymentData.datapayloads.
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.googlePayentrypoints 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.tabyandPayorc.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
CardDataproperly from SDK callbacks. - Submit-order success callbacks now forward the full merchant response JSON.
- Tabby
onTabbyAuthorizednow 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_plusdependency constraint to support all compatible 8.x.x versions (>=8.0.2 <10.2.0).
1.0.13 #
- Relaxed the
package_info_plusdependency 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 emptyname,mobile, andemail— 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/payorcEmbeddedConfirmButtonembedded docs; Samsung Pay remains viashowOptionsSheetandPayorcEmbeddedPaymentCheckout. - Tabby sandbox: use
Environment.stagingintabby_checkout_flowwhenPayorcEnvironment.sandbox.
1.0.7 #
MerchantSdkOptions: parse checkoutsdk_optionstypography (font_weight,font_style,max_lines,letter_spacing,word_spacing,overflow); hostPayorcSdk.customization(text:)overrides when set.PayorcSdk.customization: remove top-levelborderColor(useappTextField.borderColor);autoselectColoris nowColor?instead ofint?.PayOrc.submitOrder: removeaddCardPaymentRequestandonNewCardAdded— failure-sheet retry, add-card, and other-card flows are handled inside the SDK.- README: document two checkout integration paths (
showOptionsSheetvs embedded widgets /PayOrc), embedded payment method widgets, and updatedPayOrc.submitOrderAPI. - 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); removedtabbyApiKeyandtabbyMerchantCodefromPayorcSdk.init. PayorcSdk.customization:textPrimary,textSecondary,autoselectColor,addCardForm,appTextField,bottomSheet; checkoutmerchant_detailsmerge priority documented.PayorcGuidanceStyle(label/hint) drivesAppTextFieldfloating labels and add-card fieldtitle/hintwiring.- In-Dart localization (
payorc_sdk_translations.dart); removed JSON translation assets. - Package layout: public API under
lib/(removedlib/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
PayorcSubmitOrderErrorCodesfor submit-payment contact error codes (wrong phone, email, mobile, country code). - Reopen add-card with prefilled card and
paymentRequestmobile country on contact validation errors. - Apply host title font to
AppTextFieldlabels andPayMethodTiletitles. - 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 andPayorcSdkFontFamily), and integration notes.
1.0.3 #
- Add add-card validation message customization via
PayorcSdk.customization(cardFormValidation: ...). - Add
CardFormErrorandPayorcSdkCardFormValidationCustomizationto 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.