Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: bootpay/backend-python

Release list

v2.3.0

Choose a tag to compare

@rupy1014 rupy1014 released this 18 May 00:16

What's Changed

client_key/secret_key Basic Auth 지원 (PG + Commerce 공통)

  • 기존 application_id/private_key Bearer 방식 하위 호환 유지.
  • BootpayBackend(client_key=..., secret_key=..., mode=...) 키워드 인자 추가 — application_id/private_key 와 같이 쓸 경우 ck/sk 가 우선.
  • ck/sk 모드는 매 요청 자동 Basic Auth 헤더 부착 — get_access_token() 은 합성 응답 ({access_token: '', expire_in: 0}) 을 반환하며 request/token 호출이 발생하지 않음.
  • Commerce: BootpayCommerce 의 모든 호출이 ck/sk 로 Basic Auth 사용.

Deprecation

  • get_user_wallets, request_wallet_payment DeprecationWarning 처리 — 다음 메이저 버전에서 제거 예정.

기타

  • 테스트 인프라: .env / BOOTPAY_AUTH_MODE=new|legacy / BOOTPAY_ENV 토글로 ck/sk · legacy 양쪽 검증.
  • tests/pg/test_legacy_compatibility.py 단위 테스트 추가 (HTTP mock 기반).

Install

pip install bootpay_backend==2.3.0

Full Changelog: 2.2.0...v2.3.0

Morty Proxy This is a proxified and sanitized view of the page, visit original site.