flutter_checkout_payment 패키지는 Flutter 애플리케이션에 Checkout 온라인 결제 게이트웨이를 통합할 수 있도록 합니다. 안드로이드 및 iOS용 네이티브 SDK를 래핑하여 Flutter 환경에서 결제 처리를 원활하게 제공합니다. 신뢰성 있고 보안이 강한 결제 처리를 원하는 개발자를 위해 설계되었으며, 토큰화 및 거래 처리와 같은 주요 기능을 지원합니다. 이 플러그인은 shadyboshra.com에서 유지보수되며, 두 가지 주요 모바일 플랫폼과 호환됩니다.
사용 사례
앱 내 구매
전자상거래 체크아웃
구독 결제
디지털 서비스 결제
주요 기능
네이티브 SDK 통합
Android 및 iOS 지원
안전한 결제 처리
토큰화된 거래
pub를 통한 간편한 설정
실시간 거래 상태
적합한 대상
모바일 전자상거래 앱
디지털 제품 판매자
구독 기반 서비스
Flutter와 Checkout을 사용하는 개발자
안전한 결제 게이트웨이가 필요한 앱
고려 사항
결제 계정 설정이 필요합니다
올바른 API 키 구성이 필요합니다
결제 제공자로 체크아웃에 제한
플랫폼별 구성이 필요할 수 있습니다
안정적인 네트워크 연결에 의존합니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Flutter Checkout Payment
Explain
This plugin is for Checkout online payment. It's implemented the native SDKs to work on Flutter environment.
Getting Started
Add this to your package's pubspec.yaml file:
dependencies:flutter_checkout_payment:^1.4.4
Android
No additional work required
iOS
The SDK build for >= iOS 10.0, so you need to set the platform version in the Podfile to iOS 10 or above.
init(@required String key, Environment environmentdefaultEnvironment.SANDBOX}) Initialize the Checkout API with key and environment. Return a bool of the successful status.
Future<CardTokenisationResponse>
generateToken({@required String number, @required String name, @required String expiryMonth, @required String expiryYear, @required String cvv, BillingModel billingModel}) Generate the token which it will be used to make the payment, return the CardTokenisationResponse value.
Future<bool>
isCardValid({@required String number}) Check whether the card number is valid or not, return a bool with the result.
Future<String>
handle3DS({@required String authUrl, @required String successUrl, @required String failUrl}) Handle a 3DS challenge, returns token if success or null if failure.
Future<CardTokenisationResponse>
generateApplePayToken({@required String paymentDataBase64}) Generate the token based on Apple pay data and return the CardTokenisationResponse value.
Future<CardTokenisationResponse>
generateGooglePayToken({@required String tokenJsonPayload}) Generate the token based on Google pay data and return the CardTokenisationResponse value.
Copyright (c) 2021 Shady Boshra. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.