정보
API 이용해서 결제를 진행하려 합니다.
tossPayments.requestPayment('카드', {
amount: $("#amount").val(),
orderId: $("#orderId").val(),
orderName: $("#orderName").val(),
customerName: $("#customerName").val(),
customerEmail: $("#customerEmail").val(),
successUrl: 'createOrderSettle.do',
failUrl: 'orderSettleNew.do'
};
이렇게 호출을 하려 하는데, 결제 관련 상세 정보를 파라미터로 보낸 후, successUrl에서 다시 받아 처리를 하려 합니다.
파라미터는 String이나 json 형태로 보내고 받아서 내부 처리할 예정인데 가능한가요?
tossPayments.requestPayment('카드', {
amount: $("#amount").val(),
orderId: $("#orderId").val(),
orderName: $("#orderName").val(),
customerName: $("#customerName").val(),
customerEmail: $("#customerEmail").val(),
successUrl: 'createOrderSettle.do',
failUrl: 'orderSettleNew.do'
};
이렇게 호출을 하려 하는데, 결제 관련 상세 정보를 파라미터로 보낸 후, successUrl에서 다시 받아 처리를 하려 합니다.
파라미터는 String이나 json 형태로 보내고 받아서 내부 처리할 예정인데 가능한가요?
