⌨️토스페이먼츠 (구 모듈)
토스페이먼츠 결제창 연동 방법을 확인합니다.
Last updated
Was this helpful?
토스페이먼츠 결제창 연동 방법을 확인합니다.
Last updated
Was this helpful?
Was this helpful?
IMP.request_pay({
pg : 'uplus.{MID}',
pay_method : 'card',
merchant_uid: "order_no_0001", //상점에서 생성한 고유 주문번호
name : '주문명:결제테스트',
amount : 1004,
buyer_email : 'test@portone.io',
buyer_name : '구매자이름',
buyer_tel : '010-1234-5678',
buyer_addr : '서울특별시 강남구 삼성동',
buyer_postcode : '123-456',
m_redirect_url : '{모바일에서 결제 완료 후 리디렉션 될 URL}',
appCard: true // 설정시 신용카드 결제모듈에서 앱카드 결제만 활성화됩니다.
}, function(rsp) { // callback 로직
//* ...중략... *//
});