Download the PHP package bootpay/backend-php without Composer

On this page you can find all versions of the php package bootpay/backend-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package backend-php

Bootpay Server Side Package for PHP Packagist Version

Bootpay PHP Server Side Library

부트페이 공식 PHP 라이브러리 입니다 (서버사이드 용)

PHP 언어로 작성된 어플리케이션, 프레임워크 등에서 사용가능합니다.

목차

PG API

Commerce API

기타


설치하기

Composer로 설치

요구사항


PG API

#

환경변수 설정

예제와 테스트는 각 SDK 루트의 .env 파일을 우선 읽습니다. 먼저 .env.example을 복사한 뒤 필요한 키만 변경하세요. .env는 gitignore 처리되어 커밋되지 않습니다.

주요 변수:

변수가 없으면 SDK 테스트용 기본값(NodeJS 기준 ck/sk)으로 fallback 합니다.

사용하기

함수 단위의 샘플 코드는 tests/pg 폴더를 참조하세요.

1. 토큰 발급

부트페이와 서버간 통신을 하기 위해서는 부트페이 서버로부터 토큰을 발급받아야 합니다. 발급된 토큰은 30분간 유효하며, 최초 발급일로부터 30분이 지날 경우 토큰 발급 함수를 재호출 해주셔야 합니다.

2. 결제 단건 조회

결제창 및 정기결제에서 승인/취소된 결제건에 대하여 올바른 결제건인지 서버간 통신으로 결제검증을 합니다.

3. 결제 취소 (전액 취소 / 부분 취소)

price를 지정하지 않으면 전액취소 됩니다.

4. 자동/빌링/정기 결제

4-1. 카드 빌링키 발급

REST API 방식으로 고객으로부터 카드 정보를 전달하여, PG사에게 빌링키를 발급받을 수 있습니다.

4-2. 계좌 빌링키 발급

4-3. 결제 요청하기

발급된 빌링키로 원하는 시점에 결제 승인 요청을 합니다.

4-4. 결제 예약하기

4-5. 예약 조회하기

4-6. 예약 취소하기

4-7. 빌링키 삭제하기

4-8. 빌링키 조회하기

5. 회원 토큰 발급요청

부트페이에서 제공하는 간편결제창, 생체인증 기반의 결제 사용을 위해 사용자 토큰을 발급합니다.

6. 서버 승인 요청

7. 본인 인증 결과 조회

8. 에스크로 이용시 PG사로 배송정보 보내기

9. 현금영수증

9-1. 현금영수증 발행하기

기존 결제건에 대해 현금영수증을 발행합니다.

9-2. 현금영수증 발행 취소

9-3. 별건 현금영수증 발행

결제 건과 별개로 현금영수증을 발행합니다.

9-4. 별건 현금영수증 발행 취소


Commerce API

Commerce API 사용하기

함수 단위의 샘플 코드는 tests/commerce 폴더를 참조하세요.

1. Commerce 토큰 발급

Commerce API 사용을 위한 토큰을 발급받습니다.

2. 사용자 관리

사용자 토큰 발급

사용자 가입

사용자 목록 조회

사용자 상세 조회

사용자 정보 수정

사용자 삭제

3. 사용자 그룹 관리

그룹 생성

그룹 목록 조회

그룹 상세 조회

그룹 수정

4. 상품 관리

상품 목록 조회

상품 생성

상품 상세 조회

상품 수정

상품 삭제

5. 주문 관리

주문 목록 조회

주문 상세 조회

주문 취소 요청

6. 청구서 관리

청구서 목록 조회

청구서 생성

청구서 알림 발송

7. 정기구독 관리

정기구독 목록 조회

정기구독 상세 조회

정기구독 일시정지

정기구독 재개

해지 수수료 계산

정기구독 해지

Role 설정

Commerce API에서는 역할(Role)에 따라 접근 권한이 달라집니다.


Example 프로젝트

적용한 샘플 프로젝트를 참조해주세요

Documentation

부트페이 개발매뉴얼을 참조해주세요

기술문의

부트페이 홈페이지 우측 하단 채팅을 통해 기술문의 주세요!

License

MIT License.


All versions of backend-php with dependencies

PHP Build Version
Package Version
Requires php Version >= 5.3.0
ext-json Version *
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bootpay/backend-php contains the following files

Loading the files please wait ...