웹훅 직접 테스트

현재 디렉토리 정보:

현재 경로: /var/www/html/plugin/paypal_subscription/test

파일 경로: /var/www/html/plugin/paypal_subscription/test/simple_test.php

파일 존재 확인:

그누보드 설정 확인:

DB 호스트: localhost

DB 사용자: root

DB 이름: gnu

비밀번호: (빈 문자열)

데이터베이스 직접 연결:

❌ 데이터베이스 연결 실패: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'

로그 파일 확인:

✅ 로그 디렉토리 존재: /var/www/html/plugin/paypal_subscription/test/../logs

로그 파일들:

최신 로그 내용 (마지막 1000자):

subscriptions\/I-WG97NKF4XKGK","rel":"edit","method":"PATCH","encType":"application\/json"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/billing\/subscriptions\/I-WG97NKF4XKGK","rel":"self","method":"GET","encType":"application\/json"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/billing\/subscriptions\/I-WG97NKF4XKGK\/suspend","rel":"suspend","method":"POST","encType":"application\/json"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/billing\/subscriptions\/I-WG97NKF4XKGK\/capture","rel":"capture","method":"POST","encType":"application\/json"}],"id":"I-WG97NKF4XKGK","plan_id":"P-0PB27241B3787273PNCN6YIQ","status":"ACTIVE","status_update_time":"2025-08-13T01:37:02Z"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-02J28655NL943390D-8FF44419GA6002847","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-02J28655NL943390D-8FF44419GA6002847\/resend","rel":"resend","method":"POST"}]}}

웹훅 URL 테스트:

구독 활성화 시뮬레이션

웹훅 URL: https://www.thinkocn.com/plugin/paypal_subscription/includes/webhook.php

디버그 웹훅 테스트

실제 웹훅 테스트