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
Was this page helpful?