Skip to content

Commit

Permalink
fix:lint
Browse files Browse the repository at this point in the history
  • Loading branch information
youjmen committed Mar 8, 2024
1 parent 7c1159c commit a791b36
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/content/docs/ko/v2-payment/pg/paypal-v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ import image11 from "./_assets/paypal/screenshot9.png";

```javascript
const requestData = {
uiType: 'PAYPAL_SPB',
storeId: 'store-4ff4af41-85e3-4559-8eb8-0d08a2c6ceecl',
channelKey: 'channel-key-893597d6-e62d-410f-83f9-119f530b4b11',
uiType: "PAYPAL_SPB",
storeId: "store-4ff4af41-85e3-4559-8eb8-0d08a2c6ceecl",
channelKey: "channel-key-893597d6-e62d-410f-83f9-119f530b4b11",
paymentId: `payment-${crypto.randomUUID()}`,
orderName: '나이키 와플 트레이너 2 SD',
orderName: "나이키 와플 트레이너 2 SD",
totalAmount: 1000,
currency: 'CURRENCY_KRW',
}
currency: "CURRENCY_KRW",
};
const response = await PortOne.loadPaymentUI(requestData, {
onPaymentSuccess: (response) => {
setResult(response)
setResult(response);
},
onPaymentFail: (error) => {
alert(error)
}
alert(error);
},
});
```
<Figure src={image3} />
Expand Down Expand Up @@ -119,18 +119,18 @@ const response = await PortOne.loadPaymentUI(requestData, {

```javascript
const requestData = {
uiType: 'PAYPAL_RT',
storeId: 'store-4ff4af41-85e3-4559-8eb8-0d08a2c6ceec',
channelKey: 'channel-key-893597d6-e62d-410f-83f9-119f530b4b11',
uiType: "PAYPAL_RT",
storeId: "store-4ff4af41-85e3-4559-8eb8-0d08a2c6ceec",
channelKey: "channel-key-893597d6-e62d-410f-83f9-119f530b4b11",
issueId: `issue-id-${crypto.randomUUID()}`,
}
};
const response = await PortOne.loadIssueBillingKeyUI(requestData, {
onIssueBillingKeySuccess: (response) => {
setResult(response)
setResult(response);
},
onIssueBillingKeyFail: (error) => {
alert(error)
}
alert(error);
},
});
```

Expand Down

0 comments on commit a791b36

Please sign in to comment.