> For the complete documentation index, see [llms.txt](https://docs.ohmyapp.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ohmyapp.io/main/guide/faq/payment_api/3.md).

# 3. 페이팔 결제 연동은 어떻게 하나요?

오마이앱은 사용자 편의를 위해 각 플랫폼에 명시되어 있는 내용을 간추려서 제공하고 있어요. 상세한 내용 또는 실제 관련 문의사항은 해당 플랫폼에 문의해 주세요.

결제와 본인 인증을 위해서 페이팔에 판매자 계정으로 가입해 주세요.

## **페이팔 가입**

* [페이팔 가입 링크](https://www.paypal.com/bizsignup/#/singlePageSignup)

#### 참고사항

* 판매 계정이 한국 계정인 경우, 한국 - 한국 결제는 안되고 한국 - 미국 등 해외 결제만 가능해요.
* 판매 계정이 미국인 경우, 미국 - 미국 등의 자국 결제가 가능해요.
* 모든 테스트를 완료한 후, SANDBOX 모드에서 LIVE 모드로 모드를 변경 해야 실제 결제가 일어나요.

***

포트원 계정을 생성했다면 API키를 통해 오마이앱과 연동시켜 볼게요.

## API 연동하기

#### 1️⃣ API Keys 확인

\[페이팔 관리자 페이지]에 접속 ➡︎ 우측 상단 개발자 대시보드 ➡︎ Apps & Credentials ➡︎ Default Application 클릭  ➡︎  Client ID 와 Secret Key1 복사

<figure><img src="/files/dQmvqCAlqFAMBDY6vp6y" alt=""><figcaption></figcaption></figure>

#### 2️⃣ Native 결제 모듈 설정

#### 하단 Features ➡︎ Native Checkout SDK 체크 ➡︎ Log in with PayPal 체크  ➡︎  Advanced Settings 클릭  ➡︎  Add another URL 클릭   ➡︎  입력창에 패키지네임://paypalpay 입력후 저장  ➡︎  아래로 스크롤 후 저장 버튼 클릭   ➡︎ Save Changes 클릭

<div><figure><img src="/files/JohFXHOqHQTmxsZHKm40" alt=""><figcaption></figcaption></figure> <figure><img src="/files/3fEin6AWtnJXJ5ssJNdD" alt=""><figcaption></figcaption></figure></div>

#### 3️⃣ 관리자 웹에 API Key 추가

인터넷 새 창 ➡︎ 관리자 웹 ➡︎ 고급 설정 ➡︎ API 키 설정 ➡︎ 다음 이미지와 같이 값을 추가해 주세요.

(1️⃣ 에서 복사한  Client ID를 API Key에 추가하고 Secret Key1 을 secretKey에 추가해 주세요.)

<figure><img src="/files/s3EVHpB0kZXu8uVw2pfB" alt=""><figcaption></figcaption></figure>

#### 4️⃣ 테스트

상단 Testing Tools ➡︎ Sandbox Accounts ➡︎ Create acount 버튼으로 페이팔 샌드박스 계정을 생성해 테스트 할수 있어요.

<figure><img src="/files/8W12jV1dWYJo1oKqnwCz" alt=""><figcaption></figcaption></figure>

24.01.17 Iron


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ohmyapp.io/main/guide/faq/payment_api/3.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
