일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- slim install
- 테이블인덱스
- meta
- purchases_subscriptions
- 데이터베이스확인
- php
- google purchases
- google_purchases
- SQL
- Google_Client
- 리눅스
- Google_Service_AndroidPublisher
- subscriptionsv2
- closest
- 업로드
- Database
- MySQL
- 몇번째행
- purchases
- 영수증검증
- 데이터베이스 지정하기
- 아파치
- 영수증확인
- 클릭이벤트막기
- Google Pay
- TABLE
- CSV
- 영수증인증
- how to slim install
- Today
- Total
Web_developer
영수증검증 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..
setAuthConfig('OAuth의 json파일 경로'); $client->addScope('https://www.googleapis.com/auth/androidpublisher'); $service = new Google_Service_AndroidPublisher($client); $package_name = "프로젝트의 패키지명"; $product_id = '상품ID'; $jsonPath = ''OAuth의 json파일 경로'; $androidPublisher = 'https://www.googleapis.com/auth/androidpublisher'; $purchase_token = '클라이언트에서 발급받은 구매한 토큰값'; //주문관리에..