Toss payments 개발자 커뮤니티Tp개커Toss payments 개발자 커뮤니티
Powered by
Enzo YoonE
Toss payments 개발자 커뮤니티•3y ago•
34 replies
Enzo Yoon

inquiring about the brand pay error.

Dear Brandpay,
We have a product want to implement brandpay sdk on that, but during the time we implement we see an error (image attached)
At the first time, we can register brandpay method and pay success.
But from the second time, an error "This payment method aready registered" appears when we used the account we registered before. Can you guys help me give a solution for that?


this is the code we implemented:
brandpay
.requestAgreement("회원가입") // 자동 결제 선택 약관 동의 호출 회원가입, 카드, 계좌, 빌링
.then(function () {
console.log("requestAgreement ok");
brandpay.openSettings().catch(function (error) {
if (error.code === "USER_CANCEL") {
// 사용자가 창을 닫아 취소한 경우에 대한 처리
}
});
brandpay
.addPaymentMethod("계좌") // card: 카드 account: 계좌
.then(function (methods) {
console.log("addPaymentMethod", methods);
// 성공 처리
brandpay
.requestPayment({
amount: "200", // 결제 금액
orderId: orderId, // 주문에 대한 고유한 ID 값
orderName: "토스 티셔츠 외 2건", // 결제에 대한 주문명
})
......
payment_method__1__480.png
Toss payments 개발자 커뮤니티 banner
Toss payments 개발자 커뮤니티Join
Toss payments 개발자 커뮤니티입니다. 결제 연동하며 겪는 기술 문의부터, 결제 시장에 대한 다양한 정보까지 얻어가세요~
15,588Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

toss brand pay
AliAAli / 🌎┃global-support
2y ago
Brand Pay Implementation Inquiry
멜로투모로멜멜로투모로 / 🌎┃global-support
3y ago
Integration of toss brand pay and additional queries
AliAAli / 🌎┃global-support
2y ago
ERROR: PAY_PROCESS_ABORTED
someguySsomeguy / 🌎┃global-support
3y ago