Skip to content

Commit

Permalink
엑심베이 bypass 파라미터 설명 추가
Browse files Browse the repository at this point in the history
엑심베이 bypass 파라미터 설명 추가
  • Loading branch information
hchanhi committed Jun 10, 2024
1 parent ae1e8c5 commit 31e9762
Showing 1 changed file with 49 additions and 1 deletion.
50 changes: 49 additions & 1 deletion src/content/docs/ko/pg/payment-gateway/eximbay.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import Hint from "~/components/Hint.astro";
merchant_uid: "order_no_0001", // 상점에서 관리하는 주문 번호
name: "주문명:결제테스트",
amount: 14.2,
currency: "USD", // 기본값: USD(원화 KRW는 페이팔 정책으로 인해 지원하지 않음)
currency: "USD", // 기본값: USD
buyer_email: "[email protected]",
buyer_name: "구매자이름",
buyer_tel: "010-1234-5678",
Expand Down Expand Up @@ -162,3 +162,51 @@ import Hint from "~/components/Hint.astro";

7. 10분 후 결제상태가 `status: "paid"`로 바뀌는지 확인 (이 때 입금에 대한 웹훅 발송됨)
</Details>

## 3. 기타 파라미터

<Tabs>
<Tab title="국내 결제창 호출">
엑심베이**국내 결제창**을 사용하기 위해서는 아래와 같은 방법으로 파라미터 설정이 필요합니다.

```json
{
"bypass": {
"issuercountry": "KR"
}
}
```
<Hint style="success">
**국내 결제창 카드 별 승인 통화**

**해외카드**
- VISA/MAster/JCB : KRW 승인 (자국통화승인 서비스 가능)

Check failure on line 183 in src/content/docs/ko/pg/payment-gateway/eximbay.mdx

View workflow job for this annotation

GitHub Actions / Lint code and MDX files

Missing blank line before block node
- AMEX/UnionPay : USD 승인 (자국통화승인 서비스 불가)

**국내카드(국내에서 발행 된 (8개) 카드사 모두 이용 가능)**

Check failure on line 186 in src/content/docs/ko/pg/payment-gateway/eximbay.mdx

View workflow job for this annotation

GitHub Actions / Lint code and MDX files

Missing blank line before block node
- 결제(승인)/정산 통화 : KRW만 지원

Check failure on line 187 in src/content/docs/ko/pg/payment-gateway/eximbay.mdx

View workflow job for this annotation

GitHub Actions / Lint code and MDX files

Missing blank line before block node
</Hint>

**국내 결제창을 호출하는 경우**

```ts
IMP.request_pay({
pg: "eximbay.{상점 ID}",
pay_method: "card",
merchant_uid: "order_no_0001",
name: "주문명:결제테스트",
amount: 14.2,
currency: "KRW",

Check failure on line 199 in src/content/docs/ko/pg/payment-gateway/eximbay.mdx

View workflow job for this annotation

GitHub Actions / Lint code and MDX files

Delete `·`
buyer_email: "[email protected]",
buyer_name: "구매자이름",
buyer_tel: "010-1234-5678",
buyer_addr: "서울특별시 강남구 삼성동",
buyer_postcode: "123-456",
popup: false,
bypass: {
issuercountry: "KR",

Check failure on line 207 in src/content/docs/ko/pg/payment-gateway/eximbay.mdx

View workflow job for this annotation

GitHub Actions / Lint code and MDX files

Delete `·`
},
});
```
</Tab>
</Tabs>

0 comments on commit 31e9762

Please sign in to comment.