본문 바로가기

Web_developer

검색하기
Web_developer
프로필사진 에잎이

  • 분류 전체보기 (32)
    • HTML (2)
    • CSS (0)
    • PHP (16)
    • SQL (7)
    • Javascript (2)
    • jQuery (0)
    • Linux (4)
    • Python (0)
    • Java (1)
    • 작업일지 (0)
Guestbook
Notice
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • 클릭이벤트막기
  • php
  • 업로드
  • 테이블인덱스
  • google_purchases
  • 아파치
  • 몇번째행
  • Google_Service_AndroidPublisher
  • MySQL
  • Google_Client
  • Google Pay
  • slim install
  • 영수증인증
  • 리눅스
  • closest
  • Database
  • SQL
  • 영수증검증
  • Google
  • 영수증확인
  • purchases
  • 데이터베이스 지정하기
  • 데이터베이스확인
  • how to slim install
  • CSV
  • purchases_subscriptions
  • meta
  • TABLE
  • subscriptionsv2
  • google purchases
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

Web_developer

google 영수증검증 REST v2 class

영수증검증 v2가 나오면서 조금더 명확하게 값을 준다. 기존 서버를 수정 1. revoke = 환불 2. pay_ackowledge = 결제승인 3. certification = 영수증 확인 사용법은 다음과 같다 시작일,만료일 (Y-m-d H:i:s) 형식으로 출력은 하단에 코드 처럼 변환해서 db에 datetime 형식으로 저장할수있다. //시작일 date("Y-m-d H:i:s", strtotime($google_res->startTime)) //만료일 date("Y-m-d H:i:s", strtotime($google_res->lineItems[0]->expiryTime)) 자세한 내용은 구글api 문서 참조 https://developers.google.com/android-publisher/ap..

PHP 2022. 7. 8. 20:56
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바