GithubHelp home page GithubHelp logo

payment-sdk-ios's Introduction

토스페이먼츠 iOS SDK

토스페이먼츠 iOS SDK를 위한 모노레포입니다. 토스페이먼츠 결제창, 결제위젯을 iOS 앱에 연동하세요.

설치하기

요구 사항

토스페이먼츠 iOS SDK를 설치하기 전에 최소 요구 사항을 확인하세요.

  • iOS 11.0 이상
  • Swift 5.0 이상
  • Xcode 12.5.1 이상

CocoaPods로 설치하기

프로젝트 폴더에 있는 Podfile에 아래와 같이 토스페이먼츠 iOS SDK를 추가하세요. Podfile을 저장하고 pod install 커맨드를 실행하세요.

pod 'TossPayments'

Swift Package Manager(SPM)로 설치하기

토스페이먼츠 개발자 센터

시작하기

연동 가이드

  • 결제창 연동하기: 결제창에서 고객이 결제수단을 선택하고, 결제 정보를 입력해서 결제를 완료합니다.
  • 결제위젯 연동하기: 토스페이먼츠에서 수많은 상점을 분석하여 만든 최적의 주문서 UI입니다.

샘플 프로젝트

  1. payment-sdk-ios 리포지토리를 클론하세요.
git clone https://github.com/tosspayments/payment-sdk-ios
  1. TossPayments.xcworkspace 파일을 XCode로 실행하세요.
xed TossPayments.xcworkspace
  1. UIKit-Example을 빌드하고 단말 또는 시뮬레이터에 설치하세요. 앱이 실행되면 Client Key, Customer Key 등 필요한 정보를 모두 수정하고 Stage 필드를 v1으로 설정하세요.

토스페이먼츠 iOS SDK 예시

payment-sdk-ios's People

Contributors

mqzkim avatar mussacharles avatar jooyang avatar junseok-l2 avatar sybock avatar genie-youn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.