PingPlusPlus/pingpp-js

setUrlReturnCallback 设置后无效, 仍然会跳转到新页面

Closed this issue · 0 comments

Lpmvb commented

调用代码如下:

  handleClick = () => {
    pingpp.setUrlReturnCallback((err, url) => {
      console.log(url)
    })
    pingpp.createPayment(pingppObject, (result, err) => {
      // 可按需使用 alert 方法弹出 log
      console.log(result)
      console.log(err.msg)
      console.log(err.extra)
    })
  }