angularjs-stripe

(★ 333)

Angular Stripe.js service that returns promises for token calls

파일 탐색기

  • .editorconfig
  • .gitattributes
  • .gitignore
  • .travis.yml
  • .zuul.yml
  • LICENSE
  • package.json
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

npm install

설명 보기 ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

stripe

설명 보기 ▼

Stripe 계정과 상호 작용.
더 많은 정보: <https://docs.stripe.com/stripe-cli>.

stripe logs tail

계정 활동 로그 팔로우:

stripe listen --events="{{charge.succeeded}}" --forward-to="{{localhost:3000/events}}"

`charge.succeeded` 이름의 이벤트를 필터링하여 이벤트 수신 대기하고 이를 localhost:3000/events로 전달:

stripe trigger {{charge.succeeded}}

테스트 웹훅 이벤트 전송:

🔍

script

설명 보기 ▼

터미널 출력을 파일로 기록합니다.
더 많은 정보: <https://manned.org/script>.

script

현재 디렉토리의 `typescript`라는 이름의 파일에 새 세션 기록:

exit

사용자 지정 파일 경로에 새 세션 기록:

script {{path/to/session.out}}

기존 파일에 추가하여 새 세션 기록:

// repository documentation