kakaopay.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | kakaopay
  6. |--------------------------------------------------------------------------
  7. |
  8. | src/main/java/com/kakao/pay/sample/application.properties => properties
  9. | src/main/resources/ConfirmationSample.java => confirmation
  10. |
  11. */
  12. 'properties' => [
  13. # KakaoDevelopers 에서 앱 생성 후 발급받은 admin key
  14. # Admin key created by App of KakaoDevelopers
  15. 'kakao_api_admin_key' => '464cfd9ec42b45aa209fe8e49de8fc59',
  16. # Kakao로부터 전달받은 가맹점 ID
  17. # partner payment id from KakaoPay
  18. 'cid' => 'TC0ONETIME',
  19. ],
  20. 'confirmation' => [
  21. 'pcConfirmationUrlPrefix' => "https://pg-web.kakao.com/v1/confirmation/p/",
  22. 'mobileConfirmationUrlPrefix' => "https://pg-web.kakao.com/v1/confirmation/m/",
  23. 'cid' => "C847130110",
  24. 'tid' => "T2345560999051526180",
  25. 'partnerOrderId' => "6406",
  26. 'partnerUserId' => "pg_qa",
  27. 'paymentAid' => "A2345561170850086930",
  28. 'cancelAid' => "A2345583027818929490",
  29. ],
  30. ];