# JavaScript에서 사용자 결제 페이지로 연결되는 일반 URL이 작동하지 않음

**URL:** <https://meta.discourse.org/t/generic-url-to-user-billing-page-in-javascript-not-working/182375>\
**Category:** Development\
**Tags:** subscriptions\
**Created:** [3월 7, 2021, 8:34오전 UTC](https://meta.discourse.org/t/generic-url-to-user-billing-page-in-javascript-not-working/182375 "2021-03-07T08:34:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)\
**Post date:** [3월 7, 2021, 7:06오후 UTC](https://meta.discourse.org/t/generic-url-to-user-billing-page-in-javascript-not-working/182375/4 "2021-03-07T19:06:55Z")

</div>

`setupComponent` 메서드에서 `api` 객체에 접근할 수 있나요? 그게 문제가 되는 이유일 수도 있겠다는 생각이 듭니다.

---

_[View the full topic](https://meta.discourse.org/t/generic-url-to-user-billing-page-in-javascript-not-working/182375)._
